Common Linux Commands


#ping -I ethF (from a particular source interface)


#/sbin/ifconfig (all active network interfaces and some interface statistics)(add or change IP addresses)

# ifconfig -a

# ip addr

#setup (to change the default interface or changing the interface IPs etc)


#clear (to clear the screen)

#ip neigh flush all (clear arp cache)


#dig (just like nslookup in windows)


#route -n (or route (to print the routing table in linux)

#route add default gw eth0 (to add a default route)

#route add -net netmask gw

#route del -net netmask gw


Posted on January 6, 2016, in Linux (Ubuntu/CentOS), Uncategorized. Bookmark the permalink. 1 Comment.

  1. This site is quite educative, i like it

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: