Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



Seen here: http://textsnippets.com/posts/show/319
1 1291 posted 17 years ago by huckeduster
0 569 posted 17 years ago by priyanhere
0 585 posted 17 years ago by whitetiger
0 596 posted 17 years ago by whitetiger
1 554 posted 17 years ago by whitetiger
0 564 posted 17 years ago by whitetiger
0 524 posted 17 years ago by whitetiger
0 547 posted 17 years ago by whitetiger
0 590 posted 17 years ago by whitetiger
1 499 posted 17 years ago by yuconner
0 541 posted 17 years ago by yuconner
1 535 posted 17 years ago by plexus
Requires SSH access to remote server.
1 802 posted 17 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 725 posted 17 years ago by micmath
0 416 posted 17 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 953 posted 17 years ago by yuconner
4 809 posted 17 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 561 posted 17 years ago by yuconner
try: ls -l > pipe cat < pipe
0 565 posted 17 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 727 posted 17 years ago by yuconner
0 580 posted 17 years ago by yuconner
To check it: hwclock, date
0 651 posted 17 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 625 posted 17 years ago by yuconner
Examples add that line to $HOME/.bashrc to have a permanent change
1 800 posted 17 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 730 posted 17 years ago by yuconner