Changes

Jump to: navigation, search

Tutorial2: Unix / Linux File Management

4 bytes added, 11:46, 7 January 2020
INVESTIGATION 1: MANAGING DIRECTORIES
#This technique is considered to be '''inefficient'''... There are options and ways to create the same directory structure without using the cd command and only issue a single Linux command.<br><br>Using this inefficient method tends to show that you are a novice or "'''newbie'''", and you may '''lose marks''' if you issue multiple Linux commands to performed tasks that can be performed using only a single Linux command.<br><br>Although we will teach you how to '''remove''' directories and their contents in a future section, let's change back to your '''home''' directory and issue a command to '''remove the directory structure''' that you just created so you can learn a more efficient method of creating the same directory structure.<br><br>
# Issue Linux commands to move to your home directory and confirm that your current directory is your home directory. You should know how to do this...<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 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>
===Part 2: Navigating / Listing Directories ===
13,420
edits

Navigation menu