Open main menu

CDOT Wiki β

Changes

Tutorial7: Links / Process Management

987 bytes added, 14:28, 30 January 2020
Linking Files
''Hark Hard Links:'' Hard link is a reference to the physical data on a file systemMore than one hard link can be associated with the same physical dataHard links can only refer to data that exists on thesame file systemHard links cannot be created to a directoryWhen a file has more than one link, you can remove any one link and still be able to access the file through the remaining links  Assume you used "vi" to create a new file, you create the first hard link (vi myfile)To Create the 2nd, 3rd , etc. hard links, use the command:ln myfile link-name  Create a new file called “myfile”Run the command “ls -il” to display the i- node number and link counter
x
''Symbolic Links:''
xA Symbolic Link is an indirect pointer to a file – a pointer to the hard link to the fileYou can create a symbolic link to a directoryA symbolic link can point to a file on a different file systemA symbolic link can point to a nonexistent file (referred to as a "broken link")  Also known as soft links or symlinks
===Managing Processes===
13,420
edits