Describe use of following commands with example: i) route ii) net stat

1 Answer

Answer :

Route: Packets are transmitted from one computer to another. The route determines where the process starts and what computer system needs to send the packet for it to reach its destination. In computer networking, a router is a device responsible for forwarding network traffic. When datagrams arrive at a router, the router must determine the best way to route them to their destination. Route command is used to show/manipulate the IP routing table. It is primarily used to setup static routes to specific host or networks via an interface.


To display the routing table entries, use route command:

$ route


image


Each entry in the routing table has several fields.

Field
Description
Destination
Destination IP address of the route
Gateway
IP address or hostname of the gateway the route uses; * indicates no gateway is used
Genmask
The netmask for the route
Flags
Type of route; U=up, H=host, G=gateway, D=dynamic, M=modified, C=cache entry, !=reject route, R=Reinstate route for dynamic routing
Metric
Metric cost of route
Ref
Number of routes that depend on this one
Use
Number of times used
Iface
Type of interface this route uses
Window
TCP window for AX25 networks

Netstat: netstat ("network statistics") is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface (network interface controller or softwaredefined network interface) and network protocol statistics.


Options of Netstat:

image

Related questions

Description : Describe working of diff and cmp file handling commands with example.

Last Answer : Diff command: diff stands for difference. This command is used to display the differences in the files by comparing the files line by line. it tells us which lines in one file have is to be changed to make the two files ... $ cat file1 abcd xyz $ cat file2 Abed wxy $_  

Description : Describe cat and rm file handling commands with example.

Last Answer : cat Command: Cat(concatenate) command is very frequently used in Linux. It reads data from the file and gives their content as output. It helps us to create, view, concatenate files. cat is ... and will delete all the files and sub-directories recursively of the parent directory. $ rm -r 

Description : With suitable example, explain CpiO and tar commands. 

Last Answer : cpio: The cpio command is one of standard Unix backup utilities. It stands for "copy in/out." It is much less well known and more rarely used Unix utility in comparison with tar. ... command creates the file archive test.tar from the two uncompressed files test1 and test2. 

Description : Write the output for the following commands: (i) ls –a (ii) date “+%D”

Last Answer : i) ls –a : list all files including hidden files. These are files that start with “.”. ii) date “+%D” : Display date as mm/dd/yy. output: 11/26/19

Description : How could you execute DDL commands, such as ALTER or CREATE TABLE, against a database with ADO.NET?

Last Answer : You must use a Command object to execute DDL commands. You can set the CommandType property to Text and enter the appropriate DDL command in the CommandText property. Then call Command.ExecuteNonQuery to execute the command.

Description : I'm looking for a good Vegetarian Shepherd's Pie recipe and/or a yummy Vegetarian Lasagna recipe, stat. Give me your best?

Last Answer : answer:Vegetarian Lasagna Ingredients: 1½ quarts spaghetti sauce (your favorite homemade or jar spaghetti sauce) ½ cup grated carrot ½ teaspoon oregano 6 cooked lasagna noodles 1 (16 ounce) ... Parmesan. Repeat layers with remaining ingredients. Bake in 350 degrees oven for about 45 minutes.

Description : I need your macaroni and cheese recipes... stat!

Last Answer : Maximum Mac and Cheese

Description : Why isn't a no-hitter in baseball considered a team stat?

Last Answer : Because the rules of Major League Baseball state as follows: “An official no-hit game occurs when a pitcher (or pitchers) allows no hits during the entire course of a game, which consists of at least nine innings.”

Description : STAT proteins are (A) Thermostat proteins of brain (B) Glucostat proteins of hepatocyte cell membrane (C) Short term activators of translation (D) Signal transduction and activators of transcription

Last Answer : Answer : D

Description : Bharatpur bird sanctuary is located in which stat

Last Answer : Rajasthan

Description : The alloy used for making the Oscar stat- uette?

Last Answer : Britannium

Description : Find the force of interaction between 60 stat coulomb and 37.5 stat coulomb spaced 7.5cm apart in transformer oil(εr=2.2) in 10 -4 N, a) 8.15 b) 5.18 c) 1.518 d) 1.815

Last Answer : d) 1.815

Description : Stat field applications of geotechnical engineering

Last Answer : The field of geotechnical Engineering includes some important applications as: a) Foundation design b) Pavement Design c) Design of earth retaining structures  d) Design of earth dams e) Design of ... at which maximum Density will occur is most essential for the design of earthen dam.

Description : The ALU of a computer responds to the commands coming from A) Primary memory B) Control section C) External memory D) Cache memory

Last Answer : Answer : B

Description : Which is an escape code language used to send commands to the printer for printing documents? A. Postscript B. PCL C. Both (A) and (B) D. None of the Above

Last Answer : B. PCL

Description : _________ is a group of commands for a CPU in machine language. A. Information Set B. Instruction Set C. Buffer D. None of the Above

Last Answer : B. Instruction Set

Description : The toolbar which contains short cuts to some of the most frequently used commands found under the FORMAT menu item is: a) Standard Toolbar b) Status Bar c) Formatting Toolbar d) None of These

Last Answer : c) Formatting Toolbar

Description : ________toolbar contains short cuts to some of the most frequently used commands from the menu bar: a) Formatting Toolbar b) Standard Toolbar c) Both of Above d) None of These

Last Answer : b) Standard Toolbar

Description : ______bar displays the heading for each drop down menu. Commands are grouped under each of these menu headings according to function: a) Title Bar b) Formatting Toolbar c) Menu bar d) None of These

Last Answer : c) Menu bar

Description : Which among the following is correct about WRAM: a) Makes it easier to allow blocks of memory to be addressed with just a few commands b) Makes it easier to allow windows of memory to be addressed with just a few commands. c) Both of Above d) None of These

Last Answer : c) Both of Above

Description : _______is the process of carrying commands: a) Storing b) Executing c) Fetching d) None of These

Last Answer : b) Executing

Description : ______toolbar contains short cuts to some of the most frequently used commands from the menu bar: a) Standard b) Title c) Status Bar d) None of These

Last Answer : a) Standard

Description : Which among the following print commands should be selected to print first 5 pages of document: a) Page Setup b) Print All c) From ___to ____ d) None of The Above

Last Answer : c) From ___to ____

Description : ________ is the process of carrying commands. a) Fetching b) Storing c) Executing d) Decoding e) None of these

Last Answer : c) Executing

Description : Which of the following commands is given to reboot the computer? 1) Ctrl + Alt + Del 2) Ctrl + Alt + Tab 3) Ctrl + Shift + Del 4) Ctrl + Alt + shift

Last Answer : 1) Ctrl + Alt + Del

Description : A ..... contains buttons and menus that provide quick access to commonly used commands. 1) Menu Bar 2) Toolbar 3) Window 4) Action Bar

Last Answer : 2) Toolbar

Description : The.... of software contains list lists of commands and options. 1) Menu bar 2) Title bar 3) Formula bar 4) Tool bar

Last Answer : 1) Menu bar

Description : Which file in MS-DOS contains internal commands that are loaded during Booting process? 1) IO.SYS 2) MSDOS.SYS 3) COMMAND.COM 4) CONFIG.SYS

Last Answer : 4) CONFIG.SYS

Description : Which type of commands in DOS needs additional files for their execution? 1) Internal Commands 2) External Commands 3) Batch Commands 4) Redirector

Last Answer : 2) External Commands

Description : Which of the following commands displays names of files in sorted order? 1) DIR/N 2) DIR/SO 3) DIR/AN 4) DIR/AH

Last Answer : 3) DIR/AN

Description : Which file in MS-DOS contains internal commands that are loaded during Booting process? 1 IO.SYS 2 MSDOS.SYS 3 COMMAND.COM 4 CONFIG.SYS

Last Answer : 4 CONFIG.SYS

Description : Which type of commands in DOS needs additional files for their execution? 1 Internal Commands 2 External Commands 3 Batch Commands 4 Redirectors

Last Answer : 2 External Commands

Description : Which of the following commands displays names of files in sorted order? 1 DIR/N 2 DIR/SO 3 DIR/AN 4 DIR/AH

Last Answer : 3 DIR/AN

Description : . Which attack is an HTTP attack which allows attackers to access restricted directories and execute commands outside the web servers root directory? a. XSS attack b. Path Traversal attack c. MITM attack d. SQL Injection attack

Last Answer : d. SQL Injection attack

Description : Define internal and external commands.

Last Answer : Internal Commands: Commands which are built into the shell. For all the shell built-in commands, execution of the same is fast in the sense that the shell doesn't have to search the given path for them in ... usually is at /usr/bin, the executable /usr/bin/cat gets executed. Examples: ls, cat etc. 

Description : Which of the following commands is called as three-finger salute in computers ? (1) Ctrl + Alt + Delete (2) Ctrl + Shift + Escape (3) Ctrl + Shift + Enter (4) Ctrl + Alt + Arrow key

Last Answer : Ctrl + Alt + Delete

Description : With reference to the above given tables, write commands in SQL for (i) and (ii) and output for (iii) below: -Technology

Last Answer : (i) select TName, Passenger from Train T, Reservation R where T.TrainId=R.TrainId;(ii) select T.* from Train T, Reservation R where T.TrainId!=R.TrainId;(iii)TrainIdTNameSourceDestination3424Lucknow MailLucknowNew Delhi5400Century ExpressNew DelhiKanpur

Description : Consider the following two commands C1 and C2 on the relation R from an SQL database:  C1: drop table R; C2: delete from R; Which of the following statements is TRUE? I. Both C1 and C2 delete the schema for R. II. C2 ... R. (A) I only (B) I and II only (C) II and III only (D) I, II and III

Last Answer : (C) II and III only

Description : Write syntax for following commands: i)Sleep ii)Kill

Last Answer : i)sleep Syntax: sleep NUMBER[SUFFIX]… sleep OPTION ii) kill Syntax: kill pid

Description : Describe the route Mycenaean traders used to reach Egypt from Tiryns?

Last Answer : They traveled north west over the Mediterranean Sea.

Description : Briefly describe about dosage and route of administration , which make a substance antigenic.

Last Answer : Combination of optical dosage and routes of administration will induce a peak immune response in a given animal. An insufficient dose will not stimulate an immune response. An excessive dose ... it causes a state of immunological unresponsiveness or non-response known as immunological tolerance.

Description : Arboviral encephalitis is an example of a a. disease causing gastroenteritis. b. disease spread by the fecal-oral route. c. Zoonosis d. type of hepatitis.

Last Answer : c. Zoonosis

Description : 1. By which an element is best characterized? 2. Which is the maximum spoken language in the world? 3. Which is the longest passenger rail route in India? 4. Daily weather map showing isobars ... very high velocities in certain parts of the atmosphere? 20. By whom was Din-i-Ilahi was accepted?

Last Answer : Answer : 1. By its atomic number 2. Mandarin 3. Kanyakumari and Jammu Tawi 4. Chropleth map 5. Right knowledge 6. Birds 7. Bombay, Madras, Calcutta 8. Gamma rays 9. 2700 and 4000 metres 10. Pali 11. ... 14. One day 15. Sher Shah Suri 16. Parliament 17. Sodium 18. Egypt 19. Jet stream 20. Birbal

Description : A physical connection between the microprocessor memory and other parts of the microcomputer is known as A) Path B) Address bus C) Route D) All of the above

Last Answer : Answer : B

Description : What is the maximum amount that can be raised through issuance of Rupee denominated bonds under automatic route? A. INR 50 billion B. INR 60 billion C. INR 55 billion D. INR 65 billion E. No limit

Last Answer : A. INR 50 billion Explanation: The maximum amount that any eligible borrower can raise through issuance of these bonds under automatic route is INR 50 billion or its equivalent during a financial year.

Description : Role of IP addressing is: a) A name indicates what we seek b) An address indicates where it is c) A route indicates how to get there d) All of the Above e) None of These

Last Answer : d) All of the Above

Description : Role of IP addressing is: a) A name indicates what we seek b) An address indicates where it is c) A route indicates how to get there d) All of the Above e) None of These

Last Answer : d) All of the Above

Description : CRM means -. 1) Customer Relationship Management 2) Customer Retention Manager 3) Customers' Relatives Meet 4) Channel Route Market

Last Answer : 1) Customer Relationship Management

Description : . A network that needs human beings to manually route signals is called.... A) Fiber Optic Network B) Bus Network C) T-switched network D) Ring network

Last Answer : C) T-switched network

Description : CRM in the context of software applications means. (1) Customer’s Relatives Meet (2) Channel Route Market (3) Customer Relationship Management (4) Customer Retention Manager

Last Answer : Customer Relationship Management