Skip to content

Instantly share code, notes, and snippets.

@ntulip
Created March 21, 2013 18:31
Show Gist options
  • Save ntulip/5215458 to your computer and use it in GitHub Desktop.
Save ntulip/5215458 to your computer and use it in GitHub Desktop.

Revisions

  1. ntulip revised this gist Mar 21, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions logs.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    # http://ubuntuforums.org/showthread.php?t=2035442&s=2fd15b2a74f9f2ca29acab1ce5933614&p=12140524#post12140524
    sudo grep 'warning\|oops\|segfault\|error' -iHnr /var/log/dmesg /var/log/syslog /var/log/kern.log /var/log/Xorg.0.log $HOME/.xsession-errors > $HOME/mylog.txt && nano $HOME/mylog.txt
  2. ntulip created this gist Mar 21, 2013.
    1 change: 1 addition & 0 deletions logs.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sudo grep 'warning\|oops\|segfault\|error' -iHnr /var/log/dmesg /var/log/syslog /var/log/kern.log /var/log/Xorg.0.log $HOME/.xsession-errors > $HOME/mylog.txt && nano $HOME/mylog.txt