You run the command hostname server1 and issue the reboot command. You notice that the host name has reverted back to what it was before the reboot. Which of the following commands should you have used to change the host name instead?

A. ifconfig server1
B. host server1
C. hostnamectl set-hostname server1
D. set hostname=”server1”


Answer: C

Computer Science & Information Technology

You might also like to view...

For an ifstream object A, a class type B and a local variable of type B called C, the proper way to read in one B object from A into C is:

a. A.read( &C, sizeof( B ) ); b. A.read( reinterpret_cast< char * >( &C ), sizeof( B ) ); c. A.read( reinterpret_cast< char * >( &C ), B ); d. A.read( char * ( &C ), sizeof( B ) );

Computer Science & Information Technology

The main processor in a computer is called the ____.

A. GUI B. CPU C. LAN D. PC

Computer Science & Information Technology

The use of a podcast is an example of a(n) ________ communication because the sender and receiver do not have to be present at the same time to communicate

Fill in the blank(s) with correct word

Computer Science & Information Technology

Match the following terms to their meanings:

I. ControlTips II. Report Wizard III. Propagate IV. Theme V. Auto Order A. Changes the tab order based on the position of the controls left to right and top to bottom B. Simplifies the process of creating professional-looking objects C. Disseminate or apply D. Display when an individual pauses the mouse pointer over a control E. An efficient way to begin creating a report

Computer Science & Information Technology