閱讀575 返回首頁    go iPhone_iPad_Mac_apple


How can I limit Terminal output?

I've been using Terminal, more specifically the command

log show --style syslog | fgrep "Wake reason"        to show what is waking my iMac? (I've already looked at a lot of similar problems online and learnt how to use Terminal to see what is causing the problem but as yet haven't been able to cure it but it is better than it was. I may post another question at a later date when I've researched enough and narrowed it down more). 

 

My actual question here is how can I limit what Terminal log shows to the past, say three days? At the moment it includes the whole log from when I first installed the OS. (in this case 19th Sept)  

This is my first question here, so I hope I've included the right information for help.  Thankyou.



最後更新:2017-10-16 04:20:11

  上一篇:go all of a sudden i no longer have audio when I s...
  下一篇:go Mac mail Receives but Does Not Send