How Can We Help?
Linux useful shortcuts
Edit ~/.bashrc and add the following lines at the end of the file:
alias ls='ls -lah1 --color' #LS colored, show hidden, 1 line per file, file size in Ks
alias du='du -hs' #Disk Usage in Ks
alias rmx='rm -R -f' #Remove directory folders recursive and forcing delete read-only files
alias aptx='sudo apt-get -y install' #Apt-get install with Yes to all
alias grepx='grep --color=auto -iRI' #grep colored, ignore case, recursive
alias nanox='sudo nano' #nano with sudo
alias servx='sudo systemctl' #sudo systemctl shortcut
alias clearx='history -c' #clear Bash history
alias journal='journalctl -b 0 --no-pager' #journalctl to check last entries
alias distro='lsb_release -a' #Display Linux Distro name/version
alias reload='. ~/.bashrc' #reload Bash with new .bashrc entries
alias reboot='sudo reboot' #reboot shortcut