modem

Knowing the number of connections per IP address with netstat

Here is a command to know the number of connections per IP address on a Linux machine. It is based on netstat and can provide results for inbound and outbound connections. I advise you to run as root to obtain a more precise result.

Read more
mail

Extract email addresses from a webpage

Here’s a little trick that allows you to retrieve all email addresses from a webpage in a single command line in Linux. You should change the website address before running the command: wget -q -O – http://website.tld | grep -oe ‘\w*.\w*@\w*.\w*.\w\+’ | sort -u Example of use with this page: wget -q -O – http://website.tld/page2 [...]

Read more
session-switch

Reset a terminal in Linux

You probably already happened, as a result of any command, to have completely unreadable characters in your terminal, forcing you to close it and open another.

Read more
sun-server

Find out if the server is a virtual machine or not

Here is a command that lets you know if it is on a virtual machine or physical. This is based on the dmidecode utility that can retrieve information about your computer hardware collecting them from the BIOS.

Read more
linux-keys

Xdotool: simulating keyboard and mouse on Linux

Xdotool is a program that can simulate keyboard and mouse events. It can be used to establish real “scenarios” action replay. Unlike randtype seen recently xdotool not confined to the terminal. It is also able to manipulate the windows of your graphical environment.

Read more
touchpad

Easily disable the touchpad on Ubuntu

Touchpad Indicator is a small applet developed by Lorenzo Carbonell, which allows you to turn easily on your laptop touchpad. Especially if it bothers you when you type and you already have a mouse connected.

Read more
opensshpufferfish

How to Block SSH Brute Force Attacks

If you have a server with a world facing ssh server, you’ve probably seen brute force attacks in your logs. Some machine starts hammering your ssh server, trying all sorts of logins (staff, root, a, admin, etc…) over and over and over again.

Read more
goaccess

Apache Statistics with GoAccess

After seeing the operation of apachetop, I suggest you look now at another program in the same category. GoAccess, a utility analysis of log real-time web servers as well.

Read more
top

Live Apache Statistics with apachetop

Apachetop is a small utility that lets you view real-time queries performed on an Apache web server. Its operation is very similar to top command, found on Linux.

Read more
112 queries in 0.986 seconds.