Best Practical examples of using “useradd” Command

User management is one of the most important part of Linux administration. Its everyday job for Linux administrator to create, delete, activate, deactivate and perform other modification operations on users accounts. adduser / useradd are the commands that are used to manage user accounts. adduser command is more interactive it will as you for the…

Users and Groups Management in Linux

User and group management is one of the most basic and crucial part of Linux administration. It covers things like creating, altering. enabling and disabling users, adding or moving users into different groups, creating groups, defining the permissions for users and groups. This article is about how you can manage users and groups in Linux.As…

Working with Cronjobs in Linux

Cronjob is one of the basic and most useful utility that you can find on almost all the Linux distributions.  A cronjob is basically a task scheduled to run at a specific time. For example you can setup a cronjob that will run everyday to take backup of your files. Following are the details on…

Understanding Linux directory structure

Everything is so organized in Linux but when one don’t know the use and purpose of different directories in Linux it becomes messy. Following is a brief on different directories that are present in Linux and what they are used for. / :  is the parent directory for all the other present directories in Linux….

How to disable password prompt for “sudo” users

The passwords are for security but sometimes they become annoying to you may want to disable password prompt for sudo user because you have already setup key based authentication or you don’t want system to ask for password once you successfully login to it. Following is how you can disable sudo password prompt. Edit the…

How to Setup password less Login on Linux

Password less or Key based authentication is when you don’t need to provide the password to login to another system, instead password you provide the private key. In passwordless authentication you don’t need to worry about remembering / managing your password but still you need to keep you private key safe. Following are the steps…

Vim basic Commands / file operations

Edit a file with vim open the file with vim filename Go to Insert mode press “i” Update the file content. Press ESC then write :wq to save and quit the editor Copy or Cut and Paste a Line in Vim Bring your cursor to the line you want to copy Press yy and line…

Editing / Saving a file with Vim editor on Linux

Vim is one of the best text editor on Linux Vim works with different modes such as visual, Insert, select, command line and Ex-mode. Following are the details on how you can perform different file operations with Vim. Editing a file with Vim Editor # vim /etc/hosts As soon as you open an image with…