SlideShare a Scribd company logo
Linux Adminstartion
What is OS?
● An operating system (OS) is a collection of
software(Programs) that manages computer
hardware resources .
● It is an interface between a computer user and
computer hardware.
What is Linux?
● Linux is a Kernel.(core part of linux based OS)
- It is open source.
- its source code is freely available.
- It is free to use.
History of Linux
Unix - Ken Thompson and Dennis Ritchie
GNU project - Richard Stallman – FSF - GNU General Public License(GPL)
Linux - Linus Torvalds
Architecture of a Linux system
Linux Distributions(Disto's)
Linux
RedHat
Debian
Kali Linux,Linux Mint,Ubuntu,
Ubuntu MATE
CentOS,Fedora,Mandriva Linux
,openSUSE,
Red Hat Linux,Scientific Linux
CentOS
Community Enterprise Operating System
Linux Administration
Linux System Administration Linux Server Administration
BASIC LINUX COMMANDS
Terminal and command
● We manage linux using commands.
command [options] [arguments]
● Use an application called terminal to pass commands
to the operating system.
Application--->System Tools--->Terminal.
Basic Commands
1. # uptime
- The uptime command prints the current time
- The duration of time the system has been up
- The number of users online.
- The load average.
[ Linux keeps uptime information in /proc/uptime]
2. # date
- Display date & time.
3. # cal
- Display a calendar.
# cal 12 07 1994
4. # clear
- Clear terminal screen
Basic Commands
5. # echo
- This command will echo whatever you provide it.
6. # whatis [command name]
- This command gives a one line description about the
command.
7. # man [command name]
- To see a command's manual page.
8. # info [command name]
- These are like web pages. Internal links are present
within the info pages.
Basic Commands
6. # whoami
- This command reveals the user who is currently logged in.
7. # cd [path-to-directory]
- Change the current working directory to the directory
provided as argument.
8. # pwd (Print Current working directory)
- The current directory can be checked with ‘pwd’ command
Basic Commands
● Fields of # ls -l or # ll command.
drwxr-xr-x 2 root root 4096 2016-07-06 12:52 files
type
Accesmode
/permission
No:of links/
Shortcuts
owner
group
size Modification date and time
Name
U G O
Basic Commands
1. # ls -la - To list hidden files.
2. # ls -ld - To list the properties of a director.
3. # ls -lh - The size is converted into kilo/Mega
bytes.
4. # ls -lr - List in reverse of alphabetical order.
5. # ls -lS - To sort in term of size.
6. # ls -lSr -List in reverse form of size.
7. # ls -lt – List based on time.
Basic Commands
10. # touch [filename].[extension]
- For creating an empty file.
- If a file already exists, touch will update its
time stamp.
11. # nano [filename]
- To write and modify the content of a file.
12. # cat [filename]
- used to concatenate one or more files and print the result to the
standard output
- Cannot modify the content.
13. # vim [filename]
14. # vi [filename]
Basic Commands
15. # mkdir [directory name]
- to create a directory.
# mkdir -p – to create parent directory
16. # rm
- To remove a file or directory
# rm -f [filename] – forcefully remove
# rm -rf [file or directory name]
Basic Commands
17. # cp [source path] [destination path]
# cp -r – to copy directory.
18. # mv [source path] [destination path]
19. # head [filename]
# head -n5 [filename] -to print the first 5 lines
20. # tail [filename]
# tail -n5 [filename] -to print the last 5 lines
Basic Commands
21. # wc [filename] -word count
# wc -l [filename] – Total lines.
# wc -w [filename] – Total words.
# wc -c [filename] – Total characters.
22. # cd -Change working direstory.
# cd . - working directory itself.
# cd .. - Parent directory
# cd ../..
23. # rmdir – to remove empty directory.
24. # history – To view the history of commands.
25. # halt – To terminate the system.

More Related Content

What's hot

Linux commands
Linux commandsLinux commands
Linux commands
Radheshyam Kori
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
MohanKumar Palanichamy
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
Sreenatha Reddy K R
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
shravan saini
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Shakeel Shafiq
 
Linux commands
Linux commandsLinux commands
Linux commands
Meenu Chopra
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
Brahma Killampalli
 
Basic commands
Basic commandsBasic commands
Basic commands
ambilivava
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
abclearnn
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
Dheeraj Nambiar
 
BASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUXBASIC COMMANDS OF LINUX
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux Commands
Arun Sharma
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbook
Wave Digitech
 
Linux command for beginners
Linux command for beginnersLinux command for beginners
Linux command for beginners
SuKyeong Jang
 

What's hot (20)

Basic linux day 5
Basic linux day 5Basic linux day 5
Basic linux day 5
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Basic commands of linux
Basic commands of linuxBasic commands of linux
Basic commands of linux
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Basic Linux day 1
Basic Linux day 1Basic Linux day 1
Basic Linux day 1
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 
Basic linux day 3
Basic linux day 3Basic linux day 3
Basic linux day 3
 
Basic commands
Basic commandsBasic commands
Basic commands
 
Basic Linux day 6
Basic Linux day 6Basic Linux day 6
Basic Linux day 6
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
BASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUXBASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUX
 
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux Commands
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbook
 
Linux command for beginners
Linux command for beginnersLinux command for beginners
Linux command for beginners
 

Similar to Basic

Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Group13
Group13Group13
Linux day 1
Linux day 1Linux day 1
Linux day 1
sumairdotcom
 
Linux basic
Linux basicLinux basic
Linux basic
Pragyagupta37
 
LinuxCommands (1).pdf
LinuxCommands (1).pdfLinuxCommands (1).pdf
LinuxCommands (1).pdf
AnkitKushwaha792697
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
PrashantTechment
 
Basic shell commands by Jeremy Sanders
Basic shell commands by Jeremy SandersBasic shell commands by Jeremy Sanders
Basic shell commands by Jeremy Sanders
Devanand Gehlot
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma
perweeng31
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
Lilesh Pathe
 
INTRODUCTION TO LINUX
INTRODUCTION TO LINUXINTRODUCTION TO LINUX
INTRODUCTION TO LINUX
hafees4
 
Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02Kamalakannan Kuppan
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to UnixSudharsan S
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.pptanandha ganesh
 
Lecture1 2 intro-unix
Lecture1 2 intro-unixLecture1 2 intro-unix
Lecture1 2 intro-unixnghoanganh
 
The Linux Command Cheat Sheet
The Linux Command Cheat SheetThe Linux Command Cheat Sheet
The Linux Command Cheat Sheet
Tola LENG
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unixsouthees
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
roschahacker
 

Similar to Basic (20)

Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Group13
Group13Group13
Group13
 
Linux day 1
Linux day 1Linux day 1
Linux day 1
 
Linux basic
Linux basicLinux basic
Linux basic
 
LinuxCommands (1).pdf
LinuxCommands (1).pdfLinuxCommands (1).pdf
LinuxCommands (1).pdf
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux
LinuxLinux
Linux
 
Basic shell commands by Jeremy Sanders
Basic shell commands by Jeremy SandersBasic shell commands by Jeremy Sanders
Basic shell commands by Jeremy Sanders
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
INTRODUCTION TO LINUX
INTRODUCTION TO LINUXINTRODUCTION TO LINUX
INTRODUCTION TO LINUX
 
Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02Basiccommandppt 130415133716-phpapp02
Basiccommandppt 130415133716-phpapp02
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.ppt
 
Lecture1 2 intro-unix
Lecture1 2 intro-unixLecture1 2 intro-unix
Lecture1 2 intro-unix
 
The Linux Command Cheat Sheet
The Linux Command Cheat SheetThe Linux Command Cheat Sheet
The Linux Command Cheat Sheet
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
 

More from ARYA TM

Ftp
FtpFtp
Ftp
ARYA TM
 
Dns
DnsDns
Dns
ARYA TM
 
Process management
Process managementProcess management
Process management
ARYA TM
 
Useradmin
Useradmin Useradmin
Useradmin
ARYA TM
 
Webserver
WebserverWebserver
Webserver
ARYA TM
 
Crontab
CrontabCrontab
Crontab
ARYA TM
 
package mangement
package mangementpackage mangement
package mangement
ARYA TM
 
s3
s3s3
AWS
AWSAWS
AWS
ARYA TM
 
EBS elastic block store
EBS elastic block storeEBS elastic block store
EBS elastic block store
ARYA TM
 
DevOps
DevOps DevOps
DevOps
ARYA TM
 
Side final 2
Side final 2Side final 2
Side final 2
ARYA TM
 
Multi-Level audio steganography
Multi-Level audio steganographyMulti-Level audio steganography
Multi-Level audio steganography
ARYA TM
 

More from ARYA TM (13)

Ftp
FtpFtp
Ftp
 
Dns
DnsDns
Dns
 
Process management
Process managementProcess management
Process management
 
Useradmin
Useradmin Useradmin
Useradmin
 
Webserver
WebserverWebserver
Webserver
 
Crontab
CrontabCrontab
Crontab
 
package mangement
package mangementpackage mangement
package mangement
 
s3
s3s3
s3
 
AWS
AWSAWS
AWS
 
EBS elastic block store
EBS elastic block storeEBS elastic block store
EBS elastic block store
 
DevOps
DevOps DevOps
DevOps
 
Side final 2
Side final 2Side final 2
Side final 2
 
Multi-Level audio steganography
Multi-Level audio steganographyMulti-Level audio steganography
Multi-Level audio steganography
 

Recently uploaded

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 

Recently uploaded (20)

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 

Basic

  • 2. What is OS? ● An operating system (OS) is a collection of software(Programs) that manages computer hardware resources . ● It is an interface between a computer user and computer hardware.
  • 3. What is Linux? ● Linux is a Kernel.(core part of linux based OS) - It is open source. - its source code is freely available. - It is free to use.
  • 4. History of Linux Unix - Ken Thompson and Dennis Ritchie GNU project - Richard Stallman – FSF - GNU General Public License(GPL) Linux - Linus Torvalds
  • 5. Architecture of a Linux system
  • 6. Linux Distributions(Disto's) Linux RedHat Debian Kali Linux,Linux Mint,Ubuntu, Ubuntu MATE CentOS,Fedora,Mandriva Linux ,openSUSE, Red Hat Linux,Scientific Linux
  • 8. Linux Administration Linux System Administration Linux Server Administration
  • 10. Terminal and command ● We manage linux using commands. command [options] [arguments] ● Use an application called terminal to pass commands to the operating system. Application--->System Tools--->Terminal.
  • 11. Basic Commands 1. # uptime - The uptime command prints the current time - The duration of time the system has been up - The number of users online. - The load average. [ Linux keeps uptime information in /proc/uptime] 2. # date - Display date & time. 3. # cal - Display a calendar. # cal 12 07 1994 4. # clear - Clear terminal screen
  • 12. Basic Commands 5. # echo - This command will echo whatever you provide it. 6. # whatis [command name] - This command gives a one line description about the command. 7. # man [command name] - To see a command's manual page. 8. # info [command name] - These are like web pages. Internal links are present within the info pages.
  • 13. Basic Commands 6. # whoami - This command reveals the user who is currently logged in. 7. # cd [path-to-directory] - Change the current working directory to the directory provided as argument. 8. # pwd (Print Current working directory) - The current directory can be checked with ‘pwd’ command
  • 14. Basic Commands ● Fields of # ls -l or # ll command. drwxr-xr-x 2 root root 4096 2016-07-06 12:52 files type Accesmode /permission No:of links/ Shortcuts owner group size Modification date and time Name U G O
  • 15. Basic Commands 1. # ls -la - To list hidden files. 2. # ls -ld - To list the properties of a director. 3. # ls -lh - The size is converted into kilo/Mega bytes. 4. # ls -lr - List in reverse of alphabetical order. 5. # ls -lS - To sort in term of size. 6. # ls -lSr -List in reverse form of size. 7. # ls -lt – List based on time.
  • 16. Basic Commands 10. # touch [filename].[extension] - For creating an empty file. - If a file already exists, touch will update its time stamp. 11. # nano [filename] - To write and modify the content of a file. 12. # cat [filename] - used to concatenate one or more files and print the result to the standard output - Cannot modify the content. 13. # vim [filename] 14. # vi [filename]
  • 17. Basic Commands 15. # mkdir [directory name] - to create a directory. # mkdir -p – to create parent directory 16. # rm - To remove a file or directory # rm -f [filename] – forcefully remove # rm -rf [file or directory name]
  • 18. Basic Commands 17. # cp [source path] [destination path] # cp -r – to copy directory. 18. # mv [source path] [destination path] 19. # head [filename] # head -n5 [filename] -to print the first 5 lines 20. # tail [filename] # tail -n5 [filename] -to print the last 5 lines
  • 19. Basic Commands 21. # wc [filename] -word count # wc -l [filename] – Total lines. # wc -w [filename] – Total words. # wc -c [filename] – Total characters. 22. # cd -Change working direstory. # cd . - working directory itself. # cd .. - Parent directory # cd ../.. 23. # rmdir – to remove empty directory. 24. # history – To view the history of commands. 25. # halt – To terminate the system.