Skip to main content

How to Mount and Unmount Devices on the Linux Command Line

USB Universal PlugWhen a new file system (ie. removable media device) is introduced in Windows, it is automatically mounted and assigned a drive letter, from which it is accessible until it is removed. Microsoft has us spoiled.

On Linux, file systems (devices) need to be mounted before they can be accessed. It is an extra step, any way you look at it, so just consider the fact that, this way, you have a great deal of control over the entire process.

It is true that most devices can be mounted from the GUI, so let’s briefly cover that option before jumping into the command line.

Read More

8 Linux Commands That Display Hardware Information

Hardware DeviceThere are three ways to find out about your computer hardware.

The first way would be to examine it, a method which I personally consider to be a bit too hands-on and messy for everyday application.

The second way would be to read the manual that came with it, but let’s be realistic… who actually reads those things, much less saves them? *Raises hand then slinks away guiltily.*

So that leaves us with the third option, which is to ask the software. Because what knows more about the hardware, than the software interacting with it?

Read More

Archive & Compression Command Line Cheat Sheet (Free Download)

Archive & Compression Command Line Cheat Sheet PreviewOne common problem that I have – and so of course I automatically assume that everyone else has the same problem – is the inability to remember various commands and options when I need them.

To that end, today’s post is very short, but it comes bearing gifts.

As a follow-up to last week’s topic, I created a cheat sheet, or quick-reference guide, for the Linux command line archive and compression utilities.

Subscribe to my mailing list to download your copy today!

5 Command Line Utilities to Manage Archival & Compression in Linux

Zip Archive Compressed Files
I must admit that when I first determined to learn how to create and un-package archive files from the command line, it was a daunting prospect.

It was not so much that I didn’t understand archival and compression, but I more about the fact that I didn’t understand the difference between the utilities available in the command line.

Once I figured out the difference, actually using each one turned out to be a piece of cake (and it was good, too!)

So to make a long story short, I’ve settled on the 5 utilities that can do pretty much anything you would ever want to do on the subject.

Read More

How to Manage File Ownership, Groups & Permissions in Linux (Part 2 of 2)

Linux File PermissionsIn the first part of this series on file permissions, I didn’t exactly get to the part about permissions.

Instead, I presented some details about users, groups, and file details that laid the groundwork for part two, which is today’s lesson.

This is when we actually get to explore the various aspects of file permissions that, when combined, allow the owner of a file (or root!) to be able to control access to it.

Read More

How to Manage File Ownership, Groups & Permissions in Linux (Part 1 of 2)

Linux File PermissionsFile permissions determine who has access to what, as well as how much access they have to it.

Such details are very important on a multi-user operating system such as Linux, for the sake of both security and management.

The possibilities are endless — and exciting to contemplate. Permissions can be widened so that files are able to be viewed and even edited by all users on a system (Warning: security nightmare!), or tightened so that not even the owner of a file can view it.

Read More

30 Commands to Manage Linux Users and Groups

Users and GroupsLinux is a multi-user operating system.

This means not only that multiple user ids can be created (common across all mainstream OS’s today), but that they can all access the same Linux machine simultaneously.

You are, of course, limited to roughly 4,294,967,296 user names, but as long as you’re only creating a single user name for 59.65% of the world’s 7.2 billion population, you shouldn’t run into any problems.

User names are unique on each computer and/or service. This explains why you can use whatever user name you want on your own machine, but why you might have trouble even finding an available user name at your chosen email service provider — chances are somebody else already got the one you wanted.

Read More

Linux Command Line Shortcuts Cheat Sheet (Free Download)

Linux Command Line Shortcuts Cheat Sheet PreviewYou had to know it was coming. What’s a shortcut without a cheat sheet full of them?

This cheat sheet is a compilation of the Linux command line shortcuts (keyboard and otherwise) mentioned in the past few articles.

It’s printer-friendly, for convenience!

The cheat sheet is available exclusively to my mailing list subscribers; you can subscribe at any time to receive the download.

Linux Command Line Shortcuts & Keyboard Shortcuts

Command Line TerminalThe downside to using the command line is all the typing that it involves. Even if you enjoy typing, it can get tedious after awhile.

That is why I have so much fun learning about all of the shortcuts that can be used in the command line, to cut down on the amount of time spent typing.

Not only are there tricks available that can do half of the work for you, but there are also keyboard shortcuts that can help you to navigate the command line in half the time.

Read More

Master the Linux Command Line With These 6 Tricks

Master Linux Command Line TricksOne of the best ways that I know to truly embrace the command line is to have some fun with it. And what is more fun than learning about the available tricks and shortcuts that can be used?

Did you know that you don’t have to type in a complete file name, but that a single key-stroke could fill out the name for you?

Did you know that a single keyboard shortcut can clear your terminal screen of previous commands/results and other command-line clutter?

Read More