Tags: command line

Linux strace Command Tutorial for Beginners (8 Examples)

The Linux command line offers many tools that are helpful for software developers. One among them is strace, basics of which we'll be discussing in this tutorial using some easy to understand examples. But before we do that, it's worth mentioning that all examples in this article have been tested...
Read 0 Comments

Linux pmap Command Tutorial for Beginners (5 Examples)

Linux command line offers a lot of tools that help you know more about processes that are currently active in your system. One such utility is pmap, which reports the process memory map. In this tutorial, we will discuss the basics of pmap using some easy to understand examples. But before we do...
Read 0 Comments

2 Ways to Re-Run Last Executed Commands in Linux

One of the greatest features of Bash is the command history, which stores all commands a user runs, in a history file within his/her home directory (typically /home/$USER/.bash_history). This allows the user to easily recall, edit and rerun previous commands. In this article, we will demonstrate...
Read 0 Comments

‘Sed’ Command In Linux: Useful Applications Explained

Have you ever needed to replace some text in a file really quickly? Then you have to open up your text editor, find the line, and then type out your replacement. What if you have to do that many times? What if it isn’t also exactly the same thing and you have to run multiple searches and replace...
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

Linux history Command Tutorial for Beginners (8 Examples)

If your work involves running tools and scripts on the Linux command line, I am sure there are a lot of commands you would be running each day. Those new to the command line should know there exists a tool - dubbed history - that gives you a list of commands you've executed earlier. In this...
Read 0 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

logs_main.jpg

log files
When a problem arises on your system, the first thing to do is to view the logs. Jack Wallen shows how.

Viewing Linux Logs from the Command Line

Learn how to easily check Linux logs in this article from our archives. At some point in your career as a Linux administrator, you are going to have to view log files. After all, they are there for one very important reason...to help you troubleshoot an issue. In fact, every seasoned administrator...
Read 2 Comments

ducks-94911_1920.jpg

user groups
We continue our tour of Linux with this tutorial on creating and managing users and groups.

Users, Groups and Other Linux Beasts: Part 2

In this ongoing tour of Linux, we’ve looked at how to manipulate folders/directories, and now we’re continuing our discussion of permissions, users and groups, which are necessary to establish who can manipulate which files and directories. Last time, we showed how to create new users, and now we’...
Read 0 Comments

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

Pages

Click Here!