Home > Articles

Getting Help

📄 Contents

  1. Lab 3.1 Getting Help with man
  2. Lab 3.2 Getting Help with info

In this sample chapter from Linux Essentials for Cybersecurity Lab Manual, you will learn how to get help using the info command.

This chapter is from the book

These labs should be performed on the Ubuntu operating system that you installed in Chapter 1, “Distributions and Key Components.” Before you begin this lab, log in to the student account that you created during the installation process.

Lab 3.1 Getting Help with man

  • STEP 1. Open a terminal window.

    ____________________________________________________________

  • STEP 2. Display the man page for the ls command.

    ____________________________________________________________

  • STEP 3. Search for the term sort.

    ____________________________________________________________

  • STEP 4. Continue the search until you find the option to sort by file size.

    ____________________________________________________________

  • STEP 5. Quit the man page.

    ____________________________________________________________

  • STEP 6. Determine which sections the ls command is in.

    ____________________________________________________________

    ____________________________________________________________

  • STEP 7. Search the man pages for the keyword list and pipe the output to the less command.

    ____________________________________________________________

    ____________________________________________________________

  • STEP 8. Execute the su - command to switch to the root account. (Enter the root password when prompted.)

    ____________________________________________________________

  • STEP 9. Run the command to update the man page databases.

    ____________________________________________________________

  • STEP 10. Run the exit command to return to the student account.

    ____________________________________________________________

  • STEP 11. Change the MANPATH variable to include the /var/man directory.

    ____________________________________________________________

  • STEP 12. Execute the ls command with the option to display help information for the command.

    ____________________________________________________________

  • STEP 13. Use the help command to display information about the umask command.

    ____________________________________________________________

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.