SlideShare a Scribd company logo
Linux Basic Commands Tutorial
There are many common Linux commands that will be helpful to you, if you ever even use the command
line interface in Linux. Most average users just use the graphical user interface instead which usually has
many tools and front-ends to Linux common commands. This Linux tutorial on command commands will
help even the average user in case X server crashes, fails, is not properly configured, etc. So continue
reading for some of the more common Linux bash commands.
Some of the more common Linux shell commands are listed below for more information on each
command you can always run man [command] and this will bring up the manpage for that command,
you can also click on the commands listed for some common examples and syntax.
First before I list them any syntax in [] will need some kind of input from you normally, for example:
man [command] you will want to actually replace [command] with the shell command you want to read
the man page for: man ls will give you the man page for the Linux shell command ls.
linux ls command – is used to list files on the filesystem.
file – command that will check the filetype, this will output to you what the file type is no matter what
the extension is.
mkdir command – used to make directories on the filesystem.
cd – is used for changing into a different directory in the Linux shell
cp – is the Linux copy command, this shell command is used to copy files|directories from one location
on the filesystem to another.
mv – the Linux terminal command to move files|directories. Like the cp command, but deletes the
original source.
rm – shell command in Linux to remove files|directories.
Linux cat command- this command is used to print|view the contents of a file to the screen|terminal.
grep – command used to search|find contents of a file and print|view on your terminal|screen.
Linux more and less – commands that will allow you to read output of files, unlike cat that will output
the entire file at once, even if it is too large for your terminal more and less will output only as many
lines as the shell you are in can output, and allow you to scroll through the file contents.
chown – Linux command to change ownership of a file|directory.
Linux chmod – command that allows you to change mode of user access|permissions, basically set read,
write, and execute permissions.
Linux ps – lists the current running processes on your Linux system
Linux kill and killall commands – used to kill|terminate running processes

More Related Content

ODP
Linux commands
PPT
Linux presentation
PPTX
Linux commands
PPTX
Linux basics part 1
PPT
Linux Commands
PPT
Linux Administration
PDF
Linux Presentation
PPTX
Basics of-linux
Linux commands
Linux presentation
Linux commands
Linux basics part 1
Linux Commands
Linux Administration
Linux Presentation
Basics of-linux

What's hot (20)

PDF
An Introduction To Linux
PPTX
Unix Linux Commands Presentation 2013
PDF
Quick Guide with Linux Command Line
PPTX
Linux Command Suumary
PPTX
Terminal Commands (Linux - ubuntu) (part-1)
PDF
50 most frequently used unix linux commands (with examples)
ODP
Linux Introduction (Commands)
DOC
Some basic unix commands
PPT
Linux
PDF
Useful Linux and Unix commands handbook
PPT
PPT
Basic 50 linus command
PPT
Unix/Linux Basic Commands and Shell Script
PPTX
Unix OS & Commands
PPTX
Linux Presentation
PDF
17 Linux Basics #burningkeyboards
PPT
Linux commands
PPTX
Linux basics
PPT
A Quick Introduction to Linux
PPTX
Linux.ppt
An Introduction To Linux
Unix Linux Commands Presentation 2013
Quick Guide with Linux Command Line
Linux Command Suumary
Terminal Commands (Linux - ubuntu) (part-1)
50 most frequently used unix linux commands (with examples)
Linux Introduction (Commands)
Some basic unix commands
Linux
Useful Linux and Unix commands handbook
Basic 50 linus command
Unix/Linux Basic Commands and Shell Script
Unix OS & Commands
Linux Presentation
17 Linux Basics #burningkeyboards
Linux commands
Linux basics
A Quick Introduction to Linux
Linux.ppt
Ad

Viewers also liked (8)

PPT
Linux command ppt
DOCX
Linux basic commands
PDF
Linux Basic Commands
PDF
Basic linux commands
DOCX
15 practical grep command examples in linux
DOCX
Learning Grep
PPT
Basic command ppt
ODP
An Introduction to Linux
Linux command ppt
Linux basic commands
Linux Basic Commands
Basic linux commands
15 practical grep command examples in linux
Learning Grep
Basic command ppt
An Introduction to Linux
Ad

Similar to Linux basic commands tutorial (20)

PDF
LinuxCommands (1).pdf
PPTX
Basic Linux Commands and implementation with Examples
PPTX
Basic Linux Commands with syntax and functions
PPTX
Linux commands
PPTX
linux command1234_LINUX COMMANDS _1.pptx
PPTX
Linux week 2
PPTX
linuxcommands-140828081047-phpapp01.pptx
PPTX
Lab 3 -Linux Files, Directories and Basic Commands.pptx
PPTX
Unix Shell Script - 2 Days Session.pptx
PPT
Linux commands
PPTX
Linux basics
PPTX
linux commands that might be helpful.pptx
PDF
linux commands.pdf
PPTX
PPTX
various shell commands in unix operating system.pptx
PDF
linuxcommands-140828081047-phgpapp01.pdf
PPTX
Linux Commands all presentation file .pptx
PPTX
Linux Command.pptx
DOCX
40 important command for linux
PPT
LINUX
LinuxCommands (1).pdf
Basic Linux Commands and implementation with Examples
Basic Linux Commands with syntax and functions
Linux commands
linux command1234_LINUX COMMANDS _1.pptx
Linux week 2
linuxcommands-140828081047-phpapp01.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Unix Shell Script - 2 Days Session.pptx
Linux commands
Linux basics
linux commands that might be helpful.pptx
linux commands.pdf
various shell commands in unix operating system.pptx
linuxcommands-140828081047-phgpapp01.pdf
Linux Commands all presentation file .pptx
Linux Command.pptx
40 important command for linux
LINUX

More from Teja Bheemanapally (20)

PDF
PPTX
DOCX
Linux or unix interview questions
DOCX
Linux notes
DOCX
Linux crontab
PPTX
Linux01122011
PPTX
Kernel (computing)
DOCX
Installing red hat enterprise linux1
DOCX
In a monolithic kerne1
PDF
Common linuxcommandspocketguide07
DOCX
50 most frequently used unix
PDF
Basic commands
DOCX
File system hierarchy standard
DOCX
40 basic linux command
DOCX
15 practical grep command examples in linux
DOCX
25 most frequently used linux ip tables rules examples
PDF
Shell intro
DOCX
6 stages of linux boot process
PPTX
Kernel (computing)
DOCX
Installing red hat enterprise linux1
Linux or unix interview questions
Linux notes
Linux crontab
Linux01122011
Kernel (computing)
Installing red hat enterprise linux1
In a monolithic kerne1
Common linuxcommandspocketguide07
50 most frequently used unix
Basic commands
File system hierarchy standard
40 basic linux command
15 practical grep command examples in linux
25 most frequently used linux ip tables rules examples
Shell intro
6 stages of linux boot process
Kernel (computing)
Installing red hat enterprise linux1

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
01-Introduction-to-Information-Management.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Business Ethics Teaching Materials for college
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
RMMM.pdf make it easy to upload and study
01-Introduction-to-Information-Management.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Business Ethics Teaching Materials for college
O5-L3 Freight Transport Ops (International) V1.pdf
Insiders guide to clinical Medicine.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Microbial disease of the cardiovascular and lymphatic systems
TR - Agricultural Crops Production NC III.pdf
Anesthesia in Laparoscopic Surgery in India

Linux basic commands tutorial

  • 1. Linux Basic Commands Tutorial There are many common Linux commands that will be helpful to you, if you ever even use the command line interface in Linux. Most average users just use the graphical user interface instead which usually has many tools and front-ends to Linux common commands. This Linux tutorial on command commands will help even the average user in case X server crashes, fails, is not properly configured, etc. So continue reading for some of the more common Linux bash commands. Some of the more common Linux shell commands are listed below for more information on each command you can always run man [command] and this will bring up the manpage for that command, you can also click on the commands listed for some common examples and syntax. First before I list them any syntax in [] will need some kind of input from you normally, for example: man [command] you will want to actually replace [command] with the shell command you want to read the man page for: man ls will give you the man page for the Linux shell command ls. linux ls command – is used to list files on the filesystem. file – command that will check the filetype, this will output to you what the file type is no matter what the extension is. mkdir command – used to make directories on the filesystem. cd – is used for changing into a different directory in the Linux shell cp – is the Linux copy command, this shell command is used to copy files|directories from one location on the filesystem to another. mv – the Linux terminal command to move files|directories. Like the cp command, but deletes the original source. rm – shell command in Linux to remove files|directories. Linux cat command- this command is used to print|view the contents of a file to the screen|terminal. grep – command used to search|find contents of a file and print|view on your terminal|screen. Linux more and less – commands that will allow you to read output of files, unlike cat that will output the entire file at once, even if it is too large for your terminal more and less will output only as many lines as the shell you are in can output, and allow you to scroll through the file contents. chown – Linux command to change ownership of a file|directory. Linux chmod – command that allows you to change mode of user access|permissions, basically set read, write, and execute permissions. Linux ps – lists the current running processes on your Linux system
  • 2. Linux kill and killall commands – used to kill|terminate running processes