DEV Community

Shloka
Shloka

Posted on • Updated on

Basic commands

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

Top comments (0)