Open main menu

CDOT Wiki β

Changes

Tutorial 2 - Unix / Linux File Management

1 byte added, 18:02, 13 September 2021
INVESTIGATION 1: CREATING & MANAGING DIRECTORIES
# Issue the following Linux command to remove all of the directories that you have created:<br><span style="color:blue;font-weight:bold;font-family:courier;">rm -r osl640xx osm620xx nwk680xx</span><br><br>
# Issue a Linux command to confirm that the '''osl640xx''', '''osm620xx''' and '''nwk680xx''' that been removed.<br><br>
# 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 osl640xx/notes osl640xx/tutorials osl640xx/samples osm620xx nwk680xx</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 osl640xx/ osl640xx/notes osl640xx/tutorials osl640xx/samples osm620xx nwk680xx</span>
<br><br>