Skip to main content

Linux Network Commands Part 2 – Configuration

Computer Data NetworkThis section of Linux network configuration commands deals with the most common methods of configuring a system’s network interfaces from the command line.

It is not a complete list of commands, nor are all possible details and options discussed.

This way you have a little space to do some exploring on your own, and can enjoy the thrill that comes with successfully completing a configuration all on your own.

Read More

Use Rsync to Backup From the Linux Command Line

Syncing ComputersIf backing up data is not already a part of your (daily/weekly/hourly) routine, it should be.

Previously, I have talked about creating a backup process, and how double/triple/off-site backups can be lifesavers.

What I’m going to talk about today is how you can make backups, specifically from the Linux command line.

If you’re still backing up by copying and pasting files around in the GUI, or even by using tar, cp, dump or restore from the command line, you’re missing out.

Read More

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

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 & 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