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

KWayland Server Component Coming For KDE Plasma 5.2

KWayland was introduced last month with the KDE Plasma 5.1 release but it lacked the server-side code. With the upcoming release of Plasma 5.2, that will change with the server component to KWayland having been merged. Readreactor'smore

Where is M13? Review – A Simple and Powerful Galactic Atlas

Where is M13? is a planetarium application that allows users to view details about distant objects in the sky, covering a very large number of items ranging from stars to other galaxies. There are not many apps that can do this, so most of the shortcomings could be forgotten. Read more

Raspberry Pi and Coder by Google for beginners and kids

Coder is a fantastic resource for learning programming. It simplifies the process of getting started, requires very inexpensive components, and provides fun and engaging activities. If you are planning on gettting a Raspberry Pi for the holidays, (or already have one), Coder is a great addition to get extra fun and learning from that little board. Read more

‘Where is the nearest?’: Spain shares code for web map-tool

The government of Spain is making available as open source the code for Ciudadania Europea, a web site that pointed citizens to the nearest embassies and consular services in European countries. That service was closed this summer, but the code is now freely available for other similar projects. Read more