Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



Seen here: http://textsnippets.com/posts/show/319
1 2419 posted 19 years ago by huckeduster
0 1395 posted 19 years ago by priyanhere
0 1375 posted 19 years ago by whitetiger
0 1378 posted 19 years ago by whitetiger
1 1425 posted 19 years ago by whitetiger
0 1370 posted 19 years ago by whitetiger
0 1323 posted 19 years ago by whitetiger
0 1259 posted 19 years ago by whitetiger
0 1267 posted 19 years ago by whitetiger
0 1482 posted 19 years ago by whitetiger
1 1278 posted 19 years ago by yuconner
0 1410 posted 19 years ago by yuconner
1 1398 posted 19 years ago by plexus
Requires SSH access to remote server.
1 1691 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 1846 posted 19 years ago by micmath
0 1100 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 2189 posted 19 years ago by yuconner
4 1957 posted 19 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 1406 posted 19 years ago by yuconner
try: ls -l > pipe cat < pipe
0 1418 posted 19 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 1727 posted 19 years ago by yuconner
0 1424 posted 19 years ago by yuconner
To check it: hwclock, date
0 1562 posted 19 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 1450 posted 19 years ago by yuconner
Examples add that line to $HOME/.bashrc to have a permanent change
1 1759 posted 19 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 1639 posted 19 years ago by yuconner