Profile
Achievement
klovera's Recent SnippetsTagged Bash
- All /
« Prev 1 Next »
Shows the load of the cpu graphically in ssh (note you must install htop first)
0
776
posted 12 years ago by klovera
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.
1
763
posted 12 years ago by klovera
A simple but useful command. List processes running on the system.
0
631
posted 13 years ago by klovera
When modifying file permissions it is sometimes necessary to go back to the drawing board and set back to the default permissions. The following command can be used via ssh and takes a couple seconds vs trying to do this via ftp file by file (which c...
0
686
posted 13 years ago by klovera
-l switch output only the names of files in which the text occurs as opposed to each line containing the text<br>
-i switch ignores the case<br>
-r descends into subdirectories<br>
Example:
grep -lir "my search string" /home/account_name/public...
0
761
posted 13 years ago by klovera