
How to remove swap space
This how to is about how to remove swap space in linux
To reduce LVM 2 swap logical volume(/dev/VolGroup00/LogVol01) use the following steps

This how to is about how to remove swap space in linux
To reduce LVM 2 swap logical volume(/dev/VolGroup00/LogVol01) use the following steps

When a user starts a command, it runs with the permissions of that user. What if you want to allow them to run some commands with root permissions? You can, and that’s called suid.So SUID permission makes a script to run as the user who is the owner of the script, rather than the user [...]

When you want to do text manipulation, you can use Sed and Awk. These 2 tools which come on most Linux distributions, will allow you to modify text files in many ways.

By Jack Wallen, TechRepublic | 2008/09/15 10:24:01 Linux rarely needs to be rebooted. But when it does, it’s often slow to boot. Fortunately, there are ways to speed things up.Some of these methods are not terribly difficult (although some, unfortunately, are). Let’s take a look. #1: Disable unnecessary services Depending upon the use of the [...]

To convert an ext2 filesystem to ext3,login as root and type the following command in terminal #/sbin/tune2fs -j <block device> A valid block device includes the following type of entries 1) .A mapped device -(a logical volume in a volume group) eg: /dev/mapper/VolGroup00-LogVol02 2) .A state device – A traditional storage volume eg: /dev/hdaX

Open /etc/ssh/sshd_config using vi editor vi /etc/ssh/sshd_config Then uncomment the line #Banner /etc/motd save & exit Now create some banner text in /etc/motd like This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are [...]

By using lsof command,we can view active ssh connections on your server.So let’s find out how.
lsof command is used to list open files like disk files, pipes, network sockets and devices opened by all processes.
![]() |