Sometimes it happen to have the need of check what’s inside a .tar.gz file archive or perhaps you just need to extract a couple of files from another archive, this is possible you just have to remember all the flags or simply extract all in /tmp and then discard the files that you don’t need. [...]
In a former article i’ve show how to use Screen and Byobu, in short Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells) while Byobu is an elegant enhancement of the otherwise functional, plain, practical GNU Screen. Byobu includes an enhanced profile and configuration utilities for the [...]
Alias are a great tool to help increment your productivity on the terminal with bash (or any shell program you’re using), but usually we are too lazy to think at what are the most common, or long commands that we use frequently and prepare an alias for them. And so someone has done a small [...]
The regular expression, or regexp, are the most powerful, versatile and hated tool used by programmers and system administrators. They allow to express with a few characters search for strings, characters or words, and if done well can lead to good results, but if they are wrong they can not give you any useful result, [...]
A topic that is not much know by many people that use bash on Linux it’s the use of the special parameters available in bash. These parameters may only be referenced; assignment to them is not allowed, i’m talking about the parameters like $$ or $?. Let’s see some example with them.