Some people just do not get Linux at all.

Some people do not understand how Linux works at all. I just tried what was shown in the webm above on my Ubuntu MATE machine and it works just fine. I was able to drag a file from the Caja file manager to the desktop and lo and behold it…

Read More

Some very old but still useful tips for Linux users.

Run the urxvt terminal as a transparent colored terminal window. This is very useful indeed. urxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip +sb -title "*-Home-${HOME}-Shell-${SHELL}-Display-${DISPLAY}*" \ -tint DarkSlateGrey -fade 50 -fadecolor redurxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip…

Read More

Do not use cat when you can avoid it. This is very annoying.

The unneeded use of the cat command is very annoying, this is wasteful. Something like this is very annoying to see. cat unixhell.txt | sed ‘s/program/application/g’cat unixhell.txt | sed ‘s/program/application/g’ Do it like this instead. This is the proper way to use sed. sed ‘s/program/application/g’ unixhell.txtsed ‘s/program/application/g’ unixhell.txt The user…

Read More

How to print a list of all ABC News articles with the Linux command line.

This one-liner will print a listing of all ABC News articles from the XML RSS feed. This is a very good way to extract text from an RSS feed or other XML files. curl -s http://www.abc.net.au/news/feed/2942460/rss.xml | grep ‘media:description’ | awk -F "[<>]" ‘{print $3}’; echo "$desc"curl -s http://www.abc.net.au/news/feed/2942460/rss.xml |…

Read More

Very useful bash shell tips for Ubuntu.

There are some tips for Ubuntu that are not as well known as they should be. One tip is searching the bash history. Press Control-R and a prompt will appear. (reverse-i-search)`sudo’: sudo apt-get install libxml2-utils(reverse-i-search)`sudo’: sudo apt-get install libxml2-utils Type a search like “sudo” for example, and the first search…

Read More

Coronavirus lockdown a good time to learn something new.

Coronavirus lockdown is a good time to learn a new skill. Whether it be programming or 3D modelling, Linux has many programs available to fulfil any need for content creation. Blender is a very capable 3D modelling application for creating detailed 3D models. Davinci Resolve is the best video editor…

Read More

Very nice bash shell prompt and other useful Linux information.

Very nice bash shell prompt This is a very useful Linux shell prompt with color. export PS1="\[\033[38;5;165m\]\d\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;51m\]\W\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;84m\]\H\[$(tput sgr0)\]@\[$(tput sgr0)\]\[\033[38;5;229m\]\u\[$(tput sgr0)\]:\l>\[$(tput sgr0)\]\[\033[38;5;231m\]\\$\[$(tput sgr0)\] "export PS1="\[\033[38;5;165m\]\d\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;51m\]\W\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;84m\]\H\[$(tput sgr0)\]@\[$(tput sgr0)\]\[\033[38;5;229m\]\u\[$(tput sgr0)\]:\l>\[$(tput sgr0)\]\[\033[38;5;231m\]\\$\[$(tput sgr0)\] " This prompt will look like this. Mon Mar…

Read More

List all SCSI hard disks in your Linux system.

This command will list all installed hard disks in your system. This is using the -S parameter to only list SCSI devices. 𒅑 4.4 Mon Mar 23 jason@Yog-Sothoth 0: $ lsblk -n -S sda 0:0:0:0 disk Seagate Expansion Desk 0911 usb sdb 1:0:0:0 disk ATA ST3500418AS CC38 sata sdc 3:0:0:0…

Read More

Get the geographical location of an IP address and other networking tricks.

To get the geographical location of an IP address, use this command. This uses ipinfo.io and gets a lot of information about the IP address. 4.4 Tue Mar 17 jason@Yog-Sothoth 0: $ curl -s ipinfo.io/203.113.124.148 | awk ‘{print $2}’ | sed ‘s/"//g’   203.113.124.148, 203-113-124-148.revip.totidc.net, Bangkok, Bangkok, TH, 13.7540,100.5014, AS131293…

Read More

Listen to the radio on Linux very easily with an SDR dongle.

I have an SDR dongle I am using to listen to the radio, this has been flashed with different firmware to enable using it as a multi-band radio. Set up your SDR dongle very easily. https://securitronlinux.com/debian-testing/rtl-sdr-on-linux-with-a-rtl2838-dvb-t-dongle/. The best software to use for listening to the radio on Linux is Gqrx….

Read More

How to cat a gzipped logfile with gunzip properly.

The gunzip utility can uncompress logfiles that are gzipped in archives, but this is not needed. To read a logfile that is gzipped, you can also use this command to print the contents to a terminal and not bother uncompressing the file. This allows reading log files in /var/log without…

Read More

Very interesting and strange bash trick with ls.

This is a very interesting bash trick I found using ls. This runs the ls command with random parameters. This is not very useful, but interesting nonetheless. 4.4 Tue Mar 03 jason@Yog-Sothoth 0: $ ls -`cat /dev/urandom | tr -dc ‘hula’ | head –bytes 1`4.4 Tue Mar 03 jason@Yog-Sothoth 0:…

Read More

How to get DVD playback working on Ubuntu. This is very easy.

To get DVD playback working on Ubuntu, the libdvdcss library is required. This is easily installed and necessary to decode a DVD properly for playback. Install this package to prepare for installation. This also allows automated updates to the library. 4.4 Sat Feb 29 jason@Yog-Sothoth 1: $ sudo apt install…

Read More