How To Quickly Execute Long Commands From Linux Terminal History

Are you tired of typing those long commands in the Linux terminal again and again? Are you sick of pressing the ‘Up’ cursor key repeatedly to recall a desired command from the terminal history? Here’s what to do: 1. Press ‘Ctrl’ + ‘R’ keys simultaneously at the Linux terminal to display ‘(reverse-i-search)’ – 2. Type the first few...

Linux Command Line Basics: Part 3

In today’s post we will learn how to manage users and groups. For those of you who are new to this site, do read the first part and the second part of the Linux command line basics before continuing. Let’s get started- 1. adduser – Add user. Syntax is ‘sudo adduser <user name>’. We need to use ‘sudo’ as root privileges are required to run this command....