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 […]
Guide to regular expressions with examples
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, […]
Bash, special parameters by examples
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.
Be nice with your process on Linux
On Linux there is a way to set/change the priority of processes, the user can act to give greater or lesser priority to its own processes. For example you are running a backup with rsync or doing a tar, but you do not want these processes use all your CPU, in these cases you can […]
chage : control your users “age” on Linux
If you think that the operations about users are only: creation, deletion and change of the passwords you are in error, in the standard GNU/Linux system about authentication and authorization of users there are some interesting flags regarding the age of an account. These parameters are usually ignored, but can be very useful in particular […]