Open main menu

CDOT Wiki β

Changes

INVESTIGATION 1: ABSOLUTE / RELATIVE / RELATIVE-TO-HOME PATHNAMES
# Issue a Linux command to confirm you removed the tutorial3 directory and its contents.<br><br>
# Issue the following Linux command to create the same directory structure using relative pathnames:<br><br><span style="color:blue;font-weight:bold;font-family:courier;">mkdir -p tutorial3/practice/commands tutorial3/practice/examples tutorial3/notes/lesson1 tutorial3/notes/lesson2</span><br><br>'''QUESTION:''' Which command (pathname type) that you performed in steps '''3''' , '''6''' , and '''9''' required the LEAST number of keystrokes (i.e. characters)?<br><br>
 
 
You may then think that issuing Linux file management commands are better using '''relative''' or '''relative-to-home''' pathnames instead of '''absolute''' pathnames, but this assumption may be incorrect.
 
Since the current directory location was your '''home''' directory, then it makes sense that using relative or relative-to-home pathnames are more efficient. On the other hand, what if we changed the location to a different directory? Then perhaps, using an absolute pathname would be preferable.
 
 
 
'''Perform the Following Steps:'''
 
# Issue a Linux command to change to the '''examples''' directory in your recently-created directory structure.<br><br>
# Issue a Linux command to confirm you are located in the ''examples'' directory.<br><br>
=INVESTIGATION 2: FILENAME EXPANSION=
13,420
edits