mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 04:26:30 +08:00
Add instructions for using alt key in Mac OS.
This commit is contained in:
parent
cd0f6e5a14
commit
fe1df2b928
1 changed files with 2 additions and 0 deletions
|
@ -456,6 +456,8 @@ These are items relevant *only* on MacOS.
|
|||
|
||||
- Copy output of any command to a desktop app with `pbcopy` and paste input from one with `pbpaste`.
|
||||
|
||||
- To use enable use of the Option key in Mac OS Terminal as an alt key (such as used in the commands above like **alt-b**, **alt-f**, etc.), open Preferences -> Profiles -> Keyboard and select "Use Option as Meta key".
|
||||
|
||||
- To open a file with a desktop app, use `open` or `open -a /Applications/Whatever.app`.
|
||||
|
||||
- Spotlight: Search files with `mdfind` and list metadata (such as photo EXIF info) with `mdls`.
|
||||
|
|
Loading…
Reference in a new issue