config/shell/functions: add journalctl aliases

This commit is contained in:
xerus2000 2021-01-18 20:57:59 +01:00
parent 7a5df5ab73
commit 758d0542b0
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ alias sc='sudo systemctl'
alias scu='systemctl --user'
alias scrw='sudo systemctl restart display-manager'
alias jcl='sudo SYSTEMD_LESS=FRKi journalctl --boot --no-hostname -e'
alias jc='jcl -u'
alias jcj='jcl -o json-pretty -u'
alias grp='grep --line-number --ignore-case --binary-files=without-match --directories=skip'
alias grpr='grp --recursive'
# Use grep and sed to replace $1 with $2 recursively