This document provides answers to common Linux commands questions. It lists commands for finding the local machine name and IP address (hostname and ifconfig), displaying the Ethernet IP address (ifconfig), checking if a specific IP address is reachable (ping), finding IP addresses for a domain name (dig), determining intermediate nodes between host and server (traceroute), finding and killing the process using the most RAM (ps and kill), looking up IP addresses for a domain (dhcp), remotely executing programs on another machine (telnet), viewing network traffic (netstat), and tracing the route to a server (traceroute).
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
156 views
Linux Commands Exercise IIT-B
This document provides answers to common Linux commands questions. It lists commands for finding the local machine name and IP address (hostname and ifconfig), displaying the Ethernet IP address (ifconfig), checking if a specific IP address is reachable (ping), finding IP addresses for a domain name (dig), determining intermediate nodes between host and server (traceroute), finding and killing the process using the most RAM (ps and kill), looking up IP addresses for a domain (dhcp), remotely executing programs on another machine (telnet), viewing network traffic (netstat), and tracing the route to a server (traceroute).
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
LINUX COMMANDS EXERCISE
1. Which command is used for finding host/domain na me and IP address of the
local machine ?
Ans: Hostname & Ifconfiq
Which command will display the assigned IP address of Ethernet adapter? Ans Ifconfiq
3. Which command is used to check whether a particular ip address is ?
Ans ping
Which command is used for finding all the ip addresses of a given domain name ?
Ans dig
5.If I want to find out how many intermediate nodes are there between host and a server, what command should I use?
Ans route
6. Write the command to find out the process consuming t he most amount of RAM memoryand kill it.
Ans kill 7. Which command is used to find the IP addresses corresponding to a domain? Ans dhcp 8. Which command is used to make a connection to a remote machine and execute prog rams as if one were physically present ? Ans telnet 9. Which command is used to view network traffic ? Ans netstat 10. Which Command can be used to find out the intermediate nodes between the host and the server? Ans tracert