Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

107 bytes added, 09:12, 25 February 2021
INVESTIGATION 1: LINKING FILES
# 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>
# Issue the following Linux command to create a directory called '''~/links2''':<br><span style="color:blue;font-weight:bold;font-family:courier;">mkdir ~/links2</span><br><br>
# Issue the '''<span style="font-weight:bold;font-family:courier;">ls''' </span> command to confirm that the directory called '''~/links2''' exists.<br><br># Use a text editor to create a file called ''': <span style="font-weight:bold;font-family:courier;">~/links2/text-file.txt'''</span><br><br>
# Enter the following text displayed below:<br><br><span style="font-family:courier;font-weight:bold;">This is line one<br>This is line two<br>This is line three<br><br></span>
# Save your editing session and exit your text editor.<br><br>
13,420
edits

Navigation menu