Mac Terminal: open Command

View open Man(ual Page)
man open
Create a Blank File
touch file.txt
Open File in TextEdit
open -e file.txt
Open a Photo in Default Viewer
open photo.jpg
Open a Photo in a Specific Application
open -a /Applications/Affinity\ Photo.app photo.jpg
Open a URL
open "https://www.rickmakes.com"
Open a Google Search
open "https://www.google.com/search?q=rickmakes"
Read from Standard Input to Default Text Editor
ls | open -f
Open the Current Directory
open ./
Open a Specific Directory
open /Library/

Leave a comment

Your email address will not be published. Required fields are marked *