Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
alias cdlog='cd /var/log/application_log_directory/'
alias taillog='tail -F /var/log/application_log_directory/current.log /usr/tomcat/log/{catalina.out,localhost_access.log}'
qcat () { ## quiet-cat: removes commented-out lines
sed -e '/^\([ \t]*$\|[ \t]*#\)/d' ${1}
} -
ruhe9166yalias .='pwd'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias l='ls -lah'
alias please='sudo'
alias sido='sudo'
alias j='java -jar'
alias dockup='sudo docker-compose up -d' -
The only ones I actually use more than once a month are:
alias cls='clear'
alias wine32='WINEPREFIX=$HOME/.wine32 WINEARCH=win32' -
Danacus2396yA tp command to "teleport" into a commonly used directory. E.g. tp doc, tp dev, tp home.
s, syu, r for yay / pacman
py and depy for python venv
n for nnn (file manager)
nh for nnn with hidden files
c = code . (Open VS Code in the current directory)
i3c, polybarc, termitec, zshrc, ... for quickly editing dotfiles.
And a couple more I guess
Related Rants
What aliases do you use in terminal? 🙂
I made 'cdd' to 'cd ~/Desktop'
and 'cd..' to 'cd ..'
question
terminal
alias