Sitemap
Erica Madebeykin, MBA

Erica Madebeykin, MBA

MSc Comp Sci- AI student ; Interested in machine learning, robotics and mechatronics. https://kittycat.tech/programming-maths/java

Basic CLI/ Terminal Commands

2 min readMay 21, 2022

--

cd → access to directory

ls → gives you the list of the directory

Press enter or click to view image in full size

mv → it is used to rename folders or move a file

renaming → mv + ‘<the folder’s name>’ + <the new name>

note: the quotes will make the difference of renaming vs moving

Press enter or click to view image in full size
renaming file/folder using mv

moving → mv + <the folder’s name> + destination folder where you want to move the file

Press enter or click to view image in full size

mkdir → command for making a new folder

Press enter or click to view image in full size

rmdir → command for removing a folder

Press enter or click to view image in full size

touch → command for making a new file

Press enter or click to view image in full size

rm → command for removing a file

Press enter or click to view image in full size

cd .. → going back to previous directory

Get Erica Madebeykin, MBA’s stories in your inbox

Join Medium for free to get updates from this writer.

Note: Make sure you do this with space or else the command will not work

Press enter or click to view image in full size

How to make your Terminal look elegant

If you noticed, my terminal above looks clean and elegant, it does not hurt the eyes at all. That’s because I applied the “Starship” theme on it, which you can google.

Here’s my previous terminal. Look at this old HomeBrew theme:

Press enter or click to view image in full size

Important: It is important that your eyes are comfortable with your terminal interface, both for the well-being of your eyes and your mood. If you think your terminal does not satisfy you, you can always give it a makeover look! :)

--

--

Erica Madebeykin, MBA
Erica Madebeykin, MBA

Written by Erica Madebeykin, MBA

MSc Comp Sci- AI student ; Interested in machine learning, robotics and mechatronics. https://kittycat.tech/programming-maths/java