Linux Commands more than 100

Practice more than 100 common and very important Linux command. This is very helpful everyday life for beginners and professionals every one. Now you can practice more and more than you will learn and create your skill so much smart.

More than 100 linux command below :

# alias

Converts complex commands into simpler one

# bzip2 / bunzip2

Compresses a file / Deompress a bzip2 file.

# bzcat / bzmore

Displays files compressed with bzip2.

# cal

Displays calendar.

# cat

It is a multi-function command.


# cd

Changes current working directory.

# chage

Sets an expiration date for a user account.

# chgrp

Changes group.

# chmod

Changes permission for a file or directory.

# chown

Changes the owner of a file or directory.

# chsh

Changes the shell.

# clear

Clears the terminal.

# comm

Compares two streams or files.

# cp

It means copy file content from one file to other file.

# cut

Used to display desired column from a file.

# date

Displays current date.

# df

Checks the disk space in system.

# echo

Prints the typed word on terminal.

# exit

Exits from the current user group to the last group.

# export

Exports shell variables to other shell.

# file

Displays the type of file.

# find

Finds files for a particular search.

# gpasswd

Transfers group membership to another user.

# grep

Filters lines of text containing a certain string.

# groupadd

Creates a group.

# groupdel

Permanently removes a group.

# groupmod

Changes group name.

# groups

It displays the group name to which current user belongs to.

# gzip / gunzip

Compresses a file / Decompress a gzip file.

# head

Displays first ten lines of a file.

# history

Displays older commands from shell command history.

# HISTSIZE

The number of commands to be stored in current environment.

# HISTFILE

Displays the file that contains the history.

# HISTFILESIZE

The number of commands kept in history file set.

# id

Tells about the user’s id in the system.

# less

Show file content according to the width of the terminal.

# locate

Searches a file in the database.

# ls

Lists all the files of a directory.

# man

Displays the manual page for the specified command.

# mkdir

Creates directory

# more

Displays one output screen at a time.

# mv

Renames directories or files.

# od

Displays a file content in octal format.

# passwd

Set password for a user group.

# pwd

Display the current working directory location.

# PS1

Change the prompt name in terminal.

# rename

Renames more than one file at once.

# rm

Removes a file.

# rmdir

Removes a directory.

# set -o noclobber

Prevents file from getting overwrite.

# set +o noclobber

Allows overwriting in existing file.

# set -u

Displays undefined variables as error.

# set +u

Displays nothing for undefined variable.

# set -x

Displays shell expansion.

# set +x

Disables shell expansion.

# sed

Performs editing in streams.

# sleep

Waits for the specified number of seconds.

# sort

sorts the content in alphabetical order.

# su

A user to run a shell as another user allow.

# sudo

User to start a program with credentials of another user.

# tac

Displays file content in opposite order.

# tail

Displays last ten lines of a file.

# tar

Compresses a directory.

# tee

stdin on stdout and then into a file.

# time

Displays time taken to execute a command.

# touch

Creates an empty file.

tr #

Translates characters.

# type

Displays information about command type.

# uniq

Multi times repeating lines only once.

# unset

Removes a variable from shell.

# useradd

Adds users.

# userdel

Deletes users.

# usermod

Modifies the properties of a user.

# vi

Opens vi editor to write a program.

# w

Displays who is logged on and what are they doing.

# wc

Counts words, lines and characters.

# who

Tells who is logged on the system.

# whoami

Tells the name of the user.

# who am i

Displays the line pointing to your current session.

# zcat / zmore

Views the files compressed with gzip.

Linux important usable Symbols

& (ampersand)

The shell prompt back without waiting for the command to finish.

; (semicolon)

This commands on the same line separated by (;).

$? (dollar question mark)

Exit code of prevoius command is stored in the form of 0 or 1.

|| (double vertical bar)

Represent a logical OR.

&& (double ampersand)

Represent a logical AND.

# (pound sign)

Consider the words typed after it as comment.

\ (escaping special character)

Enable the use of control characters.

*(asterisk)

Generate output matching to the specified * with any number of characters.

? (question mark)

Generate output matching to the specified ? with exactly one character.

[ ] (square brackets)

This command generate output matching any number of characters between the [].

!! (bang bang)

Repeat last command in bash.

! (bang)

This commands other than the last one in bash.

Now you can practice more and more for your best skill.Thank you.

Leave a Reply