This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
os:macos [2023/07/18 23:00] tomas |
os:macos [2023/10/25 15:16] tomas [Sit/network] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====MacOS===== | + | ===== MacOS ===== |
- | === Sluzby=== | + | ==== Sluzby==== |
launchctl list ... seznam slizem\\ | launchctl list ... seznam slizem\\ | ||
launchctl unload | launchctl unload | ||
- | === Balickovaci system === | + | ==== Balickovaci system |
brew install corkscrew | brew install corkscrew | ||
brew install htop # ==> https:// | brew install htop # ==> https:// | ||
Line 18: | Line 18: | ||
pkgutil --only-files --files net.pulsesecure.TnccPlugin.pkg ... seznam nainstalovaných souboru z balíčku\\ | pkgutil --only-files --files net.pulsesecure.TnccPlugin.pkg ... seznam nainstalovaných souboru z balíčku\\ | ||
- | === Sit/network === | + | ==== Sit/ |
[[https:// | [[https:// | ||
**stove karty**\\ | **stove karty**\\ | ||
ifconfig ... seznam síťových zařízení a ip adres\\ | ifconfig ... seznam síťových zařízení a ip adres\\ | ||
ifconfig lo0 10.0.0.1 alias ... pride dalsi alias (ip adresu)\\ | ifconfig lo0 10.0.0.1 alias ... pride dalsi alias (ip adresu)\\ | ||
+ | scutil --proxy ... ukáže nastavení proxy\\ | ||
**Routing**\\ | **Routing**\\ | ||
Line 51: | Line 52: | ||
discoveryutil udnsflushcaches\\ | discoveryutil udnsflushcaches\\ | ||
dscacheutil -flushcache\\ | dscacheutil -flushcache\\ | ||
+ | |||
+ | **Síťové profily** | ||
+ | networksetup -listlocations ... seznam profilů, tzv. lokací\\ | ||
+ | networksetup -getcurrentlocation ... ukáže aktuálmí profil\\ | ||
+ | networksetup -switchtolocation aaa ... přepne na profil aaa\\ | ||
== Microsoft Defender == | == Microsoft Defender == | ||
Line 57: | Line 63: | ||
==other== | ==other== | ||
csrutil status ... system integrity protection status\\ | csrutil status ... system integrity protection status\\ | ||
+ | |||
+ | ==== správa zařízení a disků ==== | ||
+ | system_profiler SPUSBDataType ... ukáže připojená USB zařízení\\ | ||
+ | system_profiler SPPCIDataType ... sezam PCI zařízení\\ | ||
+ | diskutil list ... seznam disků\\ | ||
+ | diskutil listFilesystems ... seznam file systémů\\ | ||
+ | ioreg -p IOUSB seznam USB\\ |