5 ms·
Ask HN: What is your suggested bash shell aliases for Linux?
I was looking around for some useful bash shell aliases for Linux and thought that best place to ask this kind of question is HN.
Thank You.
- ksatirli 13y agoIt really depends on what you're looking for (more towards development or sys admin stuff?) I started out with http://dotfiles.github.io/ http://dotfiles.github.io/ and then populated a Git repo from there. Personally, I have things that make it easy to apply patches, create diffs, change to frequently used dirs and the likes.
- laichzeit0 13y agov for vim l for ls -ltr
- eudox 13y agoI have a bunch of operating system and distro-sensitive aliases for installing, removing and upgrading software using whatever package manager the system has: https://github.com/eudoxia0/dotfiles/blob/master/home/.shell/sys.sh https://github.com/eudoxia0/dotfiles/blob/master/home/.shell...
- ewzimm 13y agoalias please='sudo $(history -p !!)'
- arxanas 13y agoPersonally, I use `.` as an alias for a very flagged `ls`, and `..` as an alias for `cd .. && .`. It clobbers the existing `.` but it saves me a good bit of time navigating directories.
- MrWobz 13y agorm as an alias for rm -i ;)