Monitor Network traffic & Live up/down speed in linux terminal with vnstat

Leave a Comment
vnstat is a command line based network traffic monitor. It keeps track of network traffic for different network interfaces. It always runs in the background to do so. It can also show current/live Internet  download/upload speed.

Install vnstat

Open up your terminal (ctrl+alt+t) and enter
(for Ubuntu/Debian/Linux Mint)
sudo apt-get install vnstat

Read More

Make a simple basic Keylogger in Python for Linux

Leave a Comment

Keylogger is a program used to monitor keystrokes. the keystrokes are stored in a file somewhere.
Lets say you want to see what other people were doing on your computer, when you were away. you can just start the keylogger and spy on them!

A Keylogger can be used by a hacker to record sensitive information like usernames, password or credit card detail etc.

NOTE: This piece of code should not be used for unethical means. if you do so you are on your own risk.

I have written a very simple keylogger in python using pyxhook module which is an implementation of  pyhook module (for Windows OS).

Let's first see how to run the keylogger and after that we will understand how it is written.
Read More

Useful Apt-Get and Apt-Cache commands for Ubuntu/Debian/Linux Mint

Leave a Comment
apt-get is a  package management command line tool. It is used to download, install & remove and update software packages that are on online repositories. On the other hand apt-cache is used to to search and get information about the packages available in the repository.

Read More

How to install and use Tkinter in ubuntu / Debian / Linux mint

Leave a Comment
Tkinter is a GUI module for python. you can use it to make GUI based applications in python. Tkinter provides several GUI widgets like buttons,menu, canvas,text,frame,label etc. to develop desktop applications.Though Tkinter is very popular and is included with windows, macosx install of python, There are also alternative choices like pyQt, wxPython...

Read More

How to Auto Indent a Program: Vim Tips & Tricks

Leave a Comment
In this tutorial we will see automatic vim editor indentation tips and more. Indentation makes a program readable as well as neat and organised. In python programming language indentation is used instead of curly braces or keywords which make code neat and concise. follow this tutorial and your coding life will become a little easier :)

Note: If you haven't used vim before then see some vim basics HERE

Automatically Indent a whole program!

Let's say you made a 100 line code but didn't care to indent it. Here is how to do it in a very simple way.
Read More
Previous PostOlder Posts Home
Powered by Blogger.