Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

1 byte removed, 16:46, 4 February 2020
INVESTIGATION 1: LINKING FILES
# Issue the '''ls -i''' command to determine the i-node number for the file called '''~/data-file.hard.lnk'''<br><br>What do you notice about this file's ''i-node'' number?
# Make certain you are currently located in your '''home''' directory.<br><br>
# Issue the following Linux command to remove the ~/links directory and its contents: <br><span style="color:blue;font-weight:bold;font-family:courier;">rm -rf ~/links</span>.<br><br>
# Issue a Linux command to confirm that the '''~/links''' directory has been removed.<br><br>
# Issue the following Linux command to view the contents of your linked file in your '''home''' directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">cat ~/data-file.hard.lnk</span><br><br>What do you notice? What does this tell you about hard links?<br><br>
13,420
edits