Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
94 views4 pages

Exp 2 Networking Commands

The document outlines an experiment focused on studying basic network and configuration commands using Command Prompt. It details several commands including ifconfig, nslookup, hostname, ping, and whois, along with their functions and syntax. The aim is to understand network administration tasks such as configuration and troubleshooting.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views4 pages

Exp 2 Networking Commands

The document outlines an experiment focused on studying basic network and configuration commands using Command Prompt. It details several commands including ifconfig, nslookup, hostname, ping, and whois, along with their functions and syntax. The aim is to understand network administration tasks such as configuration and troubleshooting.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Experiment -2

Study of basic network commands and Network


configuration commands

Aim:
Study of basic network command and Network configuration commands.

Apparatus (Software):
Command Prompt

Principle:

Maintaining a system's network is a task of System/Network administrator. Their task includes


network configuration and troubleshooting.

Procedure:

Here is a list of Networking and Troubleshooting commands:

1. Ifconfig

The command ifconfig stands for interface configurator. It display route and network
interface. The IP address, MAC address and MTU (Maximum Transmission Unit) can be
viewed with ifconfig command.

Syntax:
ifconfig [...OPTIONS] [INTERFACE]
2. nslookup

nslookup (stands for “Name Server Lookup”) is a useful command for getting
information from the DNS server. It is a network administration tool for querying the
Domain Name System (DNS) to obtain domain name or IP address mapping or any other
specific DNS record. It is also used to troubleshoot DNS-related problems.

Syntax:
nslookup [option]

Eg: nslookup google.com :


nslookup followed by the domain name will display the “A Record” (IP Address) of the
domain. Use this command to find the address record for a domain. It queries to domain
name servers and gets the details.

3. hostname
A hostname is the name of any computer that is connected to a network that is uniquely
identified over a network.
Syntax:
hostname

4. ping
PING (Packet Internet Groper) command is used to check the network
connectivity between host and server/host. This command takes as input
the IP address or the URL and sends a data packet to the specified
address with the message “PING” and get a response from the server/host
this time is recorded which is called latency.
Syntax:
ping <option> <destination>

5. whois

The whois command displays information about a website's record. You may get all the
information about a website regarding its registration and owner's information.

Syntax:

whois <websiteName>
Result:
The basic networking commands in linux is studied.

You might also like