1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fiesta28 [93]
3 years ago
11

What linux command displays the ip address and subnet mask?

Computers and Technology
1 answer:
Nookie1986 [14]3 years ago
3 0
Type "ifconfig" at the terminal prompt, then press the "Enter" key. The IP address is labeled as "inet addr." The subnet is labeled as "Mask."

step 2

Type "netstat -r" at the command prompt, then press the "Enter" key to view the gateway address.

You might be interested in
True or false you can create a. network with 2 computers?<br>​
kozerog [31]

Explanation:

true true jsjsdkdkskdkdksksksksk

3 0
3 years ago
Read 2 more answers
A sequence of data values separated by commas can be made into a list by enclosing the sequence in what type of symbols?
Dovator [93]

Answer:

square brackets [ ]

Explanation:

In python programming language a list is a data structure type that contains data values which can be of different data types separated by commas and enclosed in a pair of square brackets. in the example below, I have created a list and initialized the values

MyList = [ 2,3,4,5,"David", 2.5, 5.8].

This list contains three different data types integers, float and a string

This code below will produce the output that is attached as an image

<em>MyList = [2,3,4,5,"David"]</em>

<em>print(MyList[0])</em>

<em>print(MyList[1])</em>

<em>print(MyList[2])</em>

<em>print(MyList[3])</em>

<em>print(MyList[4])</em>

<em>Observe that list follow the zero-based indexing</em>

3 0
3 years ago
_________function tells the cin object to skip one or more characters in the keyboard buffer.
Amanda [17]

Answer:

cin.ignore function written as  cin.ignore()

Explanation:

  • As we know that cin is an object that is used to obtain the input entered by the user through the keyboard.
  • cin.ignore() is a function which is used to ignore or skip one or more characters in the keyboard buffer.
  • Keyboard buffer is a small storage area which is used to store keystrokes.
  • When a key is pressed on the keyboard it is referred to as a keystroke.
  • So before processing, these keystrokes are stored in keyboard buffer.
  • So when we use cin to input a character from the user through the keyboard, the keyboard buffer must be empty. If that's not done then the character entered will be taken by the buffer of previous variable.
  • Lets take an example of why we want to use cin.ignore() function.
  • For example you want the employee (user) to enter his name and you are using cin to read this name from the user.

                                          char empname[8];

                                           cin>>empname;

  • Now if the user types his name lets say Anonymous and press enter key this will be taken as new line character and it will store this newline character \n into the buffer.
  • cin >> statement reads data from the buffer and stops reading when it reaches newline character.
  • So Anonymous is read in and stored in empname variable but newline character is left in the keyboard buffer.                          
  • Lets say after cin>>empname we write another statement that takes a character from user. A user wants to enter character "a".

                                char character;

                            character = cin.get();

  • When cin.get finds the newline  character \n in keyboard buffer, it uses it (as cin.get can read the newline character in the buffer) without waiting for the  user to input "a".
  • So cin.ignore() function is used to avoid such situation.
  • We can specify the characters to be ignore within the cin.ignore() function such as cin.ignore(10,'\n') will ignore 10 characters in the buffer before taking new line or until a \n character comes.
  • You can simply use cin.ignore() which will ignore the very next character just as \n in our example. In our example we can use cin.ignore() after the cin>>empname; and before using cin.get();
8 0
4 years ago
Que es lo que me recomiendan estudiar? :v
trapecia [35]

Answer:

Informática O Tecnología de la información O Electrónica. Puedes hacer maravillas con estos. Puede comenzar un curso en cualquiera de las transmisiones, pero tenga en cuenta sus habilidades y considérelas al seleccionar una de las anteriores. Si quieres hacer un pequeño curso. Puedes hacer un curso de alojamiento web o computación en la nube. Pero siempre aprende un idioma aparte de estos definitivamente. Además, siga aprendiendo vocabularios de todos estos. Eso te convertirá pronto en una personalidad, que nunca se aburrirá. Lea muchos blogs y artículos sobre estos a diario también.

Explanation:

La respuesta se explica por sí misma.

5 0
3 years ago
What is the purpose of copyfitting?
stiv31 [10]

Answer:

ms word can help you to writer and print

ur document and make u more attractive

Explanation:

a

3 0
3 years ago
Other questions:
  • How do I change my age on here?-<br> Why did it set it to 18???
    5·2 answers
  • . Which game was the most popular free download in Apple®’s app store by January 2014, despite poor reviews and plagiarism accus
    14·2 answers
  • What should you do to protect your copyright
    7·1 answer
  • What is an IP address and where I can find the IP address for my computer?
    14·1 answer
  • The problem analysis phase typically includes which of the following tasks? (Points : 2) Negotiate baseline scope.
    10·1 answer
  • Martha wants to create an image for her Web site. Martha should use _____.
    15·2 answers
  • What type of movement does the output produce
    10·1 answer
  • Which of the following is the fastest computer processing speed?
    10·1 answer
  • Plz help me to solve all of this question answer.(of question no 7,8,9)​
    12·1 answer
  • Bộ mã I mã hóa được nhiêu kí tự
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!