Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

2 bytes added, 11:22, 7 January 2020
Part 1: Creating Directories
# Issue the following single Linux command to create the entire directory structure:<br><span style="color:blue;font-weight:bold;font-family:courier;">mkdir -p uli101/notes uli101/tutorials uli101/examples acp100 xyz100</span><br><br>'''NOTE:''' The '''-p''' option allows "parent" directories to be automatically created first to then create their subdirectories.<br><br>
# Issue the following Linux command to confirm that all of the directories have been created:<br><span style="color:blue;font-weight:bold;font-family:courier;">ls -ld uli101 uli101/notes uli101/tutorials uli101/examples apc100 xyz100</span><br><br>
 
'''Downloading & Running a Shell Script to Check your Work'''
To check that you haven't made mistakes so you won't encounter problems in the next section a '''shell script''' has been created to check your work.
If the checking shell script detects an error, then it will provide feedback and offer constructive feedback on how to fix that problem so you can re-run the checking shell scripts until your work is correct.
 
'''Perform the Following Steps:'''
13,420
edits