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)

PPTX
18 LINUX OS.pptx Linux command is basic isma
PPTX
Linux week 2
PPTX
linux system administration for system admin jobs
PPTX
Linux commands
PPT
Linux commands and file structure
PPT
linux-lecture4.pptuyhbjhbiibihbiuhbbihbi
PPT
Linux commands
PPT
Linux commands
PPT
linux-lecture4.ppt
PDF
Module 02 Using Linux Command Shell
PPT
Linux commands
PPT
3. intro
PPT
cisco
PDF
60761 linux
PDF
Operating system lab manual
PDF
Linux Cheat Sheet.pdf
PDF
LinuxCommands (1).pdf
PPT
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
PPTX
Linux Systems Programming: Ubuntu Installation and Configuration
PPTX
18 LINUX OS.pptx Linux command is basic isma
Linux week 2
linux system administration for system admin jobs
Linux commands
Linux commands and file structure
linux-lecture4.pptuyhbjhbiibihbiuhbbihbi
Linux commands
Linux commands
linux-lecture4.ppt
Module 02 Using Linux Command Shell
Linux commands
3. intro
cisco
60761 linux
Operating system lab manual
Linux Cheat Sheet.pdf
LinuxCommands (1).pdf
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
Linux Systems Programming: Ubuntu Installation and Configuration

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
Insiders guide to clinical Medicine.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Introduction and Scope of Bichemistry.pptx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Basic Mud Logging Guide for educational purpose
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
English Language Teaching from Post-.pdf
PPTX
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Cell Structure & Organelles in detailed.
Insiders guide to clinical Medicine.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Introduction and Scope of Bichemistry.pptx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Basic Mud Logging Guide for educational purpose
O5-L3 Freight Transport Ops (International) V1.pdf
Cardiovascular Pharmacology for pharmacy students.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
English Language Teaching from Post-.pdf
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Cell Structure & Organelles in detailed.

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