DEV Community

loading...

Basic commands

chicken_biryaniiiii profile image Shloka ・1 min read

Echo - Used to print a line of text on the screen
eg: echo hi

ls -lists contents of a directory
eg: ls

cd directoryName - change the directory you're working in.
eg: cd /home/Files

pwd - prints the directory you are working on.
eg: pwd

mkdir directoryName - Creates a new directory
eg: mkdir Python

Discussion (0)

pic
Editor guide