How to connect to a Windows machine using RDP from a Linux machine using bash.

The rdesktop utility for Linux allows easy remote desktop access from a Linux machine. Type: sudo apt-get install rdesktop to install this useful utility and then type: rdesktop to connect to a remote machine. Specify the username with the -u parameter: rdesktop -u homer If you wish to use RDP in full-screen; enabling […]

Configuring private Internet access with OpenVPN on Linux Mint.

Private Internet Access with OpenVPN.

Some very useful networking tricks for Linux users.

Get your gateway IP address with curl on the command line. [homer@localhost ~]$ echo $(curl -# ######################################################################## 100.0% Another way to list the IP addresses of your network interfaces. Using the ip command. [homer@localhost ~]$ ip a | grep inet* inet scope host lo inet6 ::1/128 scope host inet brd […]

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. homer@deusexmachina ~ $ ss -l -t State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 1 *:* LISTEN 0 50 *:netbios-ssn *:* LISTEN 0 128 *:sunrpc *:* LISTEN 0 128 […]

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. homer@deusexmachina /etc/asterisk $ netstat -vatn Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0* LISTEN tcp 0 0* LISTEN tcp 0 0* LISTEN tcp 0 0 […]

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 echo -e “-*- \e[1mPrinting […]

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” […]

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. […]

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 […]

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 […]

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 […]

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. root@kali:~# wpscan –url –enumerate user Use this if you are a website […]

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] homer@deusexmachina ~ $ mtr –report Start: Mon Jul 28 07:42:16 2014 HOST: deusexmachina Loss% Snt Last Avg Best Wrst StDev 1.|– 0.0% 10 0.3 0.3 0.3 0.4 0.0 2.|– 0.0% 10 29.0 […]

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 […]

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]homer@deusexmachina ~ $ transmission-cli[]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) […]