Tags: command line

diskspace-main.jpg

disk usage
Linux provides all the necessary bits to help you find out exactly how much space remains on your drives. Jack shows how.

How to Check Disk Space on Linux from the Command Line

Quick question: How much space do you have left on your drives? A little or a lot? Follow up question: Do you know how to find out? If you happen to use a GUI desktop (e.g., GNOME, KDE, Mate, Pantheon, etc.), the task is probably pretty simple. But what if you’re looking at a headless server, with...
Read 0 Comments

top-main.jpg

top
Checking system memory usage is a crucial skill for Linux admins; Jack looks at five different ways to approach the problem.

5 Commands for Checking Memory Usage in Linux

The Linux operating system includes a plethora of tools, all of which are ready to help you administer your systems. From simple file and directory tools to very complex security commands, there’s not much you can’t do on Linux. And, although regular desktop users may not need to become familiar...
Read 0 Comments

Comparing Files and Directories with the diff and comm Linux Commands

There are a number of ways to compare files and directories on Linux systems. The diff, colordiff, and wdiff commands are just a sampling of commands that you're likely to run into. Another is comm. The command (think "common") lets you compare files in side-by-side columns the contents of...
Read 0 Comments

Copying and Renaming Files on Linux

Linux users have for many decades been using simple cp and mv commands to copy and rename files. These commands are some of the first that most of us learned and are used every day by possibly millions of people. But there are other techniques, handy variations, and another command for renaming...
Read 1 Comments

kate-search.jpg

Kate text editor
Kate is a user-friendly text editor with some powerful features.

Advanced Search and Replace with the Kate Text Editor

Learn how to use the Kate text editor in this tutorial from our archives. The powerhouse Kate text editor has advanced search-and-replace, including support for escape sequences and regular expressions, so you can make complex corrections without leaving your document. The Kate text editor is my...
Read 1 Comments

How to Use the Linux watch Command for Easier Output Tracking

Jack Wallen introduces you to a Linux command that can automatically execute a program repeatedly, so you can easily monitor the output for troubleshooting. The watch command comes installed, by default, on nearly all Linux distributions and is a very useful tool to have at the ready. I want to...
Read 0 Comments

How to Use logger on Linux

The logger command provides an easy way to add log files to /var/log/syslog — from the command line, from scripts, or from other files. In today's post, we'll take a look at how it works. How easy is easy? This easy. Just type logger <message> on the command line and your message will be...
Read 0 Comments

How to Speak Linux

I didn’t even stop to imagine that people pronounced Linux commands differently until many years ago when I heard a co-worker use the word “vie” (as in "The teams will vie for the title") for what I’d always pronounced “vee I.” It was a moment I’ll never forget. ... Unix commands evolved with a...
Read 0 Comments

branches-238379_1920.jpg

filesystem
We continue our look at the tree-like structure of the Linux filesystem and show how to create directories of your own.

Manipulating Directories in Linux

If you are new to this series (and to Linux), take a look at our first installment. In that article, we worked our way through the tree-like structure of the Linux filesystem, or more precisely, the File Hierarchy Standard. I recommend reading through it to make sure you understand what you can and...
Read 0 Comments

PacVim – A CLI Game To Learn Vim Commands

Howdy, Vim users! Today, I stumbled upon a cool utility to sharpen your Vim usage skills. Vim is a great editor to write and edit code. However, some of you (including me) are still struggling with the steep learning curve. Not anymore! Meet PacVim, a CLI game that helps you to learn Vim commands....
Read 0 Comments

Pages

Click Here!