Category: Linux
Stress Test Apache with ab
April 16, 2009
Stress test your apache web server with the ap tool… ab -n 200 -c 50 http://localhost/ n = number of…
Sort by Line Length
April 14, 2009
Sort file by line length. Original Article… cat /etc/passwd | awk ‘{print length, 0}’ | sort -n | awk ‘{1=””;…
Find Current DNS Server
April 7, 2009
The DNS servers are in the /etc/resolv.conf file – cat it to find what they are. You can edit to…
Incremental Backup with tar
April 4, 2009
Make a incremental backup of directory ‘/home/binnyva’ tar -Puf backup.tar /home/binnyva
Zip Command in Linux
April 2, 2009
Command to create a zip file from a given folder. zip -r File.zip Folder/
Show All Network Services
April 1, 2009
Show all network services listening on the system and their PID netstat -tupl
Recent Comments