Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

454 bytes added, 20:30, 7 January 2020
Part 2: Viewing Directory Contents / Copying & Moving Directories
# Issue the following Linux command:<br><span style="color:blue;font-weight:bold;font-family:courier;">mv apc100 xyz100/uli101/tutorials</span><br><br>Note the differences between both of these commands.<br><br>
#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="color:blue;font-weight:bold;font-family:courier;">wget URL</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 filename</span><br><br>
===Part 3: Removing Directories ===
13,420
edits