peter9477

Untitled

Jul 24th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. # Handy things to use slog2 better on BB10
  2.  
  3. mkdir ~/bin
  4. cat > ~/bin/slog
  5. slog2info -w | sed -re '/default      0 /d;s/^.{7}(\S+) ([^.]+\.[^.]+\.[^.]+)\.\S+\s+(\S+)\s+(.*)/\1 \2 \3 \4/'
  6.  
  7. chmod +x ~/bin/slog
  8. cat > ~/.profile
  9. export PATH=$PATH:~/bin
Advertisement
Add Comment
Please, Sign In to add comment