Linux

How to Set bash Variables to Random Numbers

You can easily generate a random number at the bash prompt, which you can then use to set said number as a variable. This is useful for everything from writing certain types of scripts to running tabletop roleplaying adventures. Whether you might be writing a D&D campaign or authoring a …

Read More »

How to Install, Configure and Run automysqlbackup in Linux

Remembering to always back up a MySQL server can be difficult, but fortunately, there’s a script that can automate the entire process. You won’t even have to write any bash Linux code because skilled programmers already drafted the automysqlbackup script for you. You may even be able to install it …

Read More »

How to Fix Unmet Dependencies Error on Ubuntu

Error The following packages have unmet dependencies has plagued Ubuntu users for a while now, and there are more and more sightings of the error on various versions of Ubuntu. The APT package management system is easy to use, but in some occasions, such as when you’re mixing in third-party …

Read More »

How to Fix Lost Terminal Windows on the Linux Desktop

It’s very easy to open a terminal window by holding down Ctrl+Alt+T in Linux and FreeBSD, which encourages users to hit this every time they want to run pretty much anything. This has become something of an embarrassment of riches since it encourages people to use the powerful command line …

Read More »

How to Take Screenshots from the Linux Command Line

Like with most things in the GNU/Linux environment, there’s a way to take a screenshot from the command line. There are a few different primary reasons users would like to do this. One is to have further control over how the screenshot is taken, especially when dealing with timing. Another …

Read More »

Fix: SSH Error ‘could not resolve hostname server’

You’ll sometimes see an error telling you that ssh couldn’t resolve a hostname when you attempt to use it. If you’re getting this error, then you should first make sure that you’re connected to the network. Users of any type of wireless networking will also want to make sure that …

Read More »

How to Enable and Disable a Webcam in Linux

A decent graphical hardware manager is one of the few things that many mainstream Linux distributions still lack, which can make it difficult to enable and disable a webcam. You might think that Linux refuses to recognize your laptop’s internal webcam when in actuality it’s simply turned off. Almost distributions …

Read More »