Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1:

What command would you use to find the ownership and permissions associated with saturday.txt?

2:

What command would you use to change the permissions for saturday.txt to ensure that all users anywhere could read and write to the file?

3:

What command would you use to create a symbolic link to saturday.txt called just_another_saturday.txt?

Answers

A1:

ls -l saturday.txt

A2:

chmod ugo+r saturday.txt

A3:

ln -s saturday.txt just_another_saturday.txt

Activities

  1. Spend some time creating empty text files and directories, then changing their permissions, and trying to edit, change, copy, or delete them to gain practice with permissions.

  2. See what happens when you create a symbolic link using ln s that refers to a file that doesn't exist. (Hint: The link will still be created, but it might not behave as you would expect.)



    SAMS Teach Yourself Red Hat(r) Fedora(tm) 4 Linux(r) All in One
    Cisco ASA and PIX Firewall Handbook
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 311
    Authors: David Hucaby

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net