Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

4 bytes added, 09:51, 7 March 2021
INVESTIGATION 1: LINKING FILES
# Issue a Linux command to '''confirm''' you are located in your '''home''' directory.<br><br>
# Issue the following Linux command to create a directory called '''~/links''':<br><span style="color:blue;font-weight:bold;font-family:courier;">mkdir ~/links</span><br><br>
# Issue the '''ls-ld''' command to confirm that the directory '''~/links''' exists.<br><br>
# Use a text editor to create a file called <span style="font-weight:bold;font-family:courier;">~/links/data-file.txt </span><br>(i.e. <u>without</u> changing to the links directory).<br><br>
# Enter the following text displayed below:<br><br><span style="font-family:courier;font-weight:bold;">This is line 1<br>This is line 2<br>This is line 3<br><br></span>[[Image:hard-link-inode1.png|thumb|right|450px|'''Hard links''' <u>share</u> the same '''i-node''' with regular files on a Unix / Linux filesystem.]]
13,420
edits