Category Archives: Bash script

Read no longer pauses bash script when using a program launcher

Upgrading Linux Mint to Version 19.1 (Tessa) seems to have broken the ability of a read command at the end of a bash script to pause the script so leaving the terminal window open. Such scripts work correctly when run … Continue reading

Posted in Bash script, Mint | Tagged , | Leave a comment

Safely removing a USB drive with a bash script

In a previous post (Safely removing a USB flash drive) I noted that, when removing an external USB drive, Linux Mint 18.2 (Sonya) provided a message indicating that “It is now safe to remove the drive”. However, I sometimes noticed … Continue reading

Posted in Bash script, Mint | Tagged , | Leave a comment

Running a bash script in a program launcher

I have always included a “read” command at the end of a bash script if I wanted to pause the script, and keep the terminal window open, after the pre-programmed command sequence terminated. Recently, instead of running a script by … Continue reading

Posted in Bash script, Mint | Tagged , | Leave a comment

The virtualbox kernel service is not running

After a recent set of updates, booting into Linux Mint produced a (transient) pop-up message box indicating that “The virtualbox kernel service is not running”. My immediate reaction was that there must be some problem that was preventing VirtualBox from … Continue reading

Posted in Bash script, Mint | Tagged | 6 Comments

Pausing a bash script

I recently wanted to have a bash script file stop at the end of the command sequence so that I could check which disk directory was then active. There are at least two ways to achieve this.

Posted in Bash script | Leave a comment

Mounting a 4TB external USB drive

Linux Mint 16 doesn’t seem to want to auto-mount a 4TB external USB drive, even though it is perfectly happy to do so for a 1TB unit.

Posted in Bash script, Commands, Mint | Tagged , | Leave a comment

Running Bash Scripts in Ubuntu

Have you ever had the problem where you double click on a script file and it opens in the editor rather than executing? One problem might be that the execute bit on the file (Properties – Permissions – Allow executing … Continue reading

Posted in Bash script, Tweaks | Leave a comment

Disk Space Shortage

My recent encounter with system log files eating up disk space (see Low disk space warning) has me second guessing how much disk space is in use around my system. So, a recent how-to article entitled “5 ways to check … Continue reading

Posted in Applications, Bash script, Commands | Leave a comment

Getting to the root of the problem

The previous set of posts have dealt with getting anacron and, in particular, Back In Time to run a daily backup job in the event that the computer is turned off when a scheduled task is set to occur. The … Continue reading

Posted in anacron, Applications, Backup, Bash script, Commands | Tagged | 2 Comments

User Confusion

Further research on my daily backup failing to run using anacron and Back In Time indicated that the system log file /var/log/syslog would provide some useful information. Since this file is typically quite large and contains thousands of lines of … Continue reading

Posted in anacron, Applications, Backup, Bash script, Commands, cron | Tagged | Leave a comment