Linux Tutorials on the topic “shell”
Author: Himanshu Arora • Tags: linux, shell • Comments: 1 • Published: Sep 04, 2018
In Linux, block devices are special files that refer to or represent a device (which could be anything from a hard drive to a USB drive). So naturally, there are command line tools that help you with your block devices-related work. Once such utility is lsblk.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 30, 2018
If you primarily work on the Linux command line, text editing is likely one of the most frequent tasks that you may find yourself involved in. The colrm command in Linux lets you remove selected columns from a file.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 28, 2018
In Linux, if you want to print a file's content on stdout, the first command that comes to mind is cat. However, there may be times when the requirement is to remove certain part of the file and print only the rest of the content. You'll be glad to know there exists a tool - dubbed cut - that lets you do this.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 23, 2018
Processes form the core of a running Linux system. When a program converts into a process (which is when it's executed), a lot of attributes are set. Sometimes, you may want to change these attributes at runtime. There exists a command line tool chrt that lets you do this.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 21, 2018
Here at HowtoForge, we have already discussed the passwd command, which lets you change your account password on a Linux system. But what if you want to change passwords of multiple users in one go? Well, there exists a command - chpasswd - that lets you do this.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 20, 2018
A user in Linux has a lot of information associated with it, including home and office phone numbers, office room number, and more. We usually skip filling this information (as it's all optional) while creating a user. But did you know there exists a command that lets you tweak all this information?
Author: orange •
Tags: linux, other, shell •
Comments: 4 •
Updated: Aug 16, 2018
Tmux and GNU Screen are well-known utilities which allow multiplexing of virtual consoles. Using either, it is possible to start a session, detach, move to a different machine and resume the session in uninterrupted progress. It's also possible to use these tools to share a single session between more than one user at the same time.
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Published: Aug 15, 2018
Linux command line offers several tools for user management (some of which we've already discussed). One such utility is chage, which lets you tweak password expiry information.
Author: Himanshu Arora •
Tags: linux, shell •
Comments: 8 •
Updated: Aug 14, 2018
The command line is one of the most powerful features of Linux. There exists a sea of Linux command line tools, allowing you to do almost everything you can think of doing on your Linux PC. However, this usually creates a problem: with so many commands available to use, you don't know where and how to start learning them, especially when you are beginner.
Author: howtoforge •
Tags: linux, shell, ubuntu •
Comments: 2 •
Updated: Aug 14, 2018
This tutorial describes how to limit CPU usage in Ubuntu 18.04 LTS. I will use CPU-limit utility for this purpose. Cpulimit is a tool which limits the CPU usage of a process (expressed in percentage, not in CPU time). It is useful to control batch jobs when you don't want them to eat too many CPU cycles. The goal of cpulimit is to prevent a process from running for more than a specified time ratio. It does not change the nice value or other scheduling priority settings, but the real CPU usage.