Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

6 bytes added, 08:46, 11 January 2020
Part 2: Viewing Directory Contents / Copying & Moving Directories
#Issue the following Linux command to display the directory structure of your home directory to confirm you copied the uli101 directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">tree</span><br><br>Let's download and run a checking script to see if you moved and copied the directories correctly.<br><br>
# Make certain that your current directory is '''your home directory'''.<br><br>
# Issue the following Linux command to '''download ''' a '''shell script''' to your home directory that will check your work:<br><span style="pointer-events: none;cursor: default;color:blue;font-family:courier;font-weight:bold">wget https&#58;//matrix.senecacollege.ca/~murray.saul/uli101/week1-check-2</span><br><br>
# Run the checking script to check your work by issuing the following:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash week1-check-2</span><br><br>If you encounter errors and re-run the checking script until you receive a congratulations message, and proceed to the next section.<br><br>
13,420
edits