View Single Post
systix

 
Member Since: Dec 09, 2008
Posts: 19
systix is on a distinguished road

systix is offline
One of the things I miss in OS X compared to linux (ubuntu) is the ability to easily launch applications from the terminal, with or with out parameters to open files in that application.

Eg if i wanted to edit a document on linux I would type
Code:
gedit ~/files/example.txt
In OS X I dont seem to be able to do this, is there a way?
I know I can add an alias entry for each program to just run it like below:
Code:
alias tx 'open /Applications/TextEdit.app/'
but what happens if i want to open a file with this application as I know the command is different (using the -a option).

Is there any way to get OS X to work like linux in this way?

thanks.
QUOTE Thanks