This commit is contained in:
deathbybandaid 2022-02-01 14:15:49 -05:00
parent 456cac4131
commit e0ca7629d7
2 changed files with 20 additions and 6 deletions

View File

@ -1,6 +0,0 @@
# view last 100 entries for service in journalctl
jctl ()
{
journalctl -u $1.service -n 100
}
alias jctlerr='journalctl -p 3 -xb'

20
misc.aliases Normal file
View File

@ -0,0 +1,20 @@
# view last 100 entries for service in journalctl
jctl ()
{
journalctl -u $1.service -n 100
}
alias jctlerr='journalctl -p 3 -xb'
# Clear screen and show neofetch
alias neo='clear && neofetch'
# Find Pids of process
alias pidfind='ps auxww | grep'
# Get Public IP
alias extip='curl icanhazip.com'
# Show resource hogs
alias mem5='ps auxf | sort -nr -k 4 | head -5'
alias cpu5='ps auxf | sort -nr -k 3 | head -5'