Terminal Navigation

How to move in and out of directories inside the terminal.

This is just a reminder for those, who are like me, and forget how to move in and out of directories inside the terminal.

Enter a directory:
Type “cd” space then Directory Names like “cd /folder_name/”.

Back-out of directory:
Type “cd” space then Dots and Forward Slash like “cd ../”.

List items in a directory:
Type “ls”.

Execute a file:
Type one Dot and Forward Slash and File Name like”./filename”.

Leave a Reply

Your email address will not be published. Required fields are marked *