Linux basic commands with examples pdf

There are a countless number linux basic commands with examples pdf commands in Linux. We are bound to use a number of them on a daily routine or numerous times to perform common tasks than others. Linux commands that you’ll find in all if not most mainstream distros. In this article, we will introduce you a list of most frequently used Linux commands with their examples for easy learning.

Command agetty is a program which manages physical or virtual terminals and is invoked by init. Command anacron is a Linux facility used to run commands periodically with a frequency defined in days, weeks and months. It is used to install new software packages, remove available software packages, upgrade existing software packages as well as upgrade entire operating system. Command Awk is a powerful programming language created for text processing and generally used as a data extraction and reporting tool. Command batch is also used to schedule tasks to run a future time, similar to the at command.

Command bg is a command used to send a process to the background. Command The cal command print a calendar on the standard output. Command cat command is used to view contents of a file or concatenate files, or data provided on standard input, and display it on the standard output. Command chgrp command is used to change the group ownership of a file.

Command cksum command is used to display the CRC checksum and byte count of an input file. Command clear command lets you clear the terminal screen, simply type. Command cmp performs a byte-by-byte comparison of two files like this. Command dd command is used for copying files, converting and formatting according to flags provided on the command line. It can strip headers, extracting parts of binary files and so on. Command df command is used to show file system disk space usage as follows.

Command diff command is used to compare two files line by line. Command dir command works like Linux ls command, it lists the contents of a directory. Command dmidecode command is a tool for retrieving hardware information of any Linux system. Command du command is used to show disk space usage of files present in a directory as well as its sub-directories as follows. Command echo command prints a text of line provided to it. CD ROM or floppy disk from the system. Command env command lists all the current environment variables and used to set them as well.