When spending most of your day around bash shell it is not uncommon to waste time typing the same commands over and over again. This is pretty close to the definition of insanity.
Luckily bash gives us several ways to avoid repetition and increase productivity.
Today we will explore the tools we can leverage to optimize what I love to call shell time.
Bash aliases are one of the methods to define custom or override default commands.
You can consider an alias as a shortcut to your desired command with options included.
Many popular Linux distributions come with a set of predefined aliases.
Lets see the default aliases of Ubuntu 20.04 to do so simply type alias and press ENTER.
By simply issuing the command l behind the scenes bash will execute ls -CF.
It8217s as simple as that.
Read Full Post
News Link: https://www.linuxjournal.com/content/boost-productivity-bash-tips-and-tricks.
Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!
Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.
Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.