setup computer hostname in linux
/etc/sysconfig/network
* add the following lines:
HOSTNAME=www.test.com
DOMAINNAME=test.com
DZone Snippets > nevadalife > network
12374 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
/etc/sysconfig/network
HOSTNAME=www.test.com
DOMAINNAME=test.com
grep -rsniH your_string
grep "I am a \(cat\|dog\)"
pgrep
netstat -a | grep ftp
netstat -l
wget -i <file>