Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

42 bytes removed, 09:18, 25 February 2021
INVESTIGATION 1: LINKING FILES
# Save your editing session and exit your text editor.<br><br>
# Issue the following Linux command to create the following '''symbolic''' link in the same directory: <br><span style="color:blue;font-weight:bold;font-family:courier;">ln -s ~/links2/text-file.txt ~/links2/text-file.sym.lnk</span><br><br>
# Issue the following Linux command to display i-node numbers for <u>both</u> files:<br><span style="color:blue;font-weight:bold;font-family:courier;">ls -i ~/links2/text-file.txt ~/links2/text-file.sym.lnk</span> command for the '''~/links2''' directory.<br><br>What do you notice about both of these file's i-node numbers?<br>What do you notice about the size of the file ''~/links2/text-file.sym.lnk''?<br>What pathname do you think it represents?<br><br>
# Change to your '''home''' directory.<br><br>
# Issue the following Linux command to create the following symbolic link in your home directory: <br><span style="color:blue;font-weight:bold;font-family:courier;">ln -s ~/links2/text-file.txt ~/text-file.sym.lnk</span><br><br>
13,420
edits