Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Gets the absolute path of the script itself even when it's executing, not just a simple "pwd".
1
1033
posted 15 years ago by loungerdork
* checkout : June 08, 2009
* commit : [34864f01741b1b2bb74072ba404e8b4436c18fe6](http://github.com/AndyA/htop-osx/commit/34864f01741b1b2bb74072ba404e8b4436c18fe6)
0
994
posted 15 years ago by kmartiin
this will chmod the current directory, and all sub directories and files.
0
1790
posted 15 years ago by beneberle
Dumps a space separated list of enabled modules to a text file mods_enabled.txt
1
1128
posted 15 years ago by zachharkey
Improved version of http://snipplr.com/view/15246/color-coded-svn-status/
0
959
posted 15 years ago by phalkunz
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
898
posted 15 years ago by stiobhart
Ideal if you have a laptop. If someone steals it, he will not be able to read all your mails and documents with precious information (about passwords, accounts, credit cards, private stuffs, etc...).
This snippet is considering that you are using...
0
828
posted 15 years ago by Dorgendubal
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
1117
posted 15 years ago by hotdiggity
find all files owned by xxx and change them to be owned by yyy
0
825
posted 15 years ago by stiobhart