Some very useful networking tricks for Linux/UNIX users.

Get your gateway IP address with curl on the command line. [[email protected] ~]$ echo $(curl -# http://ipecho.net/plain) ######################################################################## 100.0% 153.107.97.164 Another way to list the IP addresses of your network interfaces. Using the ip command. [[email protected] ~]$ ip a | grep inet* inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host inet 192.168.233.138/24 brd 192.168.233.255 […]


Read more...

The ss command. A very useful way to find open and listening ports on a Linux system.

The ss command for Linux allows a user to list all listening ports on a Linux system. This command lists all listening TCP ports. [email protected] ~ $ ss -l -t State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 1 127.0.0.1:4101 *:* LISTEN 0 50 *:netbios-ssn *:* LISTEN 0 128 *:sunrpc *:* LISTEN 0 128 […]


Read more...

Useful networking commands for listing open ports and listening services.

To print a list of all open ports and established TCP connections, type this command. [email protected] /etc/asterisk $ netstat -vatn Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:4101 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 […]


Read more...

A useful script for gaining information about your Ethernet adapter.

This useful shell script will print information about your Ethernet or Wireless adapter. This is very useful for getting a lot of information at once. #!/bin/sh   DEV="eno16777736"   echo "Showing information for the active network interface: $DEV."   echo -e "-*- \e[1mGet timestamping information for your Ethernet device.\e[0m -*-" echo   ethtool -T $DEV […]


Read more...

Australian government considering draconian anti-terrorism data retention laws.

The Australian government is planning to bring in tough new laws to combat home-grown terrorism. This involves Internet Service providers being forced to hold customer data for two years. Prime Minister Tony Abbots new National Security Committee has signed off on the roll-out of controversial mandatory data retention laws which spy agencies claim are “critical” […]


Read more...

How to open an RDP connection to Windows from Linux using the remote desktop utility for Gnome.

Opening a Remote Desktop connection from Linux to Windows is very easy when you are using the Remote Desktop utility for the Gnome 3 desktop. This is a very easy RDP application for Linux. Below I am entering the details for a new connection. Just go to Applications->Internet-Remote Desktop Viewer to open this useful utility. […]


Read more...

Plan9 from Bell labs. The alternative UNIX like OS that is a good way to learn about an OS.

The plan9 operating system from Bell labs is a UNIX like OS that is a fun way to learn about operating systems. The installation when using the text based installer is quite counter-intuitive but this is a good learning experience. There are amd64 packages available to install your system, I had problems when installing this […]


Read more...

Ubuntu installation and setup for beginners. This video and some tips will help you out.

Ubuntu installation is very easy, this video will help out those who are installing Ubuntu for the first time. After installation; re-boot into your new Ubuntu Linux desktop and open the terminal. Those of you using Unity may use the Ctrl-Alt-t keyboard shortcut to open the terminal window. Then type this command to update all […]


Read more...

Amazon web services. The perfect alternative to a locally hosted server solution.

Amazon Web Services is the perfect solution for hosting a server outside your organization. This allows you to create a cloud hosted database server that takes the strain off your local server infrastructure using Microsoft SQL server 2012 or a Linux based solution in a cloud hosted server instance. There is a free trial that […]


Read more...

How to list users on a WordPress website with the Kali Linux distribution and wpscan.

Kali Linux has available to it a Ruby script that may be used to list all users on a WordPress website. Use the command below to scan a website for security vulnerabilties and see if there are any problems with the website. [email protected]:~# wpscan –url mywordpresssite.com –enumerate user Use this if you are a website […]


Read more...

The mtr command for Linux. Another way to trace network hops using the command line.

The mtr command for Linux is another good way to trace network hops. Use it like this: mtr –report [HOST] [email protected] ~ $ mtr –report yahoo.com Start: Mon Jul 28 07:42:16 2014 HOST: deusexmachina Loss% Snt Last Avg Best Wrst StDev 1.|– 192.168.100.1 0.0% 10 0.3 0.3 0.3 0.4 0.0 2.|– 185.3.148.122.network.m2c 0.0% 10 29.0 […]


Read more...

Hard drive technology from the early days to the latest super capacity drives.

The hard disk drive has come a long way since the first one I used, a 10 megabyte capacity beast. In 1979, you would have paid US$5,350,00 for an external hard drive housing that could store 10 megabytes of data. That would have been a luxury item back then. Another thing that I remember was […]


Read more...

Downloading a torrent file using the transmission-cli utility over SSH.

The transmission-cli command allows a user to download a torrent file or magnet link using the command line. This is good for downloading a torrent on your home machine over SSH. Type sudo apt-get install transmission-cli to install this useful addon to Transmission. [1][email protected] ~ $ transmission-cli http://torcache.net/torrent/B798B2EFF12458D23B53E2110E861411DB44517A.torrent?title=[kickass.to]dawn.of.the.planet.of.the.apes.2014.untouched.hindi.dubbed.scamrip.sumoman transmission-cli 2.81 (14128) [15:32:18.495] Transmission 2.81 (14128) […]


Read more...

A good guide to creating SSH keys and disabling the password for an SSH login.

This guide I just used used allows a Linux user to disable the password and enable SSH keys to manage logins to an SSH server. http://lani78.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/. This is very useful, you can access your machine remotely and without requiring the user to remember a complex password. if you are on Windows, the Bitvise SSH client […]


Read more...

How to bypass Internet censorship in a repressive regime. A useful PDF file.

A very useful PDF file with information about bypassing Internet censorship in a repressive regime. Countries like China and Iran have restricted Internet and this necessitates a method of bypassing this restriction on free speech and enabling unrestricted Internet access to allow the user to upload photos and video of government abuses. Source: http://www.nartv.org/mirror/circ_guide.pdf.


Read more...

Get information about your network interface with Linux.

Linux has quite a few commands for finding out information about your network adapters. Below is an example. Using the ethtool command as root. [email protected] ~ $ sudo ethtool eth2 [sudo] password for homer: Settings for eth2: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: No […]


Read more...

Strange object photographed in the Martian sky. Is this a UFO?

This is a strange object photographed in the Martian sky. Could this be a photographic anomaly or is it an Unidentified Flying Object. Someone might know what this is but I am not sure. Make up your own mind about this strange object. The high resolution version of this image was here; but now it […]


Read more...

Ubuntu 14.10 Utopic review.


Read more...

How to use SFTP on Linux and copy files easily.


Read more...

How to take a screenshot of a Linux desktop over SSH.

To take a screenshot of a Linux desktop over SSH; firstly you must set the DISPLAY environment variable. [email protected] ~ $ export DISPLAY=:0 Then use scrot to capture a screenshot of the desktop to a file. [email protected] ~ $ scrot :0 my.jpeg Since I am using my Windows Server 2012 laptop to connect to my […]


Read more...