Using OpenSolaris UNIX for the first time in ages. This is a very good OS.

I have just installed OpenSolaris UNIX in VMware. First impressions really are good; the LiveCD environment works very well indeed. The Gnome desktop is a breath of fresh air compared to the crap Unity desktop that comes with Ubuntu 14.10. Firefox 3.1 Beta 3 is the default web browser; this is due to the fact […]


Read more...

How to scan your Kali Linux system for security vulnerabilities using the lynis tool.

The lynis tool for Kali Linux allows you to scan your computer system for security vulnerabilities. Execute this command as root and this will allow you to find out if you have any problems with your installation. [email protected]:/home/homer# lynis –check-all   [ Lynis 1.4.1 ]   ################################################################################ Lynis comes with ABSOLUTELY NO WARRANTY. This is […]


Read more...

Why Linux uses .dotfiles for hidden filenames.

The original UNIX programmers created a bug in the early UNIX code 40 years ago. This code had the side effect of making files starting with a dot hidden to the normal ls command. This was adopted as a ‘feature’. Nowadays, the dotfile is the standard way of hiding configuration files in the home directories […]


Read more...

How to scan for vulnerable ports on a host with the Kali Linux distribution.

Scanning for vulnerable ports is easy with the Kali Linux distribution. Here is a simple port scan of my Windows Server 2012 R2 laptop host OS using Kali Linux. [email protected]:~$ sudo nmap 192.168.1.6   Starting Nmap 6.46 ( http://nmap.org ) at 2014-05-28 20:44 EST Nmap scan report for 192.168.1.6 Host is up (1.0s latency). Not […]


Read more...

Chinese government switching to Linux instead of Windows 8.1.

The Chinese government is considering a switch to Linux on the desktop to replace the ageing fleet of Windows XP machines currently in use. The ban on Windows 8 has made it necessary to find an alternative to Microsoft software that is currently in use in the country. This is a good thing; Microsoft software […]


Read more...

WordPress testing with Kali Linux. Find problems with your site before the bad guys do.

The new Kali Linux distribution allows installation in a VMware virtual machine. This enables integration with a local area network and scanning of vulnerabilities. One good vulnerability scanner is wpscan. This is a vulnerability scanner that is used to scan websites running WordPress for security vulnerabilities. This makes it very useful for a webmaster. You […]


Read more...

More useful Windows Server 2012 CMD commands.

The route PRINT command shows the routing table. This gives some insight into your network connections. C:\Users\Administrator>route PRINT =========================================================================== Interface List 18…1e 0f 6e 5d e1 25 ……Microsoft Wi-Fi Direct Virtual Adapter 13…4c 0f 6e 5d e1 25 ……Qualcomm Atheros AR5B97 Wireless Network Adapter 12…88 ae 1d 6d 09 bc ……Broadcom NetLink (TM) Gigabit Ethernet […]


Read more...

The simplest hello world program you can write in C.

This is a very simple Hello World program that you can write in C. int main (void) { write (1, “Hello World\n”, 14); return 0; } Just compile the program like this: [email protected] ~/Documents $ cc my.c -o hello Then execute it to get the output. This is very easy. [email protected] ~/Documents $ ./hello Hello […]


Read more...

Linux Mint 17 RC now available. Download it with these direct links.

Linux Mint 17 is now available. Download this new Linux release from this handy mirror site. http://ftp.heanet.ie/mirrors/linuxmint.com/testing/. 64 bit ISO 1.3 Gigabytes: http://ftp.heanet.ie/mirrors/linuxmint.com/testing/linuxmint-17-mate-dvd-64bit-rc.iso. 32 bit ISO 1.3 Gigabytes: http://ftp.heanet.ie/mirrors/linuxmint.com/testing/linuxmint-17-mate-dvd-32bit-rc.iso. This new Linux distribution has all the same features that Linux Mint 16 had, but with all new software. I am trying out the RC build […]


Read more...

VoCore. A Linux based computer that is only one inch wide.

The VoCore is a tiny Linux computer that is only one inch in size. This runs the Linux based OpenWRT operating system and would be an interesting project for a hobbyist that is intending to build a small project using a compact board. This is even smaller than a Rasberry Pi. Full instructions re included […]


Read more...

How to enter the product key in Windows server 2012 R2.

Entering the product key in server 2012 sometimes is fraught with frustration. You can try to enter it with this command. PS C:\Users\Administrator> slmgr -ipk XXXX-XXXX-XXXX-XXXX and you get an error. The best way is to use this command. PS C:\Users\Administrator> slui This command opens the pictured GUI; this allows you to enter the product […]


Read more...

How to re run a previous command in your history with sudo privileges.

This is how to rerun a previous command with sudo if you forgot the sudo command to elevate privileges. Here I have tried to cat a file and I have forgotten to elevate my privileges with the sudo command. [email protected] ~ $ cat /etc/shadow cat: /etc/shadow: Permission denied Instead of re-typing the command; I just […]


Read more...

Some useful Windows commands to use in the cmd window. Get information about your user.

This command lists the information about your user. C:\Users\homer>net user Administrator User name Administrator Full Name Comment Built-in account for administering the computer/domain User’s comment Country code 000 (System Default) Account active No Account expires Never Password last set 11/2/2006 11:08:15 PM Password expires Never Password changeable 11/2/2006 11:08:15 PM Password required Yes User may […]


Read more...

Do You Really Need An Anti-Virus For Linux?

Do You Really Need An Anti-Virus For Linux?

Did someone tell you that you do not need to install an anti-malware for Linux? You mustn’t listen to that! It’s totally incorrect… Today, there is an increasing popularity of Linux as Desktop. Linux uses Gnome Environment, which is slowly but steadily getting attacked by malware authors. So, the free OS is no way malware […]


Read more...

How to change the default plymouth theme manually on Ubuntu 14.10.

Changing the default plymouth theme on Ubuntu 14.10 is not very difficult. Just type this at the shell prompt. This will set the new theme. [email protected]:~# update-alternatives –install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/ubuntustudio-logo/ubuntustudio-logo.plymouth 100 Now we need to save our changes. [email protected]:~# update-alternatives –config default.plymouth There are 5 choices for the alternative default.plymouth (providing /lib/plymouth/themes/default.plymouth).   Selection […]


Read more...

Some useful Linux commands and tricks for the bash shell user.

The boxes utility for Linux allows you to render an ascii text box around text. Below is an example. [email protected] 19:14:21 ~ $ echo `echo "This is a sentence printed to the terminal."` | boxes /***********************************************/ /* This is a sentence printed to the terminal. */ /***********************************************/ This is a useful utility if you want […]


Read more...

Useful things that you can do with putty to access your home Internet connection from work or school.

The putty ssh client allows you to access your home computer over the Internet using ssh; but you can also tunnel past a proxy and access websites using putty. This means that you can access your home Internet connection through a proxy easily. You need to use port 443 in your openssh configuration to enable […]


Read more...

Windows XP still used around the world despite the security risks.

Windows XP, the venerable and trusty Windows operating system from Microsoft is still in use around the world. Despite the fact that Munich has switched their computers to the Linux operating system, Windows XP still has a foothold. My local library still runs Windows XP Professional SP3. This is dated 2002 and is obviously quite […]


Read more...

How to read a file and display the contents with Python.

How to read a file and display the contents with Python. This sample code reads and outputs the contents of a file using Python. This is a very simple code sample for reading in a file and displaying it. #!/usr/bin/env python forme = “f.txt”; # Read a file and print the contents to the terminal. […]


Read more...

Why Xorg on Linux starts up on tty7. And how to change this.

Why does Xorg use tty7? This is for the purpose of switching. Switching to that console (Alt-F7 from another text console, Ctrl-Alt-F7 from another instance of X) activates its display and input, switching away deactivates it. You can start other instances of X, and they will use more consoles (8, 9, etc.). Internal details of […]


Read more...