Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



Seen here: http://textsnippets.com/posts/show/319
1 2918 posted 19 years ago by huckeduster
0 1766 posted 19 years ago by priyanhere
0 1737 posted 19 years ago by whitetiger
0 1767 posted 19 years ago by whitetiger
1 1800 posted 19 years ago by whitetiger
0 1758 posted 19 years ago by whitetiger
0 1686 posted 19 years ago by whitetiger
0 1663 posted 19 years ago by whitetiger
0 1617 posted 19 years ago by whitetiger
0 1833 posted 19 years ago by whitetiger
1 1681 posted 19 years ago by yuconner
0 1810 posted 19 years ago by yuconner
1 1777 posted 19 years ago by plexus
Requires SSH access to remote server.
1 2107 posted 19 years ago by micmath
Use on a command line to copy a whole directory on a remote server down to your computer. Requires SSH access to remote server.
5 2315 posted 19 years ago by micmath
0 1472 posted 19 years ago by jacknirons
Example: nice -n 10 date priority for root: -20 (higher priority) .. 19 (lower priority) priority for common users: 0..19 To list process and nice value: "ps -el"
1 2651 posted 20 years ago by yuconner
4 2473 posted 20 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 1896 posted 20 years ago by yuconner
try: ls -l > pipe cat < pipe
0 1892 posted 20 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 2242 posted 20 years ago by yuconner
0 1899 posted 20 years ago by yuconner
To check it: hwclock, date
0 2110 posted 20 years ago by yuconner
All information: uname -a Example: Linux hostname 2.6.15-20-k7 #1 SMP PREEMPT Tue Apr 4 19:26:13 UTC 2006 i686 GNU/Linux
0 1872 posted 20 years ago by yuconner
Examples add that line to $HOME/.bashrc to have a permanent change
1 2243 posted 20 years ago by yuconner
Useful if you are behind a router, or in a LAN, and you didn't make (or can't have) a direct ppp connection to the ISP. Change "myweb.com" to the correct hostname For example to update zoneedit zone: #update_dns_ip.sh wget -O - --http-user= --ht...
0 2119 posted 20 years ago by yuconner