Another way to print your IP address in Linux. This is a very useful one liner.

This simple one liner will print out your IP address and then IPv6 equivalent if you have it set. [homer@localhost ~]$ ifconfig enp6s1 | awk ‘/inet/ { print $2 } ‘ | sed -e s/addr:// 192.168.1.2 fe80::213:46ff:fe3a:283 Here is a way to only print the IPv4 address. [homer@localhost ~]$ ifconfig enp6s1 | awk ‘/inet / […]

Click post title to read more...

Using iptables on a Linux system to secure your computer against Internet threats. This is important.

securing your Linux computer with iptables is a great way to make sure that you are safer from Internet attacks. The iptables(8) system is the built in firewall for a Linux system. This makes it very easy to secure your computer. Before you change any settings, backup your iptables configuration. iptables-save > backup.conf if the […]

Click post title to read more...

Linux commands to find out hardware information.

Linux hardware information commands. There are many commands available for Linux that allow the user to get information about their hardware. Here is a handful of them. The lshw command. deusexmachina description: Notebook product: eME730 (Calpella_CRB) vendor: eMachines version: V1.15 serial: LXN98020810441E9781601 width: 64 bits capabilities: smbios-2.6 dmi-2.6 vsyscall32 configuration: boot=normal chassis=notebook family=Intel_Mobile sku=Calpella_CRB uuid=40198687-F9A4-2099-05F2-88AE1D6D09BC […]

Click post title to read more...

Installing Hesk on a Linux Apache server.

Installing Hesk on a Debian Linux server is very easy. This allows you to deploy a simple Linux powered web helpdesk. Download the Hesk software here: http://www.hesk.com/download.php. The Hesk software was downloaded and then unpacked into the /var/www directory. sudo unzip hesk253.zip -d /var/www This was then set to the proper permissions using this command. […]

Click post title to read more...

How to disable the caps lock key permanently on Linux Mint and Ubuntu.

The caps lock key on Linux is very annoying when hit accidentally. Especially when you are typing a password. This simple command will disable the key permanently. homer@deusexmachina ~ $ setxkbmap -option ctrl:nocaps If you put this in Startup Applications which may be found under System-Preferences-Startup Applications, the caps lock key will be disabled when […]

Click post title to read more...

How to convert an IP address to binary. This is very easy with this command.

This simple one-liner allows conversion of an IP address from decimal to binary. I came up with this after playing around with cut and grep. homer@deusexmachina ~/Documents $ ipcalc 172.18.31.2 | grep Address | cut -b 33-68 10101100.00010010.00011111. 00000010 The -b parameter to cut will only show certain bytes in the output of a command. […]

Click post title to read more...

Ubuntu 12.04 LTS beats Windows and Macintosh as a secure operating system. This is not surprising.

Ubuntu 12.04 has proven to be more secure than Windows and Macintosh operating systems. This is not surprising though. The preponderance of Linux distributions based upon Debian is making it even easier for people to get started with computing. Ubuntu has always been a good choice for desktop computing, the easy to use desktop and […]

Click post title to read more...

Another look at the WIFI Radar application for Linux. A good tool for a wireless site survey.

The WIFI Radar application for Linux is used to perform a wireless site survey to determine the signal strength of a wireless network that you are deploying at a particular site. This application makes a survey of wireless signal strength very easy indeed. The SSID/MAC address of the access point is shown, as well as […]

Click post title to read more...

How to open a rar file with the Linux command line. This is very easy.

The unrar command for Linux takes care of opening rar files. Firstly, install the command with the yum install unrar command. [root@localhost Downloads]# yum install unrar Then you may unpack your rar files and maintain the directory structure if there is one inside the file. [homer@localhost Downloads]$ unrar x myfile.rar That is how easy this […]

Click post title to read more...

Linux tips and tricks for all users.