misc
This commit is contained in:
parent
456cac4131
commit
e0ca7629d7
@ -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
20
misc.aliases
Normal 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'
|
||||||
Loading…
Reference in New Issue
Block a user