dante12

sysinfo

Jun 3rd, 2016
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. echo 'Erstelle Datei Syslist.txt auf den Desktop'
  4. :> ~/Desktop/syslist.txt
  5. cd ~/Desktop
  6. p="syslist.txt"
  7. echo Systemlog > $p
  8. echo '--------' >> $p
  9. sw_vers >> $p; date | cut -c 1-20 >> $p;echo "" >> $p
  10.  
  11. echo '== Show all thirdparty kernel extensions ==' >> $p
  12. echo '-------------------------------------------' >> $p
  13. kextstat -kl | awk '!/com\.apple/ {print $6 $7}' >> $p
  14. echo "" >> $p
  15.  
  16. echo '== Show all thirdparty launch services USER ==' >> $p
  17. echo '----------------------------------------------' >> $p
  18. launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}' >> $p
  19. echo "" >> $p
  20.  
  21. echo '== Show all thirdparty launch services ROOT ==' >> $p
  22. echo '----------------------------------------------' >> $p
  23. sudo launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}' >> $p
  24. echo "" >> $p
  25.  
  26. echo '== Show all thirdparty packages ==' >> $p
  27. echo '----------------------------------' >> $p
  28. sudo pkgutil --pkgs | grep -v com.apple >> $p
  29. echo "" >> $p
  30.  
  31. echo '== Show all extensions in the library folders ==' >> $p
  32. echo '------------------------------------------------' >> $p
  33. ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null >> $p
  34. echo "" >> $p
  35.  
  36. echo '== Show all login items ==' >> $p
  37. echo '--------------------------' >> $p
  38. osascript -e 'tell application "System Events" to get the name of every login item' >> $p
  39.  
  40. open -e $p
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×