Opening other files on Mac OS How to open non-text files? Mac OS: "open" • Opens the program associated with this file • Like double-clicking in Finder • Opens in Aqua graphical user interface open index.html open. open -a Preview picture.jpg Opens html file in browser Opens current directory in Finder Opens picture.jpg with Preview
Opening other files on Mac OS with Bash
feel free to call us +800.241.0630 russ@russellcoder.com
Related Articles
-
Copy Files – CP
russellc, , BASH, 0
Example of copy command Macbook-Air:demo reindertS Is -R alice Sherlock ./alice: alice.txt wonderland.jpg ./sherlock: holmes.jpg sherlock.txt Macbook-Air:demo reindertS...
-
Absolute paths
russellc, , BASH, 0 -
Bash History
russellc, , BASH, 0
Bash keeps a history of your commands No need to re-enter long commands up and down arrow keys •...
-
Relative Paths
russellc, , BASH, 0 -
Listing Text Files with Bash
russellc, , BASH, 0
Listing text files cat • Best for small files-no paging • May mess up your terminal • Use “reset”...
-
How do you list a the contents of a directory? – LS
russellc, , BASH, 0
At the command line just type – ls
-
How do you go up one level in a directory? cd ..
russellc, , BASH, 0
type cd .. or cd by itself takes you to the users home directory.
-