2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/grc.conf

290 lines
3.7 KiB
Plaintext

# anything to do with irc
\b\w+\b.*irc.*
conf.irclog
# log file
\b\w+\b.*log\b
conf.log
# configure command
(^|[/\w\.]+/)?configure
conf.configure
# ping command
(^|[/\w\.]+/)(io|o|n|h|arp|l2)?ping[236]?\s?
conf.ping
# traceroute command
(^|[/\w\.]+/)traceroute6?\s?
conf.traceroute
# gcc command
(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
conf.gcc
# make command
(^|[/\w\.]+/)g?make\s?
conf.gcc
# netstat command
(^|[/\w\.]+/)netstat\s?
conf.netstat
# stat command
(^|[/\w\.]+/)stat\s?
conf.stat
# ss command
(^|[/\w\.]+/)ss\s?
conf.ss
# diff command
(^|[/\w\.]+/)diff\s?
conf.diff
# wdiff command
(^|[/\w\.]+/)wdiff\s?
conf.wdiff
# last/who command
(^|[/\w\.]+/)(lastb?|who|lastlog)\b
conf.last
# ldap tools
(^|[/\w\.]+/)ldap
conf.ldap
# cvs command
(^|[/\w\.]+/)cvs\s?
conf.cvs
# mount command
(^|[/\w\.]+/)mount\s?
conf.mount
# findmnt command
(^|[/\w\.]+/)findmnt\s?
conf.findmnt
# mtr command
(^|[/\w\.]+/)mtr\s?
conf.mtr
# ps command
(^|[/\w\.]+/)ps\s?
conf.ps
# dig command
(^|[/\w\.]+/)dig\s?
conf.dig
# ifconfig command
(^|[/\w\.]+/)ifconfig\s?
conf.ifconfig
# ls command
(^|[/\w\.]+/)ls\s
conf.ls
# mount
(^|[/\w\.]+/)mount\s?
conf.mount
# df
(^|[/\w\.]+/)df\s?
conf.df
# du
(^|[/\w\.]+/)du\s?
conf.du
# ip addr/link
(^|[/\w\.]+/)ip a(ddr)*\s?
conf.ipaddr
(^|[/\w\.]+/)ip ?(-.)* ?l(ink)*\s?
conf.ipaddr
# ip route
(^|[/\w\.]+/)ip r(oute)*\s?
conf.iproute
# ip neighbor
(^|[/\w\.]+/)ip n(eighbor)*\s?
conf.ipneighbor
# ip command - rest of commands
(^|[/\w\.]+/)ip\s?
conf.ip
# env
(^|[/\w\.]+/)env\s?
conf.env
# systemctl show
(^|[/\w\.]+/)systemctl show\s?
conf.env
# iptables
(^|[/\w\.]+/)iptables\s?
conf.iptables
# lspci
(^|[/\w\.]+/)lspci\s?
conf.lspci
# lsblk
(^|[/\w\.]+/)lsblk\s?
conf.lsblk
# lsof
(^|[/\w\.]+/)lsof\s?
conf.lsof
# blkid
(^|[/\w\.]+/)blkid\s?
conf.blkid
# id
(^|[/\w\.]+/)id\s?
conf.id
# iostat / sar
(^|[/\w\.]+/)(iostat|sar)\s?
conf.iostat_sar
# fdisk
(^|[/\w\.]+/)fdisk -l\s?
conf.fdisk
# free
(^|[/\w\.]+/)free\s?
conf.free
# findmnt
(^|[/\w\.]+/)findmnt\s?
conf.findmnt
------------
# docker
# docker ps
(^|[/\w\.]+/)docker(-compose)? ps\s?
conf.dockerps
(^|[/\w\.]+/)docker images\s?
conf.dockerimages
(^|[/\w\.]+/)docker search\s?
conf.dockersearch
#(^|[/\w\.]+/)docker pull\s?
#conf.dockerpull
(^|[/\w\.]+/)docker-machine ls\s?
conf.docker-machinels
(^|[/\w\.]+/)docker network ls\s?
conf.dockernetwork
(^|[/\w\.]+/)docker info\s?
conf.dockerinfo
(^|[/\w\.]+/)docker version\s?
conf.dockerversion
------------
# journalctl command
(^|[/\w\.]+/)journalctl\s?
conf.log
# systemctl command
(^|[/\w\.]+/)systemctl\s?
conf.systemctl
# sysctl command
(^|[/\w\.]+/)sysctl\s?
conf.sysctl
# tcpdump command
(^|[/\w\.]+/)tcpdump\s?
conf.tcpdump
# tune2fs command
(^|[/\w\.]+/)tune2fs\s?
conf.tune2fs
# lsmod
(^|[/\w\.]+/)lsmod\s?
conf.lsmod
# lsattr
(^|[/\w\.]+/)lsattr\s?
conf.lsattr
# semanage ---------------------------------
(^|[/\w\.]+/)semanage boolean\s?
conf.semanageboolean
(^|[/\w\.]+/)semanage fcontext\s?
conf.semanagefcontext
(^|[/\w\.]+/)semanage (user|login|port)\s?
conf.semanageuser
# getsebool
(^|[/\w\.]+/)getsebool\s?
conf.getsebool
# ulimit
(^|[/\w\.]+/)ulimit\s?
conf.ulimit
# vmstat
(^|[/\w\.]+/)vmstat\s?
conf.vmstat
# dnf
(^|[/\w\.]+/)dnf\s?
conf.dnf
# nmap
(^|[/\w\.]+/)nmap\s?
conf.nmap
# uptime | w
(^|[/\w\.]+/)(uptime|w)\b
conf.uptime
# getfacl
(^|[/\w\.]+/)getfacl\s?
conf.getfacl
# ntpdate
(^|[/\w\.]+/)ntpdate\s?
conf.ntpdate
# showmount
(^|[/\w\.]+/)showmount\s?
conf.showmount
# apache ant command
(^|[/\w\.]+/)ant\s?
conf.ant
# # apache maven command
(^|[/\w\.]+/)mvn\s?
conf.mvn
# iwconfig command
(^|[/\w\.]+/)iwconfig\s?
conf.iwconfig
# lolcat command
(^|[/\w\.]+/)lolcat\s?
conf.lolcat
# whois
(^|[/\w\.]+/)whois\s?
conf.whois