Thursday, January 10, 2013

Linux Basic Networking Commands

Linux Basic Networking Commands



hostname :- can display /change hostname temporary, after system reatrt it will take previous hostname / or hostname which is their in /etc/sysconfig/network

ifconfig :- Display NIC card info, number of cards installed /enabled in Linux (eth0 - Ethernet Card & wlan0 - Wireless Card)

setup :- utility to add/change/modify NIC,Firewall, Keybard settings

ifup / ifdown :- Enabled / Disabled NIC - as per word (ifup eth0 -enabled / ifdown etho -disabled)

system-config-network :- utility to add/change/modify NIC,Firewall, Keybard settings

system-config-network-tui (tui -text user interface) :- same utility as above

ethtool :- this tool display information of your NIC card - so ethtool eth0/wlan0

mii-tool :- to check the cable connectivity of NIC

system-config-network-gui(gui - Graphis User Interface):- utility to add/change/modify
NIC,Firewall, Keybard settings -however it requires graphical user interface

lokkit :- utility to enable or diable firewall


Note :- commands are case senstive in Linux /Unix. Also after any network change it is recommended to restart "network / NetworkManager" service like service network restart

No comments:

Post a Comment