Beruflich Dokumente
Kultur Dokumente
COMMAND DESCRIPTION
cd dirname Moves into "dirname" directory if available within current directory
cd.. Moves back by directory….Linux requires space between cd and the two periods
cd../.. Moves back by 2 directories….will move back by 3 directories if cd../../.. and so on
cd/ or cd\ Moves back to root directory
cd ~ Moves back to home directory
COMMAND DESCRIPTION
mkdir dirname Here we are creating a new directory "dirname" in the current directory
md dir1 dir2 dir3 Creating multiple new directories in the current directory by using md
command
md "dir1" "dir2" "dir3" You can create multiple directories in the current directory by using md
command
md F:\dirname or To make an directory in another drive without actually moving into that
mkdir F:\dirname drive
md ..\dirname To create directory in the parent directory without first moving into that
mkdir ..\dirname directory
md onedrive\dirname To create a subdirectory in a different directory without actually moving
mkdir onedrive\dirname into it….here we are creating "dirname" directory within "onedrive"
directory
notepad hope.txt :- Running the command would edit the hope.txt file if it exists
or create a new file called hope.txt in the notepad
Once the file is saved it will be created in your current directory