13,420
edits
Changes
→Part 2: Viewing Directory Contents / Copying & Moving Directories
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">tree</span><br><br>'''NOTE:''' You should see the directory structure that you created in the previous section. You can also issue the tree command using a directory pathname to display the directory structure for a specific scope.<br><br>You can also use the -R option for the ls command to display all directories and subdirectories for a specified directory path (referred to as a "recursive directory listing").<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls -lR</span><br><br>What directories do you see?<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls -lR uli101</span><br><br>Note the differences between both of these commands.<br><br>You can copy and move entire directories (and their contents) to other directories.<br><br># Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">cp uli101 xyz100</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>
===Part 3: Removing Directories ===