Network/Communication Commands
Unix
Network/Communication Commands:
ping: Tells whether the server is inactive state or not. it takes input as either server name or domain name. Send ICMP echo request to network hosts
ping google.com → Gives you server is in an active state or not
ping 172.17.0.149
ifconfig :
It is used at boot time to set up the interfaces as necessary. After that, it is usually used when needed during debugging or when you need system tuning. Also, this command is used to assign the IP address and netmask to an interface or to enable or disable a given interface.
Ifconfig -a
set : set command is used to assign a values to the variables
set value = 7
set new_val = "some number, like seven"
echo $new_val
set list_of_vals = ( 3 1 4 one five )
echo $list_of_vals
echo $list_of_vals[3]
set path = ( $path ~/abin )
env :env is a shell command for Unix and Unix-like operating systems. It is used to either print a list of environment variables or run another utility in an altered environment without having to modify the currently existing environment.
uname : returns system name
hostname: show’s the system hostname
netstat: prints network connections and routing tables
nslookup : gives you server name
scp : remote copy file program. Used to copy files from one system to other
mail : it is used to send and receive mails
Comments
Post a Comment