Part 2 - Unix/Linux for Testers | Directory Commands
You can download free Linux VM Images :
Online Linux terminal :
Notes:
-------------
mkdir - create directories and subdirectories.
mkdir testdir
create multiple directories at one time:
mkdir testdir1 testdir2 testdir3
create several subdirectories at one time:
mkdir -p world/countries/states
-------------------------------------------------------------------
cd - changing/closing directory
cd .. : go back to one level
cd /testdir1/testdir2/testdir3 → changing directory
pwd : it prints present directory
cd ~ Move to users home directory from anywhere.
------------------------------------------------------------------
rmdir - Remove the directory if it is empty (works only if directory empty)
rmdir world // error
rm -r world
rmdir testdir1 testdir2 testdir3