Terminal — BashINSTRUCTIONAL EXAMPLEStart in ~ (your signed-in user’s home directory).
[learner@alma-lab01 ~]$ mkdir -p "$HOME/sonic-admin/practice" "$HOME/sonic-admin/evidence"
[learner@alma-lab01 ~]$ cd "$HOME/sonic-admin"
[learner@alma-lab01 ~/sonic-admin]$ pwd
[learner@alma-lab01 ~/sonic-admin]$ printf "Practice only\n" > practice/readme.txt
[learner@alma-lab01 ~/sonic-admin]$ cat practice/readme.txt
WHAT TO LOOK FOR (EXAMPLE)/home/your-user/sonic-admin
Practice only
Instructional terminal example · not a screenshot or connected VM. Usernames, hostnames and results will vary.Type it with me
Command 1 of 5Let’s take this one input at a time. Click inside the terminal in your own VM first.
mkdir -p "$HOME/sonic-admin/practice" "$HOME/sonic-admin/evidence"
Type this command into your VM’s terminal, then press Enter. Don’t type the example prompt shown in the terminal picture; keep symbols such as $HOME and > when they appear inside the command.
What you’re doingmkdir creates folders; -p also creates missing parent folders and accepts folders that already exist. $HOME points to your own home folder.
Before you continueNo message is normal when the folders are created successfully. Continue to the folder and file checks in this step.