SlideShare a Scribd company logo
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Why Choose Linux?
Multiple
Distributions
Very Easy To Learn And Use
Very Secured
Freely Available
Fast & Effective
Virus Free
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Job Roles Of A Linux Administrator
✓ Installation & Upgradation
✓ Patching
✓ Application Support
✓ Storage Migrations
✓ Improve Stability & Performance
✓ User Administration
✓ Installing & Configuring Servers/ Services
✓ Backup & Restore
✓ Server Monitoring
✓ Troubleshooting
Network Engineer
Linux Admin
System Engineer
Support Engineer
Linux Admin
Job Roles
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
What Will You Learn Today?
✓ File Permissions
✓ ACLs (Access Control Lists)
✓ Shell Scripting
✓ Patching In Linux
✓ Networking In Linux:-
✓ SSH
✓ SFTP
✓ SCP
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Managing File Permissions
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Setting File Permissions
$ l s – l
$ 1 e d u r e k a e d u r e k a 5 2 5 5 0 4 0 2 A u g 1 2 2 0 1 6
FILE/DIR
TYPE
USER
PERMISSIONS
GROUP
PERMISSIONS
Other’s
PERMISSIONS
SYMBOLIC
LINKS
Owner
Name
Group
Name
Time
Stamp
FILE
SIZE
Read – ‘r’
Write – ‘w’
Execute – ‘x’
FILE PERMISSIONS
Normal File – ‘-’
Directory – ‘d’
Character Special File – ‘c’
Binary Special File – ‘b’
Symbolic Link File – ‘l’
FILE TYPES
Owner/ User – ‘u’
Groups – ‘g’
Others – ‘o’
All – ‘a’
DENOTIONS
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Setting File Permissions
Commands Explanation
chmod g+wx filename This gives the write and execute permission to group members
chmod u=rwx,o-wx filename
This gives the read, write and execute permission to owners, and
removes the write and execute ownership from other members
chown username filename Changes the owner of the specified file
chown username:groupname filename Changes both the owner and group ownership of the specified file
chgrp groupname filename Changes the group ownership of the specified file
chmod : To change the access permissions of files and directories
chown : To change the owner of files and directories
chgrp : To change the group ownership of file and directories
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
How will I give the
manager and team
lead extra file
permissions?
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
But, how will I give
the manager and
team lead extra file
permissions?
Do I have to
create another
group and assign
it to them?
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
But, how will I give
the manager and
team lead extra file
permissions?
NOTE: ACLs can be used to extend the functionalities of files and directories
Do I have to
create another
group and assign
it to them?
Let’s try using
ACLs for special
privileges.
SOLUTION!!
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Access Control List
➢ ACLs allow you to give permissions for any user or group to any directory/ file/ disc resource.
➢ We can enable ACL by defining it in /etc/fstab file.
➢ In the options listed under ‘/’, we need to add acl after defaults (Line 2 in the below snippet)
[edur ek a@localhost ~ ]$ c at / etc /fs tab
/dev/mapper / VolGr oup -lv_r oot / ext4 defaults ,ac l 1 1
U U ID = a8214a61 -8cb9 -4a2c-b 9 3 9-e1be9cd81bf8 /boot ext4 defaults 1 2
/dev/mapper / VolGr oup -lv_s w ap s w ap s w ap defaults 0 0
tmpfs /dev/ s hm tmpfs defaults 0 0
devpts /dev/pts devpts gid = 5,mode=620 0 0
s ys fs /s ys s ys fs defaults 0 0
pr oc /pr oc pr oc defaults 0 0
$ s udo mount - o r emount /
$ mount
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Adding ACL For Files & Directories
➢ Syntax for adding ACL is:-
$ setfacl –m user:username:permissions filename
➢ Syntax for viewing the existing ACL rules:-
$ getfacl filename
[edur ek a@localhost D oc uments ]$ s etfac l - m u:us er 1:rw x File1.txt
[edur ek a@localhost D oc uments ]$ getfac l File1.txt
# file: File1.txt
# ow ner: edurek a
# gr oup: edur ek a
us er :: r w -
us er :us er1:r wx
gr oup:: r w -
mas k :: r w x
other ::r --
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Shell Scripting
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Shell Scripting
➢ A shell script (shell program) is a file containing a group of commands that need to be executed.
➢ Advantage  One file containing all the commands can be executed.
➢ Note: Shell scripts are Interpreted and not Compiled.
First line of every shell script is: #! /bin/bash
[edur ek a@localhost D oc uments ]$ c at hello.s h
#! /bin/bas h
ec ho "H ello Wor ld“
[edur ek a@localhost D oc uments ]$ bas h hello.s h
H ello Wor ld
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Shell Scripting
Linux Shell
Scripting
Variables
&
Comments
Reading
Inputs
Passing
Arguments
For, If, If
Then Else &
If Elif
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Patch Files
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Patching Security Fixes & Software Updates
➢ When there is a security fix/ software update available, we can apply changes using a Patch file.
➢ A patch file is a text file which contains the differences between two versions of the same file (or same source-tree).
➢ A Patch file is created by using diff command.
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Creating A Patch File
$ diff -u hello.c hello-new.c > hello.patch // Creates a new hello.patch file containing the differences
patch < hello.patch // Applies the patch from hello.patch
$ cc hello.c -o hello // To compile the program
$ ./hello // To run the program
Bug Fixes
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Networking In Linux:-
SSH, SFTP & SCP
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
SSH For Accessing Remote Machines
➢ SSH is a communication protocol used for accessing remotely located machines.
➢ Once connected, commands can be executed on the remote machine.
$ sudo chkconfig sshd on
$ sudo service sshd start // Start the SSH service
$ ssh remote-username@remote-host // Command for connecting to remote machine
SSH For Remote Host Access
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
SSH Commands
$ ssh master // Running this command at the slave node will give remote access to master
$ ssh slave // Running this command at the master node will give remote access to slave
$ sudo gedit /etc/hosts // Add the below IP addresses in both the master and slave’s hosts file
master 192.168.56.102
slave 192.168.56.103
$ ip addr show // To show the IP address
$ sudo ip addr del ip-address dev eth1 // Deleting existing IP
$ sudo ip addr add 192.168.56.102/24 dev eth1 // Adding IP at the master’s node
$ sudo ip addr add 192.168.56.103/24 dev eth1 // Adding IP at the slave’s node
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
SFTP For Transferring Files
$ sftp ip-address // Syntax for establishing SFTP connection
sftp> // Remote host’s directory
sftp> lcd // To change directory in host machine
sftp> cd // To change directory in remote machine
sftp> get filename pathname // For downloading a file
sftp> put filename pathname // For uploading a file
➢ SSH cannot be used for downloading/ uploading files from remote machine.
➢ SFTP (Secure File Transfer Protocol) is used for transferring files.
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
SCP For Transferring Folders & Directories
$ scp -r remotehost:pathname pathname // Syntax for downloading a directory
$ scp -r pathname remotehost:pathname // Syntax for uploading a directory
➢ SFTP cannot be used for transferring folders/ directories.
➢ SCP is the protocol used for downloading/ uploading folders/ directories.
➢ Note: In the syntax, source comes first and then comes destination
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING
Summary Slide
File Permissions & ACLs Shell Scripting
Patching In Linux SSH, SFTP & SCP
www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING

More Related Content

What's hot

Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
Subashini Pandiarajan
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
Ahmed El-Arabawy
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
VIKAS TIWARI
 
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 commands
Linux commandsLinux commands
Linux commands
penetration Tester
 
Linux
LinuxLinux
Shell scripting
Shell scriptingShell scripting
Shell scripting
Ashrith Mekala
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
Hanan Nmr
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
anandvaidya
 
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
Edureka!
 
Linux commands
Linux commands Linux commands
Linux commands
debashis rout
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
Sagar Kumar
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
Singsys Pte Ltd
 
Linux: LVM
Linux: LVMLinux: LVM
Linux: LVM
Michal Sedlak
 
Bash shell
Bash shellBash shell
Bash shellxylas121
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
Harish R
 

What's hot (20)

Filepermissions in linux
Filepermissions in linuxFilepermissions in linux
Filepermissions in linux
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbook
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux
LinuxLinux
Linux
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
Linux Interview Questions And Answers | Linux Administration Tutorial | Linux...
 
Linux commands
Linux commands Linux commands
Linux commands
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
 
Linux: LVM
Linux: LVMLinux: LVM
Linux: LVM
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Bash shell
Bash shellBash shell
Bash shell
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 

Similar to Linux Training For Beginners | Linux Administration Tutorial | Introduction To Linux | Edureka

24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs
Kellyn Pot'Vin-Gorman
 
One click deployment
One click deploymentOne click deployment
One click deploymentAlex Su
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
Ajaigururaj R
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0venkatakrishnan k
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
Thierry Gayet
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On UblAsian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce
 
Getting Started With Linux Administration
Getting Started With Linux AdministrationGetting Started With Linux Administration
Getting Started With Linux Administration
Edureka!
 
Lamp technology
Lamp technologyLamp technology
Lamp technology2tharan21
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec Workshop
Mandi Walls
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
Kellyn Pot'Vin-Gorman
 
Using filesystem capabilities with rsync
Using filesystem capabilities with rsyncUsing filesystem capabilities with rsync
Using filesystem capabilities with rsync
Hazel Smith
 
lamp technology
lamp technologylamp technology
lamp technologyDeepa
 
Deepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa
 
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
Омские ИТ-субботники
 
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, OrchestrationThe Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
Erica Windisch
 
Bacula - Backup system
Bacula - Backup systemBacula - Backup system
Bacula - Backup system
Mohammad Parvin
 
Lumen
LumenLumen
Linux day 2.ppt
Linux day  2.pptLinux day  2.ppt
Linux day 2.ppt
Kalkey
 
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Edureka!
 

Similar to Linux Training For Beginners | Linux Administration Tutorial | Introduction To Linux | Edureka (20)

24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs
 
One click deployment
One click deploymentOne click deployment
One click deployment
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On UblAsian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
 
Getting Started With Linux Administration
Getting Started With Linux AdministrationGetting Started With Linux Administration
Getting Started With Linux Administration
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec Workshop
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
 
Using filesystem capabilities with rsync
Using filesystem capabilities with rsyncUsing filesystem capabilities with rsync
Using filesystem capabilities with rsync
 
lamp technology
lamp technologylamp technology
lamp technology
 
Deepa ppt about lamp technology
Deepa ppt about lamp technologyDeepa ppt about lamp technology
Deepa ppt about lamp technology
 
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
 
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, OrchestrationThe Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
The Docker "Gauntlet" - Introduction, Ecosystem, Deployment, Orchestration
 
Linux
LinuxLinux
Linux
 
Bacula - Backup system
Bacula - Backup systemBacula - Backup system
Bacula - Backup system
 
Lumen
LumenLumen
Lumen
 
Linux day 2.ppt
Linux day  2.pptLinux day  2.ppt
Linux day 2.ppt
 
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Linux Training For Beginners | Linux Administration Tutorial | Introduction To Linux | Edureka

  • 2. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Why Choose Linux? Multiple Distributions Very Easy To Learn And Use Very Secured Freely Available Fast & Effective Virus Free
  • 3. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Job Roles Of A Linux Administrator ✓ Installation & Upgradation ✓ Patching ✓ Application Support ✓ Storage Migrations ✓ Improve Stability & Performance ✓ User Administration ✓ Installing & Configuring Servers/ Services ✓ Backup & Restore ✓ Server Monitoring ✓ Troubleshooting Network Engineer Linux Admin System Engineer Support Engineer Linux Admin Job Roles
  • 4. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING What Will You Learn Today? ✓ File Permissions ✓ ACLs (Access Control Lists) ✓ Shell Scripting ✓ Patching In Linux ✓ Networking In Linux:- ✓ SSH ✓ SFTP ✓ SCP
  • 5. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Managing File Permissions
  • 6. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Setting File Permissions $ l s – l $ 1 e d u r e k a e d u r e k a 5 2 5 5 0 4 0 2 A u g 1 2 2 0 1 6 FILE/DIR TYPE USER PERMISSIONS GROUP PERMISSIONS Other’s PERMISSIONS SYMBOLIC LINKS Owner Name Group Name Time Stamp FILE SIZE Read – ‘r’ Write – ‘w’ Execute – ‘x’ FILE PERMISSIONS Normal File – ‘-’ Directory – ‘d’ Character Special File – ‘c’ Binary Special File – ‘b’ Symbolic Link File – ‘l’ FILE TYPES Owner/ User – ‘u’ Groups – ‘g’ Others – ‘o’ All – ‘a’ DENOTIONS
  • 7. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Setting File Permissions Commands Explanation chmod g+wx filename This gives the write and execute permission to group members chmod u=rwx,o-wx filename This gives the read, write and execute permission to owners, and removes the write and execute ownership from other members chown username filename Changes the owner of the specified file chown username:groupname filename Changes both the owner and group ownership of the specified file chgrp groupname filename Changes the group ownership of the specified file chmod : To change the access permissions of files and directories chown : To change the owner of files and directories chgrp : To change the group ownership of file and directories
  • 8. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING How will I give the manager and team lead extra file permissions?
  • 9. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING But, how will I give the manager and team lead extra file permissions? Do I have to create another group and assign it to them?
  • 10. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING But, how will I give the manager and team lead extra file permissions? NOTE: ACLs can be used to extend the functionalities of files and directories Do I have to create another group and assign it to them? Let’s try using ACLs for special privileges. SOLUTION!!
  • 11. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Access Control List ➢ ACLs allow you to give permissions for any user or group to any directory/ file/ disc resource. ➢ We can enable ACL by defining it in /etc/fstab file. ➢ In the options listed under ‘/’, we need to add acl after defaults (Line 2 in the below snippet) [edur ek a@localhost ~ ]$ c at / etc /fs tab /dev/mapper / VolGr oup -lv_r oot / ext4 defaults ,ac l 1 1 U U ID = a8214a61 -8cb9 -4a2c-b 9 3 9-e1be9cd81bf8 /boot ext4 defaults 1 2 /dev/mapper / VolGr oup -lv_s w ap s w ap s w ap defaults 0 0 tmpfs /dev/ s hm tmpfs defaults 0 0 devpts /dev/pts devpts gid = 5,mode=620 0 0 s ys fs /s ys s ys fs defaults 0 0 pr oc /pr oc pr oc defaults 0 0 $ s udo mount - o r emount / $ mount
  • 12. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Adding ACL For Files & Directories ➢ Syntax for adding ACL is:- $ setfacl –m user:username:permissions filename ➢ Syntax for viewing the existing ACL rules:- $ getfacl filename [edur ek a@localhost D oc uments ]$ s etfac l - m u:us er 1:rw x File1.txt [edur ek a@localhost D oc uments ]$ getfac l File1.txt # file: File1.txt # ow ner: edurek a # gr oup: edur ek a us er :: r w - us er :us er1:r wx gr oup:: r w - mas k :: r w x other ::r --
  • 13. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Shell Scripting
  • 14. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Shell Scripting ➢ A shell script (shell program) is a file containing a group of commands that need to be executed. ➢ Advantage  One file containing all the commands can be executed. ➢ Note: Shell scripts are Interpreted and not Compiled. First line of every shell script is: #! /bin/bash [edur ek a@localhost D oc uments ]$ c at hello.s h #! /bin/bas h ec ho "H ello Wor ld“ [edur ek a@localhost D oc uments ]$ bas h hello.s h H ello Wor ld
  • 15. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Shell Scripting Linux Shell Scripting Variables & Comments Reading Inputs Passing Arguments For, If, If Then Else & If Elif
  • 17. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Patching Security Fixes & Software Updates ➢ When there is a security fix/ software update available, we can apply changes using a Patch file. ➢ A patch file is a text file which contains the differences between two versions of the same file (or same source-tree). ➢ A Patch file is created by using diff command.
  • 18. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Creating A Patch File $ diff -u hello.c hello-new.c > hello.patch // Creates a new hello.patch file containing the differences patch < hello.patch // Applies the patch from hello.patch $ cc hello.c -o hello // To compile the program $ ./hello // To run the program Bug Fixes
  • 19. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Networking In Linux:- SSH, SFTP & SCP
  • 20. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING SSH For Accessing Remote Machines ➢ SSH is a communication protocol used for accessing remotely located machines. ➢ Once connected, commands can be executed on the remote machine. $ sudo chkconfig sshd on $ sudo service sshd start // Start the SSH service $ ssh remote-username@remote-host // Command for connecting to remote machine SSH For Remote Host Access
  • 21. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING SSH Commands $ ssh master // Running this command at the slave node will give remote access to master $ ssh slave // Running this command at the master node will give remote access to slave $ sudo gedit /etc/hosts // Add the below IP addresses in both the master and slave’s hosts file master 192.168.56.102 slave 192.168.56.103 $ ip addr show // To show the IP address $ sudo ip addr del ip-address dev eth1 // Deleting existing IP $ sudo ip addr add 192.168.56.102/24 dev eth1 // Adding IP at the master’s node $ sudo ip addr add 192.168.56.103/24 dev eth1 // Adding IP at the slave’s node
  • 22. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING SFTP For Transferring Files $ sftp ip-address // Syntax for establishing SFTP connection sftp> // Remote host’s directory sftp> lcd // To change directory in host machine sftp> cd // To change directory in remote machine sftp> get filename pathname // For downloading a file sftp> put filename pathname // For uploading a file ➢ SSH cannot be used for downloading/ uploading files from remote machine. ➢ SFTP (Secure File Transfer Protocol) is used for transferring files.
  • 23. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING SCP For Transferring Folders & Directories $ scp -r remotehost:pathname pathname // Syntax for downloading a directory $ scp -r pathname remotehost:pathname // Syntax for uploading a directory ➢ SFTP cannot be used for transferring folders/ directories. ➢ SCP is the protocol used for downloading/ uploading folders/ directories. ➢ Note: In the syntax, source comes first and then comes destination
  • 24. www.edureka.co/linux-adminEDUREKA’S LINUX ADMINISTRATION CERTIFICATION TRAINING Summary Slide File Permissions & ACLs Shell Scripting Patching In Linux SSH, SFTP & SCP