Update 23-01-2020
This commit is contained in:
51
docs/macos/terminal/open.md
Normal file
51
docs/macos/terminal/open.md
Normal file
@@ -0,0 +1,51 @@
|
||||
# open
|
||||
|
||||
|
||||
|
||||
Montrer les fichiers dans le Finder:
|
||||
|
||||
```bash
|
||||
$ open -R chrono.sh
|
||||
```
|
||||
|
||||
Ouvrir un dossier dans le Finder:
|
||||
|
||||
```bash
|
||||
$ open /etc
|
||||
```
|
||||
|
||||
Ouvrir le dossier courrant dans le Finder:
|
||||
|
||||
```bash
|
||||
~/Documents/Scripts/kymsu2 master*
|
||||
$ open .
|
||||
```
|
||||
|
||||
|
||||
|
||||
Ouvrir README.md avec TextEdit:
|
||||
|
||||
```bash
|
||||
$ open -e README.md
|
||||
|
||||
$ open -e *.md
|
||||
```
|
||||
|
||||
Spécifier l'application (Typora) pour ouvrir README.md:
|
||||
|
||||
```bash
|
||||
$ open -a Typora README.md
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user