Home » Linux » Unix

Install nfdump and nfsen netflow tools in Linux

Monitoring (featured logo)

Using nfsen it is possible to view IP traffic statistics on Linux interfaces including the graphs showing data sent and received (see the screenshot to the right) as well as historical information about all data transfers. So after you’ve configured nfsen and nfdump to monitor traffic on certain Linux server or router you’ll be able to answer the following example questions: What IP was downloading data through 48161 last Wednesday? or How many bytes were sent to IP 8.8.8.8 via 53 port from Linux server? … Read more

Home » Linux » Unix

Best of Linux Cheat Sheets

Below list of Linux cheat sheets can be used by everybody who administer Linux operating system including beginners/newbies and bearded gurus. PDF | Command Line Interface (CLI), Security, Networking Unix/Linux Command Reference by fosswire.com THE ONE PAGE LINUX MANUAL (A summary of useful Linux commands) LINUX System Call Quick Reference LINUX Admin Quick Reference Linux quick reference card Linux Shell quick reference guide Linux Security Quick Reference Guide tcpdump cheat sheet Wireshark display filters Netcat cheat sheet HTML | CLI, Gnome/KDE DOS to Linux cheatsheet … Read more

Home » Linux » Unix

FAQ: How to scrollback in GNU SCREEN?

Q: I was compiling kernel using GNU Screen utility but something happened during the compilation and I want to see full error’s output but I can’t just scrollback using Ctrl+PageUp. How to scrollback in GNU Screen? A: In GNU Screen press Ctrl + a + [ to enter Copy Mode, then scroll up/down using keys j or k. Below are some other navigation keys: h – Move the cursor left by one character j – Move the cursor down by one line k – Move … Read more

Home » Linux » Unix

Find out where Unix/Linux executable binary is located

There are two commands that may help you to find where executable binary is located regardless it’s Unix or Linux system. They are whereis and type. First locates source/binary and manuals sections for specified files and second tells what exactly shell executes when you type a certain command. The next picture shows examples of these commands work.

Home » Linux » Unix

Move linux to another hard drive (dump, restore, backup)

There are several methods to move running Linux to another hard drive at the same server. But I used Unix dump/restore utility to perform this… First of all it’s necessary to partition new hard drive in the same way as it’s done with old drive (Linux is running at). I usually use ‘fdisk’ utility. Let’s assume that old drive is /dev/hda and new one is /dev/hdb. To view hda’s partition table please run ‘fdisk -l /dev/hda’ which should show something like this: Disk /dev/hda: 60.0 … Read more