How do I find the directory of a file in Terminal?

How do I find the directory of a file in Terminal?
Answer
To see them in the terminal, you use the “ls” command, which is used to list files and directories. So, when I type “ls” and press “Enter” we see the same folders that we do in the Finder window.
 

Tìm kiếm

Back
Top