Data Communication AND Networking Lab File: Birla Institute of Tecnology, Ranchi (Noida Campus)
Data Communication AND Networking Lab File: Birla Institute of Tecnology, Ranchi (Noida Campus)
Data Communication AND Networking Lab File: Birla Institute of Tecnology, Ranchi (Noida Campus)
DATA
COMMUNICATION
AND
NETWORKING
LAB FILE
NAME:-
ROLL NO:-
COMMANDS
Ifconfig
ifconfig utility is used to configure network interface
parameters.
traceroute
traceroute print the route packets take to network host.
Destination host or IP is mandatory parameter to use this
utility
dig
dig (Domain Information Groper) is a flexible tool for
interrogating DNS name servers.
nslookup
nslookup is a program to query Internet domain name
servers.
netstat
Netstat command allows you a simple way to review each of
your network connections and open sockets.
scp
scp allows you to secure copy files to and from another host
in the network.
Ex:
w
w prints a summary of the current activity on the system,
including what each user is doing, and their processes.
Also list the logged in users and system load average for the
past 1, 5, and 15 minutes.
[root@localhost ~]# w
23:32:48 up 2:52, 2 users, load average: 0.51, 0.36, 0.19
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
chandan :0 20:41 ?xdm? 7:07 0.13s gdm-session-worker [pam/gdm-
password]
chandan pts/0 20:42 0.00s 0.23s 3.42s /usr/libexec/gnome-terminal-
server
[root@localhost ~]#
nmap
nmap is a one of the powerful commands, which checks
the opened port on the server.
Usage example:
nmap $server_name
To enable eth0
#ifup eth0
To disable eth0
#ifdown eth0
PROGRAMS