mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
23 lines
378 B
Markdown
23 lines
378 B
Markdown
![]() |
# open
|
||
|
|
||
|
> Opens files, directories and applications
|
||
|
|
||
|
- Open a file with the associated application
|
||
|
|
||
|
`open filename.ext`
|
||
|
|
||
|
- Run a graphical MacOSX application
|
||
|
|
||
|
`open /Applications/iTunes.app`
|
||
|
|
||
|
- Open the current directory in Finder
|
||
|
|
||
|
`open .`
|
||
|
|
||
|
- Reveal a file in finder
|
||
|
|
||
|
`open -R /path/dir/file`
|
||
|
|
||
|
- Open all the word docs in the current directory with Microsoft Word
|
||
|
|
||
|
`open *.doc`
|