RH033 Red Hat Linux Essentials

Loading demo links...

Showing 7–9 of 10 questions

Question 7

Which of the following commands displays the inode number of a file in the Linux operating system?

Select an option, then click Submit answer.

  • cat

  • ls -i

  • ls -l

  • ls

Question 8

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. You want to run two programs, foo and bar. You also want to ensure that bar is executed if and only if foo has executed successfully. Which of the following command sequences will John use to accomplish the task?

Select an option, then click Submit answer.

  • foo && bar;

  • foo | bar;

  • foo; bar;

  • foo || bar;

Question 9

Which of the following operators is used to connect the output of one command to the input of another command?

Select an option, then click Submit answer.

  • >

  • |

  • 2>

  • &>