NewSourceMedia on Facebook

Terminal Navigation

Share Bookmark and Share

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”.

Please rate this post by clicking a star:

(8 votes, average: 3.63 out of 5)

Leave a Reply