Lesson 1

Date: 5/31/2017
User accounts, files and directories, processes, system commands.
Linux System Administration


Links

  • Symbolic Links
    Symbolic link is a file containing the full path to the file it is linked to.
    
    ln -s testf.txt testf_link
    
    ls -l testf_link
    lrwxrwxrwx    1 mike   staff          9 Jan 18 10:54 testf_link -> testf.txt
    

  • Hard Links
    An additional directory entry for the same file
    
    ln testf.txt testf2
    
    ls -li  testf.txt
     25 -rw-rw----    2 mike   staff         0 Jan 18 10:26 testf.txt
    
    ls -li testf2
     25 -rw-rw----    2 mike   staff         0 Jan 18 10:26 testf2 
    




  • Take me to the Course Website