Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged terminal



1 2 Next »
0 1106 posted 15 years ago by nalmeida
* checkout : June 08, 2009 * commit : [34864f01741b1b2bb74072ba404e8b4436c18fe6](http://github.com/AndyA/htop-osx/commit/34864f01741b1b2bb74072ba404e8b4436c18fe6)
0 1252 posted 16 years ago by kmartiin
Turn On or Off Hidden Files in Terminal
0 1091 posted 16 years ago by beneberle
this will chmod the current directory, and all sub directories and files.
0 2047 posted 16 years ago by beneberle
0 954 posted 16 years ago by PesPes
how to enable or disable spotlight disc indexing from the terminal. all the following work on root "/". to specify another volume, put its path at end of the command
1 1212 posted 16 years ago by stiobhart
Handy when web hosts limit database upload size. Create folder in home directory call "mysql_dump", upload and extract mysql file into this directory. Ask web host to enable SSH.
0 1401 posted 16 years ago by hotdiggity
some basic *nix terminal commands
0 1107 posted 16 years ago by stiobhart
Useful to remotely assist another person. 1. Connect to his computer using ssh 2. Execute first command listed below 3. The other person must open a terminal and execute the second command 4. Both are connected to the same terminal "screen"
1 1436 posted 16 years ago by Dorgendubal
simple way to join avi files on the command line (need to have mplayer installed)
0 1138 posted 16 years ago by inkdeep
Clear files in /tmp directory that are older than three days - terminal/cron this is a very simple example - could also remove by last access time, etc.
0 1099 posted 16 years ago by inkdeep
https://www.chrisjmendez.com/2008/07/05/create-a-tar-gz-archive-using-terminal-os-x/
9 2201 posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2 1310 posted 17 years ago by chrisaiv
//for options available, see: http://www.ss64.com/bash/shopt.html
1 1246 posted 17 years ago by cczona
Open up terminal, paste the code below, then log your user out.
0 1187 posted 17 years ago by chrisaiv
qlmanage -p foo.png, the image immediately pops up in a Quick Look pane. Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures....
0 990 posted 17 years ago by jrphelps
Enter this at the commandline.
0 1273 posted 18 years ago by Roshambo
1 2 Next »