Tags: UNIX

How to Bring Good Fortune to Your Linux Terminal

It's December, and if you haven't found a tech advent calendar that sparks your fancy yet, well, maybe this one will do the trick. Every day, from now to the 24th, we're bringing you a different Linux command-line toy. What's a command-line toy, you ask? It could be a game or any simple diversion...
Read 0 Comments

Selectively Deploying your Superpowers on Linux

The sudo command is very handy when you need to run occasional commands with superuser power, but you can sometimes run into problems when it doesn’t do everything you expect it should. Say you want to add an important message at the end of some log file and you try something like this: $ echo "...
Read 0 Comments

Schedule One-Time Commands with the Unix at Tool

Cron is nice and all, but don't forget about its cousin at. ...even though I've been using Linux for 20 years, I still learn about new (to me) command-line tools all the time. In this "Back to Basics" article series, I plan to cover some of the command-line tools that those new to Linux may never...
Read 0 Comments

17 Fun Linux Commands to Run in the Terminal

The terminal is a very powerful tool, and it’s probably the most interesting part in Unix. Among the plethora of useful commands and scripts you can use, some seem less practical, if not completely useless. Here are some Bash commands that are fun, and some of them are useful as well. Oneko This...
Read 0 Comments

Brian Kernighan Remembers the Origins of ‘grep’

This month saw the release of a fascinating oral history, in which 76-year-old  Brian Kernighan remembers the origins of the Unix command grep. Kernighan is already a legend in the world of Unix — recognized as the man who coined the term Unix back in 1970. His last initial also became the “k” in ...
Read 1 Comments

grep-eli-francis-unsplash.jpg

grep tutorial
The grep command is a very powerful way to find documents on your computer. Learn how to use it in this tutorial.

Finding Interesting Documents with grep

Learn the basics of grep with this tutorial from our archives. The grep command is a very powerful way to find documents on your computer. You can use grep to see if a file contains a word or use one of many forms of regular expression to search for a pattern instead. Grep can check the file that...
Read 2 Comments

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

Pages

Click Here!