Merge pull request #3 from willywos/open_command

Adding Open command section
This commit is contained in:
Marcel Bischoff 2015-10-16 18:50:43 +02:00
commit d3d824665b

View File

@ -27,6 +27,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [
- [Finder](#finder) - [Finder](#finder)
- [Files and Folders](#files-and-folders) - [Files and Folders](#files-and-folders)
- [Icons](#icons) - [Icons](#icons)
- [Open](#open)
- [Fonts](#fonts) - [Fonts](#fonts)
- [Hardware](#hardware) - [Hardware](#hardware)
- [Hardware Information](#hardware-information) - [Hardware Information](#hardware-information)
@ -298,6 +299,35 @@ atsutil databases -removeUser && atsutil server -shutdown && atsutil server -pin
``` ```
## Open
#### Open Url
```bash
open http://www.github.com
```
#### Open File
```bash
open README.md
```
#### Open Applications
You can open applications using -a
```bash
open -a "Google Chrome" http://www.github.com
```
#### Open Directory
```bash
open /path/to/directory
```
#### Open Current Directory
```bash
open .
```
## Hardware ## Hardware
### Hardware Information ### Hardware Information
@ -486,7 +516,6 @@ defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.prefere
security find-generic-password -ga "ROUTERNAME" | grep "password:" security find-generic-password -ga "ROUTERNAME" | grep "password:"
``` ```
## Package Managers ## Package Managers
- [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin. - [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin.