If you run a command and get a “command not found” error, you can do 2 things; specify the full path to...
If you make changes to /etc/sysctl.conf, such as changing the kernel.shmmax value, you can update the file and then run: sysctl -p...
To show special characters in a file, open the file with vi. Ex. vi /tmp/myfile Then type :set list This will show...
If you try to run yum update or yum install on a new RHEL 5 server, you will get an error like...
Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies through the use of Linux...
To find out how many open files there are on your Linux server, you can use the lsof command. lsof | wc...
You can show the number of free inodes on your linux server using the command df -i. # servera: df -i Filesystem...
To set the umask for all users, you can update the /etc/profile file. For individual users, you can update their .profile, .bash_profile,...
Backing up your VMWare ESX configuration files is pretty simple if you use the VMWare binary vm-support. This useful command will create...
To create a file with a specific timestamp or update the timestamp of a file, you can use the touch command. An...