Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 2 3 4 5 6 ... 17
0 1212 posted 14 years ago by 4fthawaiian
A simple but useful command. List processes running on the system.
0 1109 posted 14 years ago by klovera
Displays the # of emails in Exim queue.
0 1151 posted 14 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 1230 posted 14 years ago by klovera
0 1319 posted 14 years ago by klovera
-R = recursive
0 1100 posted 14 years ago by klovera
0 1393 posted 14 years ago by iloveitaly
-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 1284 posted 14 years ago by klovera
0 1089 posted 14 years ago by beaknit
Requires youtube-dl to be in the directory.
0 1073 posted 14 years ago by mattneary
0 1023 posted 14 years ago by farstar78
0 1258 posted 14 years ago by iloveitaly
0 1268 posted 14 years ago by abstraktor
First, find the proper package from http://www.joomla.org/download/ and copy its path. Then, over ssh, navigate to the root of the joomla install and perform these commands. In the case of an upgrade, this will overwrite in place the needed files, an...
0 1527 posted 14 years ago by beneberle
0 1226 posted 14 years ago by ragnarokkrr
0 1274 posted 14 years ago by ragnarokkrr
Is there a command like cat in linux which can return a specified quantity of characters from a file?
0 1343 posted 14 years ago by lamebollock
This .bashrc snippet sets the PS1 prompt so the title will be displayed in screen's statusbar.
0 1259 posted 14 years ago by ChloeD
0 1181 posted 14 years ago by ragnarokkrr
0 1238 posted 14 years ago by ragnarokkrr
1 2 3 4 5 6 ... 17