Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged terminal
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
* checkout : June 08, 2009
* commit : [34864f01741b1b2bb74072ba404e8b4436c18fe6](http://github.com/AndyA/htop-osx/commit/34864f01741b1b2bb74072ba404e8b4436c18fe6)
0
1630
posted 16 years ago by kmartiin
this will chmod the current directory, and all sub directories and files.
0
2501
posted 16 years ago by beneberle
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
1693
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
1821
posted 16 years ago by hotdiggity
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
1848
posted 17 years ago by Dorgendubal
simple way to join avi files on the command line (need to have mplayer installed)
0
1480
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
1460
posted 17 years ago by inkdeep
https://www.chrisjmendez.com/2008/07/05/create-a-tar-gz-archive-using-terminal-os-x/
9
2710
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2
1789
posted 17 years ago by chrisaiv
//for options available, see:
http://www.ss64.com/bash/shopt.html
1
1646
posted 18 years ago by cczona
Open up terminal, paste the code below, then log your user out.
0
1557
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
1317
posted 18 years ago by jrphelps