In windows pc command prompt is the cli environment to use the computer system in linux it is known as terminal..






Today we will know some basic commands of command prompt and linux terminal:--

Commands
1.  pwd(present working directory)


2. ls(list directory)

3.cd ( change directory)

4.bash (to execute shell script)

5.chmod +x (filename.extension)
                   or
chmod 777 (filename.extension)

6. cd $HOME (to move to home directory)

7.sudo (to give root privilages of your system)

8. cp (copy file)

9. mv(move file)

10.cp -r(copy folder)

11.mv -r(move folder)

12.rm (remove file)

13.rm -rf( remove folder)

14. ifconfig

15.ping www.xyz.com(website ping test)