jonhenshaw


Member since 06/27/2006

Location: Nashville, TN

Website: http://sitening.com/

7 snippets

29291 profile views

34 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

jonhenshaw's Recent Bash Snippets



« Prev 1 Next »
Open Terminal and enter this command.
1 2482 posted 17 years ago by jonhenshaw
Example: ln -s /usr/local/apache/logs ./logs
3 2634 posted 17 years ago by jonhenshaw
Line 6 starts a loop (which ends with line 15). The ls command returns a list of filenames which are sequentially assigned to the shell variable x. The if test (lines 8 through 10) checks to see if the current filename is that of a plain file. If not...
0 2353 posted 17 years ago by jonhenshaw
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 3176 posted 18 years ago by jonhenshaw
Over time, your Mac's Mail program can start to feel sluggish because, like any database, over time it needs to optimized.
4 2280 posted 18 years ago by jonhenshaw
Enter this command in Terminal to restart Apache. Especially useful after you've made changes to the hosts file.
2 2192 posted 19 years ago by jonhenshaw
Run this command in the Terminal on Mac OS X to flush the DNS cache on your computer. This is especially helpful when making changes to the host file.
2 2773 posted 19 years ago by jonhenshaw
« Prev 1 Next »