Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

357 bytes added, 09:47, 25 February 2021
INVESTIGATION 1: LINKING FILES
# Issue the following Linux command to check that you created those symbolic links: <br><span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/week8-check-2</span><br><br>If you encounter errors, then view the feedback to make corrections, and then re-run the checking script.<br>If you receive a congratulation message that there are no errors, then proceed with this tutorial.<br><br>
# Issue the following Linux command to remove the '''~/links2''' directory: <br><span style="color:blue;font-weight:bold;font-family:courier;">rm -rf ~/links2</span><br><br>
# Re-issue the Issue a Linux command you performed in to confirm that the '''step #31~/links2'''directory has been removed.<br><br># Issue the following Linux command to view the contents of the<br>original file called ~/links2/text-file.txt:<br><span style="color:blue;font-weight:bold;font-family:courier;">cat ~/links2/text-file.txt</span><br><br>What happened? Whydid does this happen?<br><br># Issue the following Linux command: <br><span style="color:blue;font-weight:bold;font-family:courier;">ls -l ~/text-file.txt.sym.lnk</span><br><br>What do you notice?This output indicates a "'''broken link'''" and indicates this is not an effective method of backing up files.<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ln -s ~uli101 linux</span><br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">linux/assign1</span><br><br>What happened? Why?
13,420
edits