Command Description i Insert at cursor (goes into insert mode) a Write after cursor (goes into insert mode) A Write at the end of line (goes into insert mode) ESC Terminate insert mode u Undo last change U Undo all changes to the entire line o Open a new line (goes into insert mode) dd …
Start reading VI Editing CommandsCategory: Uncategorized
Command Description bg To send a process to the background fg To run a stopped process in the foreground top Details on all Active Processes ps Give the status of processes running for a user ps PID Gives the status of a particular process pidof Gives the Process ID (PID) of a process kill PID …
Start reading Process commandCommand Description SSH username@ip-address or hostname login into a remote Linux machine using SSH Ping hostname=”” or =”” To ping and Analyzing network and host connections dir Display files in the current directory of a remote computer cd “dirname” change directory to “dirname” on a remote computer put file upload ‘file’ from local to remote …
Start reading Networking commandCommand 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 linuxCommand Description echo $VARIABLE To display value of a variable env Displays all environment variables VARIABLE_NAME= variable_value Create a new variable Unset Remove a variable export Variable=value To set value of an environment variable
Start reading Environment Variables commandCommand Description ls-l to show file type and access permission r read permission w write permission x execute permission -= no permission Chown user For changing the ownership of a file/directory Chown user:group filename change the user as well as group for a file or directory
Start reading File Permission commandsCommand Description ls Lists all files and directories in the present working directory ls-R Lists files in sub-directories as well ls-a Lists hidden files as well ls-al Lists files and directories with detailed information like permissions,size, owner, etc. cd or cd ~ Navigate to HOME directory cd .. Move one level up cd To change …
Start reading Basic Linux commandsWe can use the shell commands such as echo, awk, etc to perform the calculation. Addition using echo command. $ echo $((5+5)) 10
Start reading How to perform calculation in Linux using Linux Shell 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?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?