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 *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Next Post » »