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. jason@DESKTOP-R72SPS3:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h>   int main() { printf(".");   return 0; }jason@DESKTOP-R72SPS3:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h> int main() … Read more

Peppermint 7 Released

Peppermint 7 launched a few days ago. Peppermint is a lightweight
Ubuntu-based Linux distribution with an emphasis on speed and simplicity.
Although the name is similar to Linux Mint, the projects aren’t
directly related. 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. ubuntu@ubuntu:~$ 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

Libarchive Security Flaw Discovered

When it comes to security, everyone knows you shouldn’t run executable
files from an untrustworthy source. Back in the late 1990s, when web
users were a little more naive, it was quite common to receive infected
email messages with fake attachments.
more>>

Sony Settles in Linux Battle

When Sony released its PlayStation 3 console in 2006, most fans were
excited by the enhanced graphics and processing power, but a
small (yet significant) group of buyers was excited about an entirely
different feature. more>>

How to copy text from the terminal to the clipboard.

To copy text to the clipboard from the Linux command line in Xorg, we need to install a nice utility called xclip. This will allow us to copy text from the terminal to the clipboard. Install xclip. jason@jason-desktop:~$ sudo apt install xclipjason@jason-desktop:~$ sudo apt install xclip Then create the bash alias we need for this … Read more

How to pipe the output of a Windows command to the clipboard.

Pipe text to the clipboard from Windows CMD Apparently, there is an obscure feature in the Windows CMD prompt that allows users to pipe the output of a Windows CMD command on STDOUT to the Windows clipboard. The clip command allows this. For example. C:\Users\johnc>ipconfig | clipC:\Users\johnc>ipconfig | clip This will pipe the IP addressing … Read more

Amazing new KDE 4.0 themes for Linux Mint.

KDE 4.0 themes Oxygen transparent: http://linuxmint-art.org/content/show.php/oxygen-transparent?content=127752. An amazing transparent version of the Oxygen KDE 4.0 theme. Oxygen GTK: http://linuxmint-art.org/content/show.php/Oxygen+Gtk?content=136216. A port of the Oxygen KDE theme to GTK. Soft metal: http://linuxmint-art.org/content/show.php/Soft+Metal?content=120867. A soft metallic theme for KDE. Uniq 1.11: http://linuxmint-art.org/content/show.php/uniq?content=112688. Another very nice KDE 4.0 theme. More nice themes, these are for Gnome Awesome elegance … Read more

Debian Linux FAQ.

This is the FAQ containg all the answers to your Debian Linux questions. The Debian Linux FAQ contains a great amount of information pertaining to the Debian GNU/Linux distribution. https://drive.google.com/open?id=1XoEX7hJRkDbGYBHigWkd9TJE66bNILxuFvByFO9cbieufOPTcYQL0n7U_Hhr. Have a read of this and you will learn a great deal about setting up and using your new Debian system. Securing Debian HOWTO. https://www.debian.org/doc/manuals/securing-debian-howto/. … Read more

Mastering Linux PDF series.

Mastering Linux Pt1.pdf Mastering Linux Part 01. Mastering Linux Pt2.pdf Mastering Linux Part 02. Mastering Linux Pt3.pdf Mastering Linux Part 03. Mastering Linux Pt4.pdf Mastering Linux Part 04. Mastering Linux Pt5.pdf Mastering Linux Part 05. Mastering Linux Pt6.pdf Mastering Linux Part 06. Mastering Linux Pt7.pdf Mastering Linux Part 07. Mastering Linux Pt8.pdf Mastering Linux Part … Read more

Tweak your Linux Mint MATE desktop with this useful app.

The MATE tweak tool allows a Linux Mint MATE user to tweak their desktop. There are a few cool things you can do. Firstly, install this cool application. jason@jason-desktop:~$ sudo apt install mate-tweakjason@jason-desktop:~$ sudo apt install mate-tweak Now that it is installed, we can begin to tweak our desktop. Turn off desktop icons in Linux … Read more

How to list all non-free Linux packages installed on Linux Mint 18.

To list all non-free Linux packages that are installed on your Linux Mint system, use this one-liner. This prints out a list of all non-free packages that are installed on a system. jason@jason-virtual-machine ~ $ dpkg-query -W -f ‘${Section}/${Package}\n’ | grep -E ‘^(contrib|multiverse|non-free|partner|restricted)/’ | sort contrib/kernel/virtualbox-guest-dkms contrib/misc/virtualbox-guest-utils contrib/x11/virtualbox-guest-x11jason@jason-virtual-machine ~ $ dpkg-query -W -f ‘${Section}/${Package}\n’ | … Read more

Linux Mint 18 tricks and tips for setting up your new desktop.

Setting up your new Linux Mint 18 MATE desktop is a lot of fun, this post will help out new users to get the distribution set up after installation and update packages. As well as getting some awesome new wallpapers and MATE themes. After installation, updating the package repositories is very important. This allows software … Read more