User Tools

Site Tools


bash:aliases:my_aliases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
bash:aliases:my_aliases [2022/09/18 12:28] peterbash:aliases:my_aliases [2022/09/19 11:45] (current) peter
Line 274: Line 274:
 # alias syslog='sudo tail -10f /var/log/syslog'  # Follow syslog. # alias syslog='sudo tail -10f /var/log/syslog'  # Follow syslog.
 # alias messages='sudo tail -10f /var/log/messages'  # Follow messages. # alias messages='sudo tail -10f /var/log/messages'  # Follow messages.
- 
  
 alias dmesg='dmesg -T'                           # Make log times human readable. alias dmesg='dmesg -T'                           # Make log times human readable.
Line 495: Line 494:
 # Count lines of C or C++ or Obj-C or Java or PHP code under the current directory. # Count lines of C or C++ or Obj-C or Java or PHP code under the current directory.
 alias countcode='find . \( -name "*.c" -or -name "*.cpp" -or -name "*.h" -or -name "*.m" -or -name "*.java" -or -name "*.php" \) -print0 | xargs -0 wc' alias countcode='find . \( -name "*.c" -or -name "*.cpp" -or -name "*.h" -or -name "*.m" -or -name "*.java" -or -name "*.php" \) -print0 | xargs -0 wc'
 +
 +
 +alias gcc='gcc -std=c99' 
 +alias g++='g++ -std=c++2a'
  
  
bash/aliases/my_aliases.1663504127.txt.gz · Last modified: 2022/09/18 12:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki