Cheatsheet: Difference between revisions

Content added Content deleted
Line 1,157: Line 1,157:


*traceroute
*traceroute
traceroute 4.2.2.2 ==> Uses UDP
traceroute -n 4.2.2.2 ==> Do not resolve hostnames
sudo traceroute -nI 4.2.2.2 ==> Use ICMP Packets
sudo traceroute -nT 4.2.2.2 ==> Use TCP Syn (Port 80)





Line 1,173: Line 1,178:
netstat -ant
netstat -ant


*ps
*PS

ps -aux Display all processes in BSD format
ps -aux Display all processes in BSD format
ps -eo pid,ppid,user,cmd
ps -eo pid,ppid,user,cmd
Line 1,183: Line 1,187:




*ls
*LS


Append a character to each file name indicating the file type:
Append a character to each file name indicating the file type: