B.12. Lab B.12: Change Permissions on All Files in a Linux Directory

This lab requires a Linux workstation.

You can use the chmod utility to change the permissions on one or many files. This exercise changes the permissions on all files beneath the /tmp directory to readonly for everyone (r—r—r—).

To accomplish this change, follow these steps:

  1. From the desktop, choose Programs Accessories Terminal.

    NOTE

    Your menu choices might differ slightly based upon the Linux distribution you are using.

  2. Type the command cd /tmp.

  3. Type the command chmod 444 *.

  4. When you are finished, exit the terminal window.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.150.119