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

What's hot (20)

PDF
An Introduction To Linux
Ishan A B Ambanwela
 
PPTX
Unix Linux Commands Presentation 2013
Wave Digitech
 
PDF
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
PPTX
Linux Command Suumary
mentorsnet
 
PPTX
Terminal Commands (Linux - ubuntu) (part-1)
raj upadhyay
 
PDF
50 most frequently used unix linux commands (with examples)
Rodrigo Maia
 
ODP
Linux Introduction (Commands)
anandvaidya
 
DOC
Some basic unix commands
aaj_sarkar06
 
PPT
Linux
Kevin James
 
PDF
Useful Linux and Unix commands handbook
Wave Digitech
 
PPT
Linux
Hema Prasanth
 
PPT
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
PPT
Unix/Linux Basic Commands and Shell Script
sbmguys
 
PPTX
Unix OS & Commands
Mohit Belwal
 
PPTX
Linux Presentation
Muhammad Qazi
 
PDF
17 Linux Basics #burningkeyboards
Denis Ristic
 
PPT
Linux commands
Hemakumar.S
 
PPTX
Linux basics
Geeta Vinnakota
 
PPT
A Quick Introduction to Linux
Tusharadri Sarkar
 
PPTX
Linux.ppt
onu9
 
An Introduction To Linux
Ishan A B Ambanwela
 
Unix Linux Commands Presentation 2013
Wave Digitech
 
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
Linux Command Suumary
mentorsnet
 
Terminal Commands (Linux - ubuntu) (part-1)
raj upadhyay
 
50 most frequently used unix linux commands (with examples)
Rodrigo Maia
 
Linux Introduction (Commands)
anandvaidya
 
Some basic unix commands
aaj_sarkar06
 
Linux
Kevin James
 
Useful Linux and Unix commands handbook
Wave Digitech
 
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
Unix/Linux Basic Commands and Shell Script
sbmguys
 
Unix OS & Commands
Mohit Belwal
 
Linux Presentation
Muhammad Qazi
 
17 Linux Basics #burningkeyboards
Denis Ristic
 
Linux commands
Hemakumar.S
 
Linux basics
Geeta Vinnakota
 
A Quick Introduction to Linux
Tusharadri Sarkar
 
Linux.ppt
onu9
 

Viewers also liked (8)

PPT
Linux command ppt
kalyanineve
 
DOCX
Linux basic commands
Teja Bheemanapally
 
PDF
Linux Basic Commands
Hanan Nmr
 
PDF
Basic linux commands
Shakeel Shafiq
 
DOCX
15 practical grep command examples in linux
Teja Bheemanapally
 
DOCX
Learning Grep
Vikas Kumar CSM®
 
PPT
Basic command ppt
Rohit Kumar
 
ODP
An Introduction to Linux
anandvaidya
 
Linux command ppt
kalyanineve
 
Linux basic commands
Teja Bheemanapally
 
Linux Basic Commands
Hanan Nmr
 
Basic linux commands
Shakeel Shafiq
 
15 practical grep command examples in linux
Teja Bheemanapally
 
Learning Grep
Vikas Kumar CSM®
 
Basic command ppt
Rohit Kumar
 
An Introduction to Linux
anandvaidya
 
Ad

Similar to Linux basic commands tutorial (20)

PPTX
18 LINUX OS.pptx Linux command is basic isma
perweeng31
 
PPTX
Linux week 2
Vinoth Sn
 
PPTX
linux system administration for system admin jobs
Bibhushanrabha
 
PPTX
Linux commands
penetration Tester
 
PPT
Linux commands and file structure
Sreenatha Reddy K R
 
PPT
linux-lecture4.pptuyhbjhbiibihbiuhbbihbi
YajnadattaPattanayak
 
PPT
Linux commands
Ajaigururaj R
 
PPT
Linux commands
Hemakumar.S
 
PPT
linux-lecture4.ppt
LuigysToro
 
PDF
Module 02 Using Linux Command Shell
Tushar B Kute
 
PPT
Linux commands
U.P Police
 
PPT
3. intro
Harsh Shrimal
 
PPT
cisco
edomaldo
 
PDF
60761 linux
Ritika Ahlawat
 
PDF
Operating system lab manual
Meerut Institute of Technology
 
PDF
Linux Cheat Sheet.pdf
roschahacker
 
PDF
LinuxCommands (1).pdf
AnkitKushwaha792697
 
PPT
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
KesavanT10
 
PPTX
Linux Systems Programming: Ubuntu Installation and Configuration
RashidFaridChishti
 
PPTX
Group13
21MX213OMRAJUV
 
18 LINUX OS.pptx Linux command is basic isma
perweeng31
 
Linux week 2
Vinoth Sn
 
linux system administration for system admin jobs
Bibhushanrabha
 
Linux commands
penetration Tester
 
Linux commands and file structure
Sreenatha Reddy K R
 
linux-lecture4.pptuyhbjhbiibihbiuhbbihbi
YajnadattaPattanayak
 
Linux commands
Ajaigururaj R
 
Linux commands
Hemakumar.S
 
linux-lecture4.ppt
LuigysToro
 
Module 02 Using Linux Command Shell
Tushar B Kute
 
Linux commands
U.P Police
 
3. intro
Harsh Shrimal
 
cisco
edomaldo
 
60761 linux
Ritika Ahlawat
 
Operating system lab manual
Meerut Institute of Technology
 
Linux Cheat Sheet.pdf
roschahacker
 
LinuxCommands (1).pdf
AnkitKushwaha792697
 
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
KesavanT10
 
Linux Systems Programming: Ubuntu Installation and Configuration
RashidFaridChishti
 
Ad

More from Teja Bheemanapally (20)

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

Recently uploaded (20)

PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPT
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Introduction to Indian Writing in English
Trushali Dodiya
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Difference between write and update in odoo 18
Celine George
 
Controller Request and Response in Odoo18
Celine George
 
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Introduction presentation of the patentbutler tool
MIPLM
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 

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