Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

-::ubermann::-

macrumors regular
Original poster
hi,
i just realized than finder doesnt show all folders, how do i open something with any appication in terminal? for example in linux i write kate /dir/dir/something.c which means open something.c with kate, i tried this on terminal but it doesnt work ¬¬
...or how do i make them all visible for finder?
 
Can you tell us which app and which file you're trying to use? The instructions might differ depending on that information.
 
To open a document with its default application in terminal, use:

open <filename>

To open a document with a specified application, use:

open -a <application name> <filename>
 
Can you clarify your statement "finder doesn't show all folders"? If you're talking about hidden system folders... they're hidden for a reason and it requires you to us 'ls -a' in Terminal to view them in the working directory. 'kate /file/path/file.txt' won't do anything because the program Kate isn't on OS X. If you'd like to open a text file within a command line program, try pico/nano. Some programs (such as TextMate) allow you to install a command line alias to the program that allows you to type 'mate /file/path/file.txt' and have TextMate start up and open the given file.
 
Can you clarify your statement "finder doesn't show all folders"? If you're talking about hidden system folders... they're hidden for a reason and it requires you to us 'ls -a' in Terminal to view them in the working directory. 'kate /file/path/file.txt' won't do anything because the program Kate isn't on OS X. If you'd like to open a text file within a command line program, try pico/nano. Some programs (such as TextMate) allow you to install a command line alias to the program that allows you to type 'mate /file/path/file.txt' and have TextMate start up and open the given file.
oh kate is a linux app, i mentioned it because thats what i do in linux

but my problem was solved, i dindnt know the open command, thanks

by the way, my problem was that i installed mysql on mac, i was looking for the mysql.info, but i couldnt find anything with finder, however with terminal i just opened it the waay you explained 🙂
it says that mysql installs in /usr/local/... but i coulnd find this, only if i enter from terminal with cd /usr/local/...

i have another noob question, how do i see the root folder in finder??
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.