Block IP on your server (using iptables)

October 1, 2014 Systems Administration 1 comment

Server Administration and Linux Tipps & Tricks

In this short tutorial you will learn how to block an IP using iptables on your server. (more…)

Custom bash commands (aliases)

September 30, 2014 Systems Administration No comments

Server Administration and Linux Tipps & Tricks

Did you know how simply you can create “custom commands” in Bash, by using alias?

In Bash, alias creates a custom command that executed your predefined code. This predefined code can be, for example, an ssh command specifying IP adress, port number, login name and private key path. Instead of typing the entire long command (with possibly looking for the IP address in your notes), you can create a simple alias.

Here is an example how an alias can be used in the scenario described above: (more…)