Tags: command line

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

stop-processes.jpg

stop processes
Linux has all the tools you need to stop running processes at the command line. Jack Wallen has details.

How to Kill a Process from the Command Line

Learn how to kill errant processes in this tutorial from our archives. Picture this: You’ve launched an application (be it from your favorite desktop menu or from the command line) and you start using that launched app, only to have it lock up on you, stop performing, or unexpectedly die. You try...
Read 0 Comments

Batch Editing Files with ed

The other day at work I needed to edit 200 files at once. I wanted to do something pretty simple: basically, I had files that looked like this: foo: - bar - baz - bananas and I wanted to insert an extra line after the baz line that said elephant foo: - bar - baz - elephant - bananas...
Read 0 Comments

3 Useful Things You Can Do with the IP Tool in Linux

It has been more than a decade since the ifconfig command has been deprecated on Linux in favor of the iproute2 project, which contains the magical tool ip. Many online tutorial resources still refer to old command-line tools like ifconfig, route, and netstat. The goal of this tutorial is to share...
Read 0 Comments

jm-shell – A Highly Informative and Customized Bash Shell

jm-shell is a free open source, small, highly informative and customized Bash shell, that gives you a great wealth of information about your shell activity as well as certain useful system information such as system load average, battery status of laptops/computers and much more. Importantly,...
Read 0 Comments

Setting up LVM Partition on a Linux Server

Think about this situation, you have a Ubuntu server and with your home videos or movies, books and other important files that are worth having a backup. You don’t have enough space on your laptop and also on your server the available space is almost gone. You go to a shop and buy a new HDD to make...
Read 0 Comments

Blacklisting Modules on Linux

The Linux kernel is modular — composed of modules that work together but are largely independent of each other. New functionality can be added when a kernel module is loaded, but there are times when you might need to block functionality because modules interfere with each other or leave a system...
Read 0 Comments

Pages

Click Here!