Home Linux Commands

Linux Commands

Run only Specific Commands with sudo in Linux

4
Run only Specific Commands with sudo in Linux
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...

How to copy paste lines in vim

0
How to copy paste lines in vim
Follow this tutorial to learn how to copy paste lines in vim. VIM, an acronym for Vi iMproved, is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X. Vim is featureful with the following being among its features: persistent,...

Connect to WiFi in Linux Using NMCLI command

2
Install and use NMCLI tool on Debian Linux
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...

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

Linux Commands Cheat Sheet

0
To have a full grip on your device, it is important to have a reliable operating system.  Managing memory, storage or CPU is a task that a good quality OS will execute easily. When choosing the operating system that meets your needs, you must look at the characteristics and commands that are important to your type of work. Take...

Make Permanent DNS Changes on resolv.conf in Linux

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

Create User Account using useradd/adduser commands in Linux

0
In this tutorial, you will learn how to create user account using useradd/adduser commands in Linux. User management is one of the most common task in Linux system administration. Creating users, setting up their environments, setting passwords, managing their groups, deleting users etc are all tasks surrounding user management in Linux. Having the ability to manage users in LInux...

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

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

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

1
install zsh oh-my-zsh ubuntu
In this tutorial, we are going to learn how to install and setup Zsh and Oh-my-Zsh on Ubuntu 20.04/Ubuntu 22.04. Install and Setup ZSH and Oh-My-Zsh on Ubuntu 20.04/Ubuntu 22.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,...