Wednesday, April 21, 2021

How to Add Users to sudo group in Linux

2
In this guide, we are going to learn how to add users to sudo group in Linux. More often than not, you want, as a non-root user, to run commands with elevated privileges in Linux. So the only way this can happen is to give user sudo privileges by adding them to a sudo group or to sudoers file. How...

Check directory usage with du Command in Linux

0
Check directory usage with du Command in Linux
In this tutorial, you will learn how to check directory usage with du command in Linux. du, an acronym for disk usage can help you as a Linux Users or an administrator to check and report which files or directories are consuming how much disk space in the Linux system. Syntax: du ... ... Check directory usage with du Command in...

Extract Log Lines of Specific Dates from a Log File

1
Good day folks. Today, we would like to discuss how to extract log lines of specific dates from a log file. If you are a guy that sifts through a thousand logs in between the lines looking for something, then this article will best suit you. Extract Log Lines of Specific Dates from a Log File In this guide, we are...

Install Cheat Command on Ubuntu 20.04

0
In this tutorial, you will learn how to install cheat command on Ubuntu 20.04. Cheat is a Python based command line utility that allows you to create and view interactive cheat sheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember. Install Cheat Command...

Example Usage of ls Command in Linux

0
Example Usage of ls Command in Linux
In this tutorial you will learn how to use ls command in Linux/Unix Operating Systems. ls command is used to list files or directories contents from the command line (CLI). Through ls command, we obtain information about the files in the current or in any other directory. Command line syntax of ls command. ls ... … Let’s dig in. List Current Directory Contents Open...

Install and Setup ZSH and Oh-My-Zsh on Ubuntu 20.04

1
In this tutorial, we are going to learn how to install and setup Zsh and Oh-my-Zsh on Ubuntu 20.04. Z shell (ZSH) Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. It incorporates features of other shells such as Bash, tcsk, ksh. Some of the features include; Smart command TAB auto-completionImproved...

Example Usage of ps Command in Linux

0
Example Usage of ps Command in Linux
This guide will take you through various example usage of ps command in Linux/Unix system. ps, an acronym for Processes Status is a utility used to display running processes on Linux/Unix systems system. It reports a snapshot of the current system processes. Syntax: ps ps accepts three types of options: 1.UNIX options, which may be grouped and must be...

Run only Specific Commands with sudo in Linux

2
In this guide, you are going to learn how to run only specific commands with sudo in Linux. Our previous guide covered how to add user to sudo group to enable them to execute the commands with elevated privileges. How to Add Users to sudo group in Linux So it is possible to enable a user to run only specific commands with...

Installing Perf Performance Analysis Tool on Ubuntu 18.04

1
Good day all. This guides is about installing Perf performance analysis tool on Ubuntu 18.04. Perf, also known as perf_events is a powerful performance counter for Linux systems that gathers data about hardware events such as instructions executed, branches mispredicted or cache-misses suffered. It also provides very low overhead profiling of applications to trace dynamic control flow and identify hotspots,...

Upgrade a Single Package on CentOS/Fedora

0
Upgrade a Single package on Ubuntu
Want to upgrade a single package on CentOS/Fedora systems? Worry not, because, CentOS/Fedora or any other RHEL based distribution provides a way to upgrade a single package using the yum command. Upgrade a Single Package on CentOS/Fedora Usually, CentOS/Fedora or any other RHEL based distribution provides the yum update command for updating system packages. When you run the yum update, all system packages...