Bash Exit Status

Bash Exit Status

Regardless of whether a bash command ends successfully or not, it returns an exit status. Aside from letting you know that the command succeeded or failed, you can use the exit status code in bash scripts to determine what action to take with a conditional statement.

Tags: tutorials, linux, command line

Read more »


Rename Files & Folders Linux Command Line

Rename Files & Folders Linux Command Line

Lets take a look at how to rename files and folders in linux from the command line.

Sure you can use your GUI and be done with it, but learning to do it from the command line can be quite useful. There’s also the added benefit of being able to use these commands in bash scripts.

Tags: tutorials, linux, command line

Read more »


Remove Unused Kernels Ubuntu 18.04

Remove Unused Kernels Ubuntu 18.04

A question often asked… How do I remove old unused kernels from ubuntu 18.04?

Each time you receive a kernel update in your ubuntu 18.04 system updates, you end up with the old kernels remaining in your system. This can be useful in the event that the new kernel causes issues, you can always boot the old kernels. In time, old unused kernels can accumulate taking up unnecessary space on your drive.

Tags: tutorials, linux, command line

Read more »


Listen To Podcasts With The Google App

Podcasts With The Google App

There are many podcast apps in the Google Play Store, but you already have a really good app for podcasts pre-installed on your android device that’s free. The Google app is excellent for finding and listening to podcasts and has an integrated assistant with voice commands.

Tags: android, apps

Read more »


Bash Arrays

Bash Arrays

Bash arrays are quite powerful and robust, but not often used in the command line. They are variables which contain multiple values often referred to as items or elements. Arrays do not have a maximum limit for items they can contain nor do the values need to be assigned or indexed contiguously.

Tags: tutorials, linux, command line

Read more »


Check If Directory Exists In Linux With Bash

Check If Directory Exists In Linux With Bash

It’s useful to know how to check if a directory exists in linux from a bash script. A directory is a folder within a path in your linux system where all sorts of files and directories are stored. Your Music folder is a directory to store music files and your Downloads folder is a directory where all sorts files are downloaded from the web. You get the idea.

Tags: tutorials, linux, command line

Read more »