Wednesday, April 1, 2020

Installing Perf Performance Analysis Tool on CentOS 8

0
In this guide, we are going to learn on installing Perf Performance Analysis Tool on CentOS 8. Perf aka perf_events aka perf tools is a powerful performance counters monitoring tool 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...

Restrict SFTP User Access to Specific Directories in Linux

0
In this guide, we are going to learn how to restrict SFTP user access to specific directories in Linux systems. SFTP, an acronym for Secure File Transfer Protocol is a secure file transfer protocol that runs over SSH. It offers all the features offered by the legacy FTP protocol but in a more secure manner.

Run only Specific Commands with sudo in Linux

1
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

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...

Using Find Command to Search for Files and Directories in Linux

1
Welcome to our guide on using find command to search for files and directories in Linux. find is a command-line utility that searches one or more directory trees of a file system, locates files based on some user-specified criteria and applies a user-specified action on each matched file. It can also be use with other Linux/Unix commands to...

Connect to WiFi in Linux Using NMCLI command

1
This tutorial will guide you on how to connect to WiFi in Linux using NMCLI command. NMCLI is a command-line tool for controlling NetworkManager and reporting network status. It can be utilized as a replacement for nm-applet or other graphical clients. It is used to create, display, edit, delete, activate, and deactivate network connections, as well as...

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...

Delete Lines Matching a Specific Pattern in a File using SED

0
In this guide, we are going to learn how to delete lines matching a specific pattern in a file using SED. SED is a stream editor that performs basic text filtering and transformations on an input stream (a file or input from a pipeline). Delete Lines Matching a Specific Pattern in a File using SED In our previous guide, we covered...

Delete Lines Matching Specific Pattern in a File using VIM

1
This guide will take you through how to delete lines matching specific pattern in a file using VIM. Linux system admins work with files day in day out. At some point, you may want just to delete lines matching a specific pattern or a string in a file. There are quite a number of tools out there that you...

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,...