Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

361 bytes added, 11:02, 4 February 2020
INVESTIGATION 1: LINKING FILES
# Issue the following Linux command to create a hard-linked file in your '''home''' directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">ln ~/links/data-file.txt ~/data-file.hard.lnk<br><br>
# 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>
# x
13,420
edits