Difference between revisions of "IT-OS-Admin-macOS"
Jump to navigation
Jump to search
Samerhijazi (talk | contribs) (→Setting-B) |
Samerhijazi (talk | contribs) (→Top Terminal Keyboard shortcuts) |
||
| Line 10: | Line 10: | ||
* https://discussions.apple.com/thread/251748775?sortBy=rank | * https://discussions.apple.com/thread/251748775?sortBy=rank | ||
| + | =Logos= | ||
| + | * ⇧ Shift | ||
| + | * ⌥ Option | ||
| + | * ⌘ Command | ||
| + | * ⌃ Control | ||
=Top Terminal Keyboard shortcuts= | =Top Terminal Keyboard shortcuts= | ||
* https://support.apple.com/guide/terminal/welcome/mac | * https://support.apple.com/guide/terminal/welcome/mac | ||
| Line 17: | Line 22: | ||
*Move insertion point to the beginning: (Control-A) | *Move insertion point to the beginning: (Control-A) | ||
*Move insertion point to the end: (Control-E) | *Move insertion point to the end: (Control-E) | ||
| − | *[]: | + | *[]: Option + 5/6 |
| − | *{} : | + | *{} : Option + 8/9 |
| − | *~: | + | *~ : Option + n |
| + | *\ : Shift + Option + 7 >>> (⇧ + ⌥ + 7) | ||
* Force Quit: Option + Command + Esc. | * Force Quit: Option + Command + Esc. | ||
* Mark massage as Read: command + T | * Mark massage as Read: command + T | ||
Revision as of 16:37, 21 October 2025
Contents
Ref.
- https://support.apple.com/en-gb/guide/terminal/trmlshtcts/mac
- https://support.apple.com/en-us/HT201236
- https://macos-defaults.com/finder/appleshowallfiles.html
MacOs-Tools
- https://bentoboxapp.com/
- https://www.theiphonewiki.com/wiki/Models
- https://www.theiphonewiki.com/wiki/Model_Regions
- https://support.apple.com/de-de/108044
- https://discussions.apple.com/thread/251748775?sortBy=rank
Logos
- ⇧ Shift
- ⌥ Option
- ⌘ Command
- ⌃ Control
Top Terminal Keyboard shortcuts
- https://support.apple.com/guide/terminal/welcome/mac
- Show hidden files: (Command + Shift + .)
- New window: (Command-N)
- New tab: (Command-T)
- Move insertion point to the beginning: (Control-A)
- Move insertion point to the end: (Control-E)
- []: Option + 5/6
- {} : Option + 8/9
- ~ : Option + n
- \ : Shift + Option + 7 >>> (⇧ + ⌥ + 7)
- Force Quit: Option + Command + Esc.
- Mark massage as Read: command + T
- Move files: ⌘ + ⌥ + V
Xcode
xcodebuild -version xcode-select -p sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install
brew
HOMEBREW_NO_INSTALL_CLEANUP=false HOMEBREW_NO_ENV_HINTS=true ############################################ brew list --versions openjdk@21 brew link --force --overwrite openjdk@21
Uninstall all brew
brew list | xargs brew uninstall --force brew list --cask | xargs brew uninstall --cask --force
Settings-A
- https://macos-defaults.com/
- https://lupin3000.github.io/macOS/defaults/
- https://marketmix.com/de/mac-osx-umfassende-liste-der-terminal-defaults-commands/
- https://git.herrbischoff.com/awesome-macos-command-line/about/
osascript -e 'id of app "Terminal"' ------------------------------------------------------------------------------- defaults read com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile ------------------------------------------------------------------------------- defaults write com.apple.Finder _FXSortFoldersFirst -bool true defaults write com.apple.Finder AppleShowAllFiles true ------------------------------------------------------------------------------- defaults write com.apple.Terminal NSRequiresAquaSystemAppearance -bool no defaults write com.apple.TextEdit NSRequiresAquaSystemAppearance -bool no defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false ------------------------------------------------------------------------------- defaults write -g NSRequiresAquaSystemAppearance -bool Yes defaults write -g NSRequiresAquaSystemAppearance -bool No -------------------------------------------------------------- defaults write com.apple.Dock defaults write com.apple.dock "orientation" -string "bottom" && killall Dock -------------------------------------------------------------- sudo spctl –master-disable ### open from the unidentified developer
Setting-B
sudo xattr -d com.apple.quarantine ./FileName.dmg
SecureDrive
hdiutil create -encryption AES-256 -size 500m -fs exFAT -volname "SecureDrive" ~/SecureDrive.dmg hdiutil create -encryption AES-256 -size 500m -fs APFS -volname "SecureDrive" ~/SecureDrive.dmg hdiutil create -type SPARSEBUNDLE -encryption AES-256 -size 500m -fs APFS -volname "SecureDrive" ./SecureDrive.sparsebundle ------------------------------------------ hdiutil attach ./SecureDrive.dmg hdiutil detach /Volumes/SecureDrive hdiutil detach /Volumes/SecureDrive -force