TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What is your suggested bash shell aliases for Linux?

5 pointsby drac89over 11 years ago
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.<p>Thank You.

6 comments

eudoxover 11 years ago
I have a bunch of operating system and distro-sensitive aliases for installing, removing and upgrading software using whatever package manager the system has: <a href="https://github.com/eudoxia0/dotfiles/blob/master/home/.shell/sys.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eudoxia0&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;home&#x2F;.shell...</a>
ksatirliover 11 years ago
It really depends on what you&#x27;re looking for (more towards development or sys admin stuff?)<p>I started out with <a href="http://dotfiles.github.io/" rel="nofollow">http:&#x2F;&#x2F;dotfiles.github.io&#x2F;</a> and then populated a Git repo from there.<p>Personally, I have things that make it easy to apply patches, create diffs, change to frequently used dirs and the likes.
arxanasover 11 years ago
Personally, I use `.` as an alias for a very flagged `ls`, and `..` as an alias for `cd .. &amp;&amp; .`. It clobbers the existing `.` but it saves me a good bit of time navigating directories.
MrWobzover 11 years ago
rm as an alias for rm -i ;)
ewzimmover 11 years ago
alias please=&#x27;sudo $(history -p !!)&#x27;
评论 #6690551 未加载
laichzeit0over 11 years ago
v for vim<p>l for ls -ltr