Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



Seen here: http://textsnippets.com/posts/show/319
1 1794 posted 18 years ago by huckeduster
0 948 posted 18 years ago by priyanhere
0 960 posted 18 years ago by whitetiger
0 990 posted 18 years ago by whitetiger
1 986 posted 18 years ago by whitetiger
0 925 posted 18 years ago by whitetiger
0 870 posted 18 years ago by whitetiger
0 883 posted 18 years ago by whitetiger
0 1018 posted 18 years ago by whitetiger
1 873 posted 18 years ago by yuconner
0 915 posted 18 years ago by yuconner
1 924 posted 18 years ago by plexus
Requires SSH access to remote server.
1 1172 posted 18 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 1170 posted 18 years ago by micmath
0 767 posted 18 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 1430 posted 18 years ago by yuconner
4 1252 posted 18 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 960 posted 18 years ago by yuconner
try: ls -l > pipe cat < pipe
0 949 posted 18 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 1166 posted 18 years ago by yuconner
0 996 posted 18 years ago by yuconner
To check it: hwclock, date
0 1115 posted 18 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 1027 posted 18 years ago by yuconner
Examples add that line to $HOME/.bashrc to have a permanent change
1 1269 posted 18 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 1164 posted 18 years ago by yuconner