Linux Commands

Linux distrinutions are primarily user either rpm or deb for their packages. This articles discusses uses of dpkg and rpm

Ncdu is a disk usage analyzer with an ncurses interface. It is command line utility which has a better and easier to use interface compared to the basic command 'du'

рдПрдХ рдЧреНрдиреНрдпреВ/рд▓рд┐рдирдХреНрд╕ рдпреВрдЬрд░/рдПрдбрдорд┐рдирд┐рд╕реНрдЯреНрд░реЗрдЯрд░ рд╣реЛрддреЗ рд╣реБрдП рдЖрдкрдХреЛ рдХрднреА рдирд╛ рдХрднреА рдХрдорд╛рдВрдб рд▓рд╛рдЗрди рдкрд░ рдХрд╛рдо рдХрд░рдирд╛ рд╣реА рдкрдбрд╝реЗрдЧрд╛ ред рдЧреНрдиреНрдпреВ/рд▓рд┐рдирдХреНрд╕ рд╕рд┐рд╕реНрдЯрдо рдореЗрдВ рд╕реИрдХрдбрд╝реЛрдВ рдХрдорд╛рдВрдб рд╣реЛрддреА рд╣реИ ред рдХрднреА рдирд╛ рдХрднреА рдЖрдкрдХреЛ рдЗрди рдХрдорд╛рдВрдб рдХреА рдмрд╛рд░реЗ рдореЗрдВ рдЕрдзрд┐рдХ рдЬрд╛рдирдХрд╛рд░реА рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рдкрдбрд╝реЗрдЧреАред рдпрд╛ рдлрд┐рд░ рдХрднреА рдЖрдкрдХреЛ рдпрд╣ рдкрддрд╛ рд▓рдЧрд╛рдиреЗ рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рд╣реЛрддреА рд╣реИ рдХрд┐ рдЬреЛ рдХрд╛рдо рдЖрдк рдХрд░рдирд╛ рдЪрд╛рд╣рддреЗ рд╣реИрдВ рдЙрд╕рдХреЗ рд▓рд┐рдП рдХреЛрдИ рдХрдорд╛рдВрдб рдЙрдкрд▓рдмреНрдз рд╣реИ рдХреНрдпрд╛ред

As an administrator/user of GNU/Linux you will be working on the command line one or the other time. There are hundreds of commands available in the system and each command has multiple options. Once in a while we need help on these command or sometime we need to find out if there is a command to do something which we want to get done.

As an administrator or GNU/Linux enthusiast you might come across a requirement of logging information from you shell scripts into files whenever they are run.  We would love to do this if the files created have a unique name and also give out information when it was created.

In this post we will see how we can achieve that.

рдЧреНрдиреНрдпреВ/рд▓рд┐рдирдХреНрд╕ рдПрдбрдорд┐рдирд┐рд╕реНрдЯреНрд░реЗрдЯрд░ рд╣реЛрддреЗ рд╣реБрдП рдЖрдкрдХреЛ рдХрднреА рдирд╛ рдХрднреА рд╢реЗрд▓ рд╕реНрдХреНрд░рд┐рдкреНрдЯ рдХреЗ рдЬрд░рд┐рдП рдлрд╛рдЗрд▓ рдмрдирд╛рдиреЗ рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рдкрдбрд╝реЗрдЧреА рдЗрд╕ рдлрд╛рдЗрд▓ рдХрд╛ рдирд╛рдо рдпреВрдирд┐рдХ рд╣реЛрдирд╛ рдЪрд╛рд╣рд┐рдП рдФрд░ рдЗрд╕реА рдлрд╛рдЗрд▓ рдореЗрдВ рд╢реЗрд▓ рд╕реНрдХреНрд░рд┐рдкреНрдЯ рд╕реЗ рдЖрдк рдЗрдВрдлреЙрд░реНрдореЗрд╢рди рдХреИрд╕реЗ рд▓рд┐рдЦреЗрдВрдЧреЗ редрдЖрдЗрдП рдЗрд╕ рдкреЛрд╕реНрдЯ рдореЗрдВ рджреЗрдЦреЗрдВред

Some or the other time as a sys admin you will come across a need to add multiple users to your Linux system. So the question is how to do the same.

Let us see how we can do the same in this post.

We will assume that N number of users are to be added with a standard prefix or suffix and values incrementing with numbers. e.g.  employee27... emp28.. etc

The command to add a user is useradd

The command can be simply run as:

With CD/DVD drives almost gone from our systems, the easiest way today to install a new system is via a USB pen drive. This article guides you how to create a bootable pen drive of a Linux ISO image, so that you are able to boot and install from the same.

Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions