Tags: UNIX

Linux Control Sequence Tricks

There are quite a few control sequences available on Linux systems— many I use routinely, and some I've only just recently discovered— and they can be surprisingly useful. In today's post, we're going to run through a series of them and take a look at what they do and how they might be useful. To...
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

You Don't Know Bash: An Introduction to Bash Arrays

Although software engineers regularly use the command line for many aspects of development, arrays are likely one of the more obscure features of the command line (although not as obscure as the regex operator =~). But obscurity and questionable syntax aside, Bash arrays can be very powerful. Wait...
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

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

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

Customizing your Text Colors on the Linux Command Line

If you spend much time on the Linux command line (and you probably wouldn't be reading this if you didn't), you've undoubtedly noticed that the ls command displays your files in a number of different colors. You've probably also come to recognize some of the distinctions — directories appearing in...
Read 0 Comments

An Introduction to the GNU Core Utilities

Two sets of utilities—the GNU Core Utilities and util-linux—comprise many of the Linux system administrator's most basic and regularly used tools. Their basic functions allow sysadmins to perform many of the tasks required to administer a Linux computer, including management and manipulation of...
Read 0 Comments

Manipulating Binary Data with Bash

Bash is known for admin utilities and text manipulation tools, but the venerable command shell included with most Linux systems also has some powerful commands for manipulating binary data. One of the most versatile scripting environments available on Linux is the Bash shell. The core...
Read 0 Comments

Pages

Click Here!