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.
Here are 10 Bash tips which should make working in a terminal faster and more productive.
This is a guide containing the most popular and useful ways of using the APT and DPKG commands, and it applies to both Ubuntu and Debian (and their derivatives). I mentioned where super user privileges are required, the ones without a mention can be executed as normal user.
When trying to compile something from source in Linux, there may be lots of dependencies missing. Running the ./configure command will only tell you one missing dependency. Then you must run ./configure again, install another missing dependency, run it again and so on.
1. Use !!
Typing !! followed by Enter will bring back and execute the last command (same as Ctrl+P followed by Enter).
2. Use Emacs-like shortcuts
XChat is a GTK client for IRC, available on both Linux and Windows. It is one of the most popular and feature-rich IRC clients on the Linux platform, together with Konversation and KVirc.
Normally you know which version of a given distro you are running if you are on your machine, but what if you are on a rented server, or a friend's machine.
If you want to know which version of Debian or Ubuntu you are running, you can always check the /etc/apt/sources.list there you will see the version you are running but a better way is to run this on a terminal:
Firefox is the most popular application for viewing web pages on Linux, being the browser of choice for over 70% of the Linux users. In this article I will explain 5 of the most useful and used tips in Firefox, together with screenshots where I considered necessary.