Blog

User management commands of linux

Command Description sudo adduser username To display value of a variable sudo passwd -l ‘username’ Displays all environment variables sudo userdel -r ‘username’ Create a new variable sudo usermod -a -G GROUPNAME USERNAME Remove a variable sudo deluser USER GROUPNAME To set value of an environment variable finger Gives information on all logged in user …

Start reading User management commands of linux

How to perform calculation in Linux using qalc command?

Qalculate is a multi-purpose cross-platform desktop calculator. It is simple to use but provides power and versatility normally reserved for complicated math packages, as well as useful tools for everyday needs (such as currency conversion and percent calculation). Features include a large library of customizable functions, unit calculations and conversion, symbolic calculations (including integrals and …

Start reading How to perform calculation in Linux using qalc command?

How to perform calculation in Linux using gcalccmd command?

gnome-calculator is the official calculator of the GNOME desktop environment. gcalccmd is the console version of Gnome Calculator utility. By default it has installed in the GNOME desktop. gcalccmd Command to perform calculationI have added few examples on this. $ gcalccmd 5+16 5-14 5*210 10/25 sqrt(16)4 3/50.6 quit

Start reading How to perform calculation in Linux using gcalccmd command?

How to perform calculation in Linux using expr command?

Print the value of EXPRESSION to standard output. A blank line below separates increasing precedence groups. It’s part of core utils so, we no need to install it. expr command to perform calculation :Use the following format for basic calculations. For addition $ expr 5 + 16For subtraction $ expr 5 – 14For division. $ …

Start reading How to perform calculation in Linux using expr command?

How to perform calculation in Linux using calc command?

calc is an arbitrary precision calculator. It’s a simple calculator that allow us to perform all kind of calculation in Linux command line. For Fedora system, use DNF Command to install calc. $ sudo dnf install calcFor Debian/Ubuntu systems, use APT-GET Command or APT Command to install calc. $ sudo apt install calcFor Arch Linux …

Start reading How to perform calculation in Linux using calc command?