Open Source Musings

cli

This is the first in an irregular series of short posts that teach some Linux command line basics that you might not know or may have forgotten.

Let's kick off this series with a quick look how to move around the command line using the cd command.

The cd command enables you to move between directories. So let's image you're at the top level of your /home directory — for example, /home/scott — and you want to move to a directory named Photos. To do that, type:

cd photos

You can also use cd to move into and around subfolders. Say you're in your home directory, and you want to go to the folder Documents/Letters. To do that, type:

cd Documents/Letters

If, on the other hand, you want to move to a directory that's outside of /home, type cd and the full path to the directory. For example, to jump to a common directory for executable files on your system, type:

cd /usr/local/bin

You can also use the cd command to up and down inside a folder and its subfolders. If you're in the directory Photos/Family, but decide that you want to move one level up to the directory Photos/Taupo2021, type:

cd ../Taupo2021

The ../ tells the cd command to move up one level and then change to the directory that you specify.

You can use ../ as many times as you need. So, if you want to move from Photos/Taupo2021 to the folder Documents/Letters, type:

cd ../../Documents/Letters

The ../../ moves you up two levels in the directory structure and the cd command puts you in the directory in which you want to go.

Scott Nesbitt

#linux #cli

(Note: This post was originally published, in a slightly different form, at Opensource.com and appears here via a CC-BY-SA 4.0 license.)

Good spelling is a skill. A skill that takes time to learn and to master. That said, there are people who never quite pick that skill up—I know a couple or three outstanding writers who can't spell to save their lives.

Even if you spell well, the occasional typo creeps in. That's especially true if you're quickly banging on your keyboard to meet a deadline. Regardless of your spelling chops, it's always a good idea to run what you've written through a spelling checker.

I do most of my writing in plain text and often use a command line spelling checker called Aspell to do the deed. Aspell isn't the only game in town. You might also want to check out the venerable Ispell.

Read more...

(Note: This post was first published, in a slightly different form, at Opensource.com and appears here via a CC BY-SA 4.0 license).

One perception that Linux can't seem to shake off is that you can't do anything without using the command line. A number of people in my circle have been using Linux effectively for years, and they've yet to crack open a terminal window.

Having said that, working at the command line can make certain tasks faster and more efficient. If you’re using older hardware, command line tools are an excellent alternative to graphical applications since they don't use too many resources.

One of those tasks playing music. You can do that in a terminal. How? Here’s a look at three command line music players.

Read more...

(Note: This post was originally published at Opensource.com an appears here via a CC BY-SA 4.0 license.)

Do you need complex, feature-packed graphical or web applications to get and stay organized? I don't think so. The right command line tool can do the job and do it well.

Of course, uttering the words command and line together can strike fear into the hearts of some Linux users. The command line, to them, is terra incognita.

Organizing yourself at the command line is easy with Calcurse. Calcurse brings a graphical look and feel to a text-based interface. You get the simplicity and focus of the command line married to ease of use and navigation.

Let's take a closer look at Calcurse.

Read more...

(This post was first published at Opensource.com and appears here via a CC-BY-SA 4.0 license.)

We all want our passwords to be safe and secure. To do that, many people turn to password management applications like KeePassXC or Bitwarden.

If you spend a lot of time in a terminal window and are looking for a simpler solution, you'll want to check out one of the many password managers for the Linux command line. They're quick, easy to use, and secure.

Let's take a look at three of them.

Read more...