How to Specify Time Limit for a Sudo Session

How to set a sudo timeout

While working with the sudo command for performing administrative tasks in Linux, you might have noticed that even if you have provided sudo password a while ago, you are asked to provide it again after some time. This happens because of the time limit of your sudo session, which is set to 15 minutes by … Read more

Commenting Out/Uncommenting a Line in Ubuntu Configuration File

Comment or uncomment line in config file

Linux, like all operating systems, keeps initial/default settings and configuration parameters for its programs in the form of configuration files. These files are used to configure software applications, server processes and OS settings for your system. As Linux administrators, you can edit these files in various ways; one of them being commenting or uncommenting a … Read more

Copying and Pasting Text onto the Linux Terminal

Copy and paste text to Linux terminal

While working with the Terminal, we sometimes require copying a long command, file name or text from the web, a tutorial, or simply from some text file. You might have observed that the simple pasting control, Ctrl+V does not work in the Terminal. We all know that copying a text requires selecting it and then … Read more

How to Work with Nano Editor on Linux

File editing with nano on Linux

What is Nano editor The Nano editor is a simple, display-oriented and free text editor that comes by default with all Linux operating systems. It is a good alternative to the non-free Pico which comes by default with the Pine package. The programs such as Vi and emacs might be more powerful, but the smart … Read more