Wednesday, April 21, 2021

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

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

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

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

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

Install and Use 7zip on Ubuntu 18.04/Ubuntu 20.04

1
In this tutorial, we are going to learn how to install and use 7zip on Ubuntu 18.04/Ubuntu 20.04. 7zip is a free and open-source file archiver with a high compression ratio. The program supports 7z, LZMA2, XZ, ZIP, Zip64, CAB, RAR, ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. Compression ratio in the new...

Install Foxit PDF Reader on Ubuntu 20.04

3
In our today's guide, we are going to learn how to install Foxit PDF reader on Ubuntu 20.04. Foxit PDF reader is available in both Free and Enterprise editions. Some of the features provided by Foxit PDF reader include but not limited to; Intuitive User InterfaceCustomize ToolbarTouch Screen SupportPDF PortfoliosForm FillingForm Data Import/ExportParticipate in Shared ReviewComments ToolsManage CommentsInsert Images, Videos,...

Make Permanent DNS Changes on resolv.conf in Linux

0
make DNS permanent changes on resolv.conf in Linux
Follow through this guide to learn how to make DNS permanent changes on resolv.conf in Linux. According to man resolv.conf, resolv.conf is a resolver configuration file. The resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file contains information that is read by the resolver...

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. Restrict SFTP User Access to...

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