How to set various options in the MATE Cinnamon and Gnome desktops with the terminal.

The old Gconf framework allowed a user to set various options for the Gnome 2 desktop with a command-line utility or the GUI. But nowadays, we have another one. The gsettings framework for modern desktops allows a user to set various options with the terminal. This is a nice way of setting various options all … Read more

How to install Docker on Linux to run virtual containers.

To install Docker on Ubuntu, we need to be able to add a custom repository. This is the command required. 4.4 Mon Dec 23 jason@Yog-Sothoth 0: $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable"4.4 Mon Dec 23 jason@Yog-Sothoth 0: $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" Then update … Read more

Scanning a Linux system for vulnerabilities can be a lot of fun.

Scanning a Linux system for vulnerabilities can be a lot of fun. I have used Nessus to find SSH vulnerabilities like Heartbleed. I was doing penetration testing on a Linux machine and I found a Heartbleed bug. Vulnerability Explanation: The installation of OpenSSL on the Linux webserver was found to be vulnerable to the Heartbleed … Read more

Nice bash shell prompt examples.

This is a very simple, but nice shell prompt. PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]"PS1="\[\033[38;5;49m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;43m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]:\$?:\\$\[$(tput sgr0)\]" This is what it looks like. /home/robert/Desktop:mycomputer@mario:0:$/home/robert/Desktop:mycomputer@mario:0:$ Another nice bash shell prompt. PS1="-\t– \u@\h [\w]\$ "PS1="-\t– \u@\h [\w]\$ " It looks like this. Not as good, but simpler than the above example. -12:01:11– … Read more

Spice up your Linux desktop for christmas.

To get a nice Christmas themed Linux desktop, install xsnow. jason@jason-virtual-machine:~$ sudo apt install xsnowjason@jason-virtual-machine:~$ sudo apt install xsnow Then run it in a terminal to make your desktop snow. jason@jason-virtual-machine:~$ xsnow & exitjason@jason-virtual-machine:~$ xsnow & exit This is what it will look like. It even has a nice snow drift on the taskbar. Very … Read more

How to download only the audio from a Youtube video.

It is possible to download just the audio from a Youtube video. This is very easy. Use youtube-dl to view information about the Youtube video and find the m4a audio track. 4.4 Sat Dec 07 jason@Yog-Sothoth 0: $ youtube-dl -F https://www.youtube.com/watch?v=JWPe9uh7FWU [youtube] JWPe9uh7FWU: Downloading webpage [youtube] JWPe9uh7FWU: Downloading video info webpage [youtube] JWPe9uh7FWU: Downloading js … Read more

Old UNIX code from 1979. This is very interesting.

This very old UNIX source code from 1979. This is source code for the Bourne shell. This code looks alien compared to modern C code, I wonder if it would even compile on a modern machine. Have a look here: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh/expand.c. But I installed all the include files and it would not compile on Kali … Read more

A Data Warehousing solution using SQL Server

I have been researching a system for deploying a database cluster. I have chosen the Microsoft SQL Server product. This does support server clustering and uses nodes clustered together on a network to create a failover network that will automatically maintain operation if one node is to fail. A virtual network of database nodes spread … Read more

How to install and start SSH on Kali Linux 2019

Installing and setting up SSH on Kali Linux 2019 is very easy. This enables an SSH connection from Bitvise SSH Client into a VMWare instance of Kali Linux. Firstly, install the SSH service. root@kali:~# apt install sshroot@kali:~# apt install ssh Then, once it is installed, start the SSH service on your Kali instance. root@kali:~# systemctl … Read more

Newest Kali Linux release offers an undercover fake Windows 10 mode.

The latest Kali Linux distribution release offers a script that will skin the Linux Gnome desktop to look just like Windows 10 by running a simple command. This means that you can pretend to be running Windows, but actually be using Kali Linux. Run the script again to change back to the default Kali desktop. … Read more

Very useful Linux configurations for setting up a desktop.

IceWM configuration fileUseful Linux CommandsVery Verbose ps commandBlackbox ThemeGNU/Linux CD Burning: (Updated! for Debian Linux 6.0.)CD Burning with BraseroWriting Ghost Images to CD IceWM configuration file My ICEWM preferences file. from $HOME/.icewm/preferences. This file has a nice friendly time format and a good Win95 styled theme. This IceWM configuration file will give you a familiar … Read more

How to create a loopback filesystem on Linux and store data in it.

Linux can be used to create a nice filesystem inside a file. This can be used to store data on it. This could be used as a bootable filesystem, or whatever you wish. Firstly, run this command to create a 512-megabyte file system. 4.4 Tue Nov 26 jason@Yog-Sothoth 0: $ dd if=/dev/zero bs=1M count=512 > … Read more

Unsecured websites are still a thing in November 2019.

It is still possible to find anything on the Internet. Backups of websites containing passwords and information. It is all out there, and not everyone is getting the message that this is a bad idea. This could be used to harvest e-mail addresses and decrypt passwords. Do not store website backups in publically accessible directories. … Read more