Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

13 bytes added, 08:30, 11 January 2020
Part 1: Creating Directories
# Issue the following Linux command:<span style="color:blue;font-weight:bold;font-family:courier;">ls -d -l uli101</span><br><br>How can you confirm from the output of this command that the file uli101 is a directory?<br><br>
# Issue the following Linux command:<span style="color:blue;font-weight:bold;font-family:courier;">ls -ld uli101</span><br><br>Is the output from this command the same was the output from the previous command?<br>If so, what does this say about how to use multiple options for Linux commands?<br><br>
# Issue the following Linux command to create the '''acp100 ''' and '''xyz100 ''' directories:<span style="color:blue;font-weight:bold;font-family:courier;">mkdir acp100 xyz100</span><br><br>'''NOTE:''' You should notice that you can create multiple directories by issuing the mkdir with multiple arguments.<br><br>
# Issue the following Linux command to confirm that those directories have been created: <span style="color:blue;font-weight:bold;font-family:courier;">ls -ld acp100 xyz100</span><br><br>
# We will now create the subdirectories that are contained in the '''uli101''' directory.<br>Issue the following Linux command to move to the uli101 directory: <span style="color:blue;font-weight:bold;font-family:courier;">cd uli101</span><br><br>
13,420
edits