Mr Robot TV show with TOR installation instructions.

This screenshot from a Mr Robot episode shows setup instructions for the nginx web server, the TOR browser and what appears to be an overall plan for hosting an onion website on the TOR network. There are instructions for installing the GPG keys for the TOR packages. But the root password is shown in plain […]


Read more...

New open source Brave browser. A nice change from the Firefox browser.

There is a new web browser out there. Called Brave, this is a secure alternative to Firefox and Chrome. Made by the Made by Mozilla co-founder and ex Mozilla CEO. This is an open-source web browser for Linux and Windows. With built-in HTTPS Everywhere, built-in ad blocker and a built in tracker blocker that blocks […]


Read more...

New Dell Inspiron laptop available with Ubuntu.

The new Dell Inspiron 15 3000 series laptop is now available with Ubuntu 14.04 LTS and the Google Chrome browser. This laptop comes with a 1 year warranty and would be perfect as an alternative to Windows 10. Since there are privacy concerns with Windows 10, Ubuntu is a good alternative. A 1 terabyte external […]


Read more...

Useful Linux tips for the desktop.

This command will capture a screenshot of the desktop and save it to the home directory. [email protected]:~$ import -window root "$HOME/$(date ‘+%y%m%d_%T’).png" This is how to do this with the scrot utility. [email protected]:~$ scrot Desktop-%H:%M:%S-%d-%m.jpg Characters preceded by a ‘%’ are interpreted by strftime(2). See man strftime for examples. These options may be used to […]


Read more...

Linux Mint 18 “Sarah” Review : Improved Features With Better Experience.

Some of the features of Linux Mint 18 are as follows: 1) Cinnamon 3.0 : Cinnamon 3.0 has received many new features like – improved tiling, Animation effect to menu, Improved touchpad and sound settings, Panel launch now includes application actions. 2) X-Apps : A new project called “X-Apps” was started and its goal is […]


Read more...

How to create a new user on Linux and add a password in one go.

The useradd command can create a new user on your Linux system. Here is how to add a password as well all in one simple operation. [email protected]:/home/jason# useradd -m -s /bin/bash -g users -p $(openssl passwd -1 ff302) randycole This is a good solution for adding a new user to a Linux system. To change […]


Read more...

Use the find command in Linux to look for multiple file types at once.

The Linux find command is useful for finding files on your Linux system. It is possible to look for more than one file type. This example will search for all text and png files under the /usr/share directory. [email protected]:/usr/share$ find -regex ‘.*txt\|.*png’ This example will search for three different file types. [email protected]:/usr/share$ find -regex ‘.*txt\|.*png\|.*gz’ […]


Read more...

How to get comprehensive information on HDD errors on Debian.

The smartmontools package for Debian allows the user to get comprehensive hard disk information. This is useful if the hard disk drive is behaving strangely. This might mean it is failing. Install the smartmontools package. [email protected]:/home/jason# apt install smartmontools Now you may check your hard disk drive for any errors. [email protected]:/home/jason# smartctl -a /dev/sda | […]


Read more...

How to list only the usernames in the /etc/passwd file on Linux.

To list only the usernames in the /etc/password file use this command. [email protected]:~$ cut -d: -f1 /etc/passwd This will print a listing of all usernames. This also works on the /etc/shadow file when used as root. [email protected]:~$ su -c ‘cut -d: -f1 /etc/shadow’ Password:


Read more...

Installing Debian from the netinstall ISO image is very easy.

Installing Debian from the minimal netinstall image is very easy indeed. The ISO image is available at this link. http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso. This version of the netinstall ISO contains extra firmware if this is required. http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.5.0+nonfree/amd64/iso-cd/firmware-8.5.0-amd64-netinst.iso. Now we can begin installation of the Debian distribution. Choose the language for the installation. Now select the country where you […]


Read more...

A few ways to list disk information in Linux Mint.

There are a few ways in Linux Mint to view disk information. The Disks utility found at Preferences->Hardware-Disks allows the viewing of hard disk information. This displays all of the partitions and their types on a selected physical disk. There are options for unmounting partitions, deleting a partition and even more options such as formatting […]


Read more...

How to toggle the caps lock key with the command line in Linux Mint.

The Caps Lock key may be toggled using the command line. The xdotool utility will do this for you. Firstly, install the utility. [email protected] ~ $ sudo apt install xdotool Then toggle the caps lock key with this command. [email protected] ~ $ xdotool key Caps_Lock Run this command again to turn caps lock off. On […]


Read more...

How to get system information in Windows with CMD.

The systeminfo command for Windows allows a user to get comprehensive system information. The default usage outputs the most system information in one go. C:\Users\Corporal Kerry>systeminfo | clip This command will output the system information in CSV format. C:\Users\Corporal Kerry>systeminfo /FO CSV Use the /S parameter to specify a remote system to connect to. If […]


Read more...

Original Apollo 11 Guidance Computer (AGC) source code posted on github.

The original ASM source code for the lunar command and landing modules has been posted on Github. This gives us an insight into how it all worked. I wonder if someone could compile this code and get it working or not. I guess it would require the same hardware as was used in the 1960`s. […]


Read more...

Nice Linux prompts to liven up your terminal.

This is a nice script to build a custom PS1 that looks awesome and is simple too. export PROMPT_COMMAND=__prompt_command function __prompt_command() { local EXIT="$?"   local DEFAULT=’\[\e[0m\]’   local RED=’\[\e[0;31m\]’ local GREEN=’\[\e[0;32m\]’ local DARK_GRAY=’\[\e[0;90m\]’ local PURPLE=’\[\e[0;35m\]’ local YELLOW=’\[\e[0;33m\]’   PS1="\n${GREEN}\t${DEFAULT} "   if [ "$EXIT" != "0" ]; then PS1+="${RED}$EXIT${DEFAULT} " else PS1+="$EXIT${DEFAULT} " fi […]


Read more...

Change the background color of the terminal in Linux Mint.

To change the background color of the Linux Mint terminal, access the Profile Preferences like this. Then navigate to this tab to change the background color of the terminal window. This way, themes may be chosen, or a custom color may be chosen to set just the color you wish to use. This is how […]


Read more...

Useful Linux ideas and tips. Print graphical notifications from a shell script.

To print a graphical notification from a shell script, insert this code. notify-send "Match Found!" This will pop up a notification on your desktop, this will alert you to the fact that your shell script has done something. Make your computer talk. This will speak whatever you type as text. [email protected]:~$ espeak "I am sorry […]


Read more...

Lovely webm I made with ffmpeg.

I made this webm using ffmpeg. Firstly, I ripped a section of video. ffmpeg -i starwars.mkv -vcodec copy -acodec copy -ss 00:19:23 -to 00:19:33 out.mkv Then I did the first pass of two pass encoding. ffmpeg -i out.mkv -c:v libvpx-vp9 -pass 1 -qmin 0 -qmax 50 -crf 10 -b:v 1M -threads 1 -tile-columns 0 -speed […]


Read more...

Useful shell tips. How to search and replace characters or words with the bash shell.

Search and replace on the bash shell is very useful for various one-liner shell commands. The below example shows how to replace a # character with a * character. [email protected]:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h>   int main() { printf(".");   return 0; } This example shows translating paranthesis into braces. [email protected]:/mnt/c/Users/johnc/Documents$ tr […]


Read more...

List partitions on a GPT partition table with the Linux command line.

I tried to list the partitions on a Windows machine using an Ubuntu Live CD and I got this error when trying to use fdisk to list the partitions. [email protected]:~$ sudo fdisk -l /dev/sda   WARNING: GPT (GUID Partition Table) detected on ‘/dev/sda’! The util fdisk doesn’t support GPT. Use GNU Parted.     Disk […]


Read more...