Linux Tutorials on the topic “shell”
-
Setup New User and SSH Key Auth. using Ansible on Ubuntu 18.04
Author: Muhammad Arul • Tags: linux, server, shell, ubuntu • Comments: 17
Ansible is a simple automation tool that automates software applications deployment, cloud provisioning, and configuration management. It's a server orchestration tool that helps you to manage and control a large number of server nodes from single places called 'Control Machines'. In this tutorial, we will learn how to deploy a new user and enable the SSH Key-Based authentication using the automation tool Ansible.
-
Linux tac Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2
We've already discussed the Linux cat command in one of our earlier tutorials. As you may be aware, the cat command is mainly used for displaying file contents in output. However, what you may not be aware of is that there exists a command that does exactly opposite of what cat does. The tool in question is tac, and in this tutorial, we will discuss its basics using some easy to understand examples.
-
Linux tail Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1
Sometimes you want to monitor what new information is being written to a file (think of log files), or for whatever reasons, want to access the last few lines of a file. Well, there's a command line utility that lets you do this in Linux, and it's call tail.
-
-
Linux uname Command Tutorial for Beginners (8 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
Regardless of whether you are a system admin, software developer, or a normal Linux user, you may find yourself in a situation where you need some system information like kernel release or version. Well, there exists a built-in command line utility - dubbed uname - that lets you do this.
-
Linux w Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
If you are new to Linux system administration, you should be aware of tools that help you in user management. One such utility is w, which shows info about users that are currently logged in to a system, including what they are doing. In this article, we will discuss this tool using some easy to understand examples.
-
Linux which and whoami Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1
There are certain Linux utilities that are aimed at performing a single task and hence offer very few or no command line options. Two such tools are which and whoami. In this tutorial, we will discuss these commands using some easy to understand examples.
-
Linux shutdown Command Explained with Examples
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
In this tutorial, we will discuss the basics of the Linux shutdown command using some easy to understand examples.
-
Checking Package Dependencies with apt-rdepends on Debian and Ubuntu
Author: Falko Timme • Tags: debian, shell, ubuntu • Comments: 1
This guide shows how you can check the dependencies of a package with the tool apt-rdepends on Debian and Ubuntu systems. The great thing about apt-rdepends is that it resolves dependencies recursively, i.e., not only does it show the direct dependencies of a package, but also the dependencies' dependencies. This is great, for example, if you want to rebuild a package from the sources, etc.
-
Linux nproc Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
Every process that's executed on a computer system requires CPU to do what it is expected to do. There may be times when your system's CPU is overloaded (due to the number or kind of processes running on the system), and for whatever reason, you want to know the number of available processing units for new processes. Well, there's a tool dubbed nproc that you can use to confirm this information.
-
Linux more Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
Sometimes, while working on the command line, you'll see outputs produced by commands in certain cases are so large that they don't fit into the screen area, and hence, you get to see only the last part of the output (as the initial part scrolls past the screen). Thankfully, there are utilities that are specifically designed to help you in such cases, and one of them is more.