Basic CLI/ Terminal Commands
cd → access to directory
ls → gives you the list of the directory
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
moving → mv + <the folder’s name> + destination folder where you want to move the file
mkdir → command for making a new folder
rmdir → command for removing a folder
touch → command for making a new file
rm → command for removing a file
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
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:
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! :)









