How to open a folder from terminal on a Mac?

105,110

Solution 1

navigate to the dir and type

open .

Solution 2

You can use:

cd dirname

to change the working directory. For example:

cd resumes

will change to the "resumes" folder. You can then manipulate it with other commands (ls, mv, cp , rm, and many others).

Share:
105,110

Related videos on Youtube

user27449
Author by

user27449

Updated on September 18, 2022

Comments

  • user27449
    user27449 over 1 year

    I want to open a folder that has all my resumes in it, how can I do that from the terminal?

  • KeithB
    KeithB almost 13 years
    "open path to file" will work as well.