Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged linux



Seen here: http://textsnippets.com/posts/show/319
1 2231 posted 19 years ago by huckeduster
0 1235 posted 19 years ago by priyanhere
0 1229 posted 19 years ago by whitetiger
0 1236 posted 19 years ago by whitetiger
1 1269 posted 19 years ago by whitetiger
0 1224 posted 19 years ago by whitetiger
0 1196 posted 19 years ago by whitetiger
0 1119 posted 19 years ago by whitetiger
0 1132 posted 19 years ago by whitetiger
0 1342 posted 19 years ago by whitetiger
1 1146 posted 19 years ago by yuconner
0 1242 posted 19 years ago by yuconner
1 1240 posted 19 years ago by plexus
Requires SSH access to remote server.
1 1547 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 1671 posted 19 years ago by micmath
0 968 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 1986 posted 19 years ago by yuconner
4 1811 posted 19 years ago by yuconner
see man files for cat & fgrep for understand the switchs
0 1275 posted 19 years ago by yuconner
try: ls -l > pipe cat < pipe
0 1259 posted 19 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 1569 posted 19 years ago by yuconner
0 1264 posted 19 years ago by yuconner
To check it: hwclock, date
0 1416 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 1314 posted 19 years ago by yuconner
Examples add that line to $HOME/.bashrc to have a permanent change
1 1607 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 1487 posted 19 years ago by yuconner