$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
Directory Management
Reset Lesson
Learn to create and remove directories with mkdir and rmdir.
Step 1
Create a new directory called myproject.
Type: mkdir myproject
mkdir myproject
Step 2
Create nested directories using the -p flag: myproject/src/components.
Step 3
Navigate into the myproject directory.
Step 4
List the contents to see the src directory.
Step 5
Go back to home and remove an empty directory. Try: cd .. then rmdir myproject/src/components.