Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged terminal



1 2 Next »
0 1658 posted 16 years ago by nalmeida
* checkout : June 08, 2009 * commit : [34864f01741b1b2bb74072ba404e8b4436c18fe6](http://github.com/AndyA/htop-osx/commit/34864f01741b1b2bb74072ba404e8b4436c18fe6)
0 1841 posted 17 years ago by kmartiin
Turn On or Off Hidden Files in Terminal
0 1656 posted 17 years ago by beneberle
this will chmod the current directory, and all sub directories and files.
0 2726 posted 17 years ago by beneberle
0 1472 posted 17 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 1934 posted 17 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 2111 posted 17 years ago by hotdiggity
some basic *nix terminal commands
0 1656 posted 17 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 2069 posted 17 years ago by Dorgendubal
simple way to join avi files on the command line (need to have mplayer installed)
0 1659 posted 17 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 1657 posted 17 years ago by inkdeep
https://www.chrisjmendez.com/2008/07/05/create-a-tar-gz-archive-using-terminal-os-x/
9 2998 posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2 2000 posted 18 years ago by chrisaiv
//for options available, see: http://www.ss64.com/bash/shopt.html
1 1888 posted 18 years ago by cczona
Open up terminal, paste the code below, then log your user out.
0 1773 posted 18 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 1527 posted 18 years ago by jrphelps
Enter this at the commandline.
0 1818 posted 19 years ago by Roshambo
1 2 Next »