A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
# 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
|
|
|
|
|
2015-10-28 08:33:06 +00:00
|
|
|
`open *.doc`
|