Merge pull request #3 from willywos/open_command
Adding Open command section
This commit is contained in:
commit
d3d824665b
31
README.md
31
README.md
@ -27,6 +27,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [
|
||||
- [Finder](#finder)
|
||||
- [Files and Folders](#files-and-folders)
|
||||
- [Icons](#icons)
|
||||
- [Open](#open)
|
||||
- [Fonts](#fonts)
|
||||
- [Hardware](#hardware)
|
||||
- [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 Information
|
||||
@ -486,7 +516,6 @@ defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.prefere
|
||||
security find-generic-password -ga "ROUTERNAME" | grep "password:"
|
||||
```
|
||||
|
||||
|
||||
## Package Managers
|
||||
|
||||
- [Fink](http://www.finkproject.org) - The full world of Unix Open Source software for Darwin.
|
||||
|
Loading…
Reference in New Issue
Block a user