How can we see the default gateway ip ini linux.

Answer Posted / karthik

vi /etc/sysconfig/network

or

route -n

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many commands are there in linux?

555


How do I run a command in linux?

552


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

549


What is du command in linux?

550


How do I move to root in linux?

511






You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

507


What is simple command?

528


What are the basic commands in command prompt?

556


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

527


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1172


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

557


What is devops linux?

530


What is cpu utilization linux?

537


How use linux command line?

528


What does mkdir mean?

638