Welcome To Snipplr
Everyone's Recent Snippets Tagged linux
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
978
posted 18 years ago by micmath
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
1227
posted 18 years ago by yuconner
#Put into your .vimrc file
#The commands to comment a selection of text are as follows, begining with begining-of-line comments:
,# shell, perl, etc
,/ c
,> email quote
," vim
,% latex, prolog
,!...
0
1078
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
866
posted 18 years ago by yuconner
Examples
add that line to $HOME/.bashrc to have a permanent change
1
1055
posted 18 years ago by yuconner
Bash
Dynamic IP update (to DNS service like zoneedit or dyndns) inside a local LAN or behind a router
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
967
posted 18 years ago by yuconner
For bin iso you also need cdemu
To convert between formats check: mdf2iso, nrg2iso and ccd2iso
3
1983
posted 18 years ago by yuconner
To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.
0
826
posted 18 years ago by yuconner