Language Selection

English French German Italian Portuguese Spanish

8 More Bash Tips for Working Faster With the Shell

Filed under
HowTos

This is the second article in this series, and brings eight additional tips for working faster with the shell. Here is the first article of the series, containing 10 tips.
Create aliases for quick access to commands or one-liners

Aliases are handy custom commands which can be used to make shortcuts to various commands, scripts or one-liners. Aliases can be added in the ~/.bashrc file like this:

alias name='command'

Alternately, you can specify an external file and load it in .bashrc, like for example the default one, called .bash_aliases. Edit .bashrc and uncomment or add (if it doesn’t already exist) the following code:

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

http://www.tuxarena.com/?p=508

More in Tux Machines

Ubuntu Phone Users Will Have to Wait a Little Longer for the Fixes

We've been informed today, February 8, by Mr. Łukasz Zemczak of Canonical about the latest work done in preparation for the upcoming OTA software updates for Ubuntu Phone devices. Read more

Long Term Support vs Rolling Linux Release

Over the years, I've had the opportunity to try a lot of different Linux releases. As the time passed, I found myself gravitating more toward the Ubuntu-based Long Term Release model. Obviously there are advantages and disadvantages to using an LTS distro release. That said, when it comes to current software packages, control and speed – rolling releases are a solid option. Good options include Antergos, PCLinuxOS, Linux Mint Debian Edition, among others. In this article, I'll offer a candid view between the two options by examining the core differences between running a rolling release and using an LTS type release distribution. Read more

Ethereum Integrates with Ubuntu Phones