News for hackers. Stuff that matters.
Re:Ask HN: What is your suggested bash shell aliases for Linux? by eudox on Thursday November 07, 2013 @09:38AM (#6689502)
I 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...
Re:Ask HN: What is your suggested bash shell aliases for Linux? by ksatirli on Thursday November 07, 2013 @07:07AM (#6688902)
It really depends on what you're looking for (more towards development or sys admin stuff?)

I started out with 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.

Re:Ask HN: What is your suggested bash shell aliases for Linux? by arxanas on Friday November 08, 2013 @06:55AM (#6695602)
Personally, 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.
Re:Ask HN: What is your suggested bash shell aliases for Linux? by MrWobz on Friday November 08, 2013 @08:25AM (#6695865)
rm as an alias for rm -i ;)
Re:Ask HN: What is your suggested bash shell aliases for Linux? by ewzimm on Thursday November 07, 2013 @10:37AM (#6689907)
alias please='sudo $(history -p !!)'
Re:Ask HN: What is your suggested bash shell aliases for Linux? by laxk on Thursday November 07, 2013 @12:07PM (#6690551)
you can use: sudo !!
Re:Ask HN: What is your suggested bash shell aliases for Linux? by ewzimm on Thursday November 07, 2013 @02:43PM (#6691910)
Well yes, that's just expanded in the alias. I just find please more polite.
Re:Ask HN: What is your suggested bash shell aliases for Linux? by laichzeit0 on Thursday November 07, 2013 @07:23AM (#6688950)
v for vim

l for ls -ltr