jonhenshaw


Member since 06/27/2006

Location: Nashville, TN

Website: http://sitening.com/

7 snippets

9232 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 944 posted 15 years ago by jonhenshaw
Example: ln -s /usr/local/apache/logs ./logs
3 1012 posted 15 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 912 posted 15 years ago by jonhenshaw
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 1328 posted 16 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 817 posted 16 years ago by jonhenshaw
Enter this command in Terminal to restart Apache. Especially useful after you've made changes to the hosts file.
2 794 posted 16 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 1212 posted 16 years ago by jonhenshaw
« Prev 1 Next »