MacOS Tips and Tricks: Difference between revisions
From OPC Labs Knowledge Base
(Created page with "Category:macOS Category:Tips and Tricks The information here is surely well-known to macOS users, but might be useful if you are just a beginner. ; .NET Core and/or ....") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:macOS]] [[Category:Tips and | [[Category:macOS]] [[Category:Tips and tricks]] | ||
The information here is surely well-known to macOS users, but might be useful if you are just a beginner. | The information here is surely well-known to macOS users, but might be useful if you are just a beginner. | ||
Line 10: | Line 10: | ||
; Downloading files in Terminal | ; Downloading files in Terminal | ||
: Use command <code>curl -O <URL></code>. | : Use command <code>curl -O <URL></code>. | ||
; Unpacking TGZ files in Terminal | |||
: Use command <code>tar -xvzf <filename></code>. | |||
; Copy&paste and drag&drop in Terminal | ; Copy&paste and drag&drop in Terminal | ||
Line 15: | Line 18: | ||
: You can select text with mouse, and drag it to input prompt location. | : You can select text with mouse, and drag it to input prompt location. | ||
: Simply selecting a text with a mouse automatically copies it to the clipboard. | : Simply selecting a text with a mouse automatically copies it to the clipboard. | ||
: Keyboard shortcut for Paste is {{Style=shortcut| | : Keyboard shortcut for Paste is {{Style=shortcut|Shift+Command+V}}. If you are running macOS in a VM on Windows, use {{Style=shortcut|Shift+Windows+V}} instead. | ||
= Illustration = | |||
[[File:Opccmd-in-macos-daclient.png]] |
Latest revision as of 20:26, 10 March 2021
The information here is surely well-known to macOS users, but might be useful if you are just a beginner.
- .NET Core and/or .NET 5.0+ installation
- See Install .NET on macOS.
- If you use the installer, the instructions from Microsoft are missing the steps needed to setup the .NET search path. Use the following commands:
export DOTNET_ROOT=/usr/local/share/dotnet
export PATH=$PATH:$DOTNET_ROOT
- Downloading files in Terminal
- Use command
curl -O <URL>
.
- Unpacking TGZ files in Terminal
- Use command
tar -xvzf <filename>
.
- Copy&paste and drag&drop in Terminal
- Right-click in the terminal gives gives a menu with contextual commands, including Copy and Paste.
- You can select text with mouse, and drag it to input prompt location.
- Simply selecting a text with a mouse automatically copies it to the clipboard.
- Keyboard shortcut for Paste is Shift+Command+V. If you are running macOS in a VM on Windows, use Shift+Windows+V instead.