SlideShare a Scribd company logo
Presentation on
Find & Locate utility
Prepared By: Bhavik Bhasnali
● Find command used to search and locate list of files and
directories.
● Conditions like
permissions, users, groups, file type, date, size
● Find arguments are case sensitive.
● Find is slower in compare with locate.
● Find take deafult path as pwd.
Find & Locate utility
Prepared By: Bhavik Bhasnali
Find & Locate utility
Lets go through sets of command...!!!???
Prepared By: Bhavik Bhasnali
Find & Locate utility
● $ find (complete path) -name (file name)
Case sensitive
● $ find (complete path) -iname (file name)
not case sensitive
● $ find (complete path) -type f -name (file name) – for file
$ find (complete path) -type d -name (file name) – for
directory
Prepared By: Bhavik Bhasnali
Find & Locate utility
● $ find (complete path) -mtime -(days/minute)
-mtime ---> Modified -(days) back
-atime ---> Accessed -(days) back
-cmin ---> Changed -(minute) back
-amin ---> Accessed -(minute) back
-mmin --> Modified -(minute) back
● $ find (complete path) -size (filesize)(K/M/G)
K -> KB M -> MB G -> GB
Prepared By: Bhavik Bhasnali
● Locate command used to search and locate list of files.
● Locate can search for files very quickly.
● Locate does not search the file on disk rather it searches for file
paths in a database.
● Database is a file that contains information about the files and
their path on our system and is located at,
/var/lib/mlocate/mlocate.db
● Updatedb keep mlocate database updated when we excute it.
Find & Locate utility
Prepared By: Bhavik Bhasnali
Find & Locate utility
Lets go through sets of command...!!!???
Prepared By: Bhavik Bhasnali
Find & Locate utility
● $ locate (file name) -> case sensitive
● $ locate -0 (file name) -> output in continues format
● $ locate -c (file name) -> output is in numaric form
Prepared By: Bhavik Bhasnali
Find & Locate utility
● $ locate -i (file name) -> not case sensitive
● $ locate -l (number) (file name) -> show (number) of
o/p
● $ locate -e (file name) -> print file which exists in
system
Prepared By: Bhavik Bhasnali
Find & Locate utility
Find
Locate
Prepared By: Bhavik Bhasnali
Find & Locate utility
Reference
● http://www.tecmint.com/35-practical-examples-of-li
nux-find-command/comment-page-7/#comment-863542
● http://www.binarytides.com/linux-find-command-exampl
es/
● http://www.thegeekstuff.com/2012/03/locate-comman
d-examples/?utm_source=feedburner
● http://alvinalexander.com/blog/post/linux-unix/use-lin
ux-locate-command
● http://superuser.com/questions/199472/what-is-the-diff
erence-between-locate-and-find-in-linux
● http://askubuntu.com/questions/220976/what-is-the-dif
ference-between-find-and-locate-search-methods-in-cat
fish
● http://www.distrorank.com/wp-content/uploads/2015/10/
linux.png
Prepared By: Bhavik Bhasnali
Find & Locate utility
Reference
● http://cts.dmu.ac.uk/study/images/Lear-Siegler-ADM-d
umb-terminal-large.JPG
● http://pix.iemoji.com/images/emoji/apple/ios-9/256/thin
king-face.png
● https://d3lqgdpixgbyis.cloudfront.net/media/public/201
5/08/25/load_balance.jpg
● http://www.courts.oregon.gov/OJD/PublishingImages/re
ferenceMaterials.jpg
● http://216.115.71.119/Rio/Portals/0/images/Doubts-and
-Questions.jpg
● http://michaelgleghorn.com/images/doubt.jpg
● http://christianvisionalliance.org/wp-content/uploads/20
16/06/thank-you-from-christian-vision-alliance.jpg
Prepared By: Bhavik Bhasnali
Find & Locate utility
Prepared By: Bhavik Bhasnali
Find & Locate utility
Prepared By: Bhavik Bhasnali

More Related Content

What's hot

Linux final exam
Linux final examLinux final exam
Linux final exam
Andrew Ibrahim
 
Comandos basicos en linux
Comandos basicos en linuxComandos basicos en linux
Comandos basicos en linux
Gustavo Gama García
 
operating system lecture notes
operating system lecture notesoperating system lecture notes
operating system lecture notes
AVC College of Engineering
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
Manav Prasad
 
Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014
Noé Fernández-Pozo
 
Ipc in linux
Ipc in linuxIpc in linux
Ipc in linux
Dr. C.V. Suresh Babu
 
Pruebas Unitarias
Pruebas Unitarias Pruebas Unitarias
Pruebas Unitarias
Emerson Garay
 
File Management – File Concept, access methods, File types and File Operation
File Management – File Concept, access methods,  File types and File OperationFile Management – File Concept, access methods,  File types and File Operation
File Management – File Concept, access methods, File types and File Operation
Dhrumil Panchal
 
5.5 mecanismos de acceso a los archivos
5.5 mecanismos de acceso a los archivos5.5 mecanismos de acceso a los archivos
5.5 mecanismos de acceso a los archivos
Rey JOaquin
 
Course 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild CardsCourse 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild Cards
Ahmed El-Arabawy
 
Linux commands
Linux commandsLinux commands
Linux commands
Mannu Khani
 
Segmentacion de memoria
Segmentacion de memoriaSegmentacion de memoria
Segmentacion de memoria
Adotbdotz Sokawati
 
Manual de Procedimientos de Soporte Tecnico
Manual de Procedimientos de Soporte TecnicoManual de Procedimientos de Soporte Tecnico
Manual de Procedimientos de Soporte Tecnico
Nestor Ramirez Najera
 
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
Shakeel Shafiq
 
Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands
Ahmed El-Arabawy
 
Implementation of Pipe in Linux
Implementation of Pipe in LinuxImplementation of Pipe in Linux
Implementation of Pipe in Linux
Tushar B Kute
 
Inter process communication using Linux System Calls
Inter process communication using Linux System CallsInter process communication using Linux System Calls
Inter process communication using Linux System Calls
jyoti9vssut
 
Lenguajes aceptados por una maquina de turing
Lenguajes aceptados por una maquina de turingLenguajes aceptados por una maquina de turing
Lenguajes aceptados por una maquina de turing
vmtorrealba
 
Tuned
TunedTuned

What's hot (20)

Linux final exam
Linux final examLinux final exam
Linux final exam
 
Comandos basicos en linux
Comandos basicos en linuxComandos basicos en linux
Comandos basicos en linux
 
operating system lecture notes
operating system lecture notesoperating system lecture notes
operating system lecture notes
 
Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
 
Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014Unix Command-Line Cheat Sheet BTI2014
Unix Command-Line Cheat Sheet BTI2014
 
Ipc in linux
Ipc in linuxIpc in linux
Ipc in linux
 
Pruebas Unitarias
Pruebas Unitarias Pruebas Unitarias
Pruebas Unitarias
 
File Management – File Concept, access methods, File types and File Operation
File Management – File Concept, access methods,  File types and File OperationFile Management – File Concept, access methods,  File types and File Operation
File Management – File Concept, access methods, File types and File Operation
 
5.5 mecanismos de acceso a los archivos
5.5 mecanismos de acceso a los archivos5.5 mecanismos de acceso a los archivos
5.5 mecanismos de acceso a los archivos
 
Course 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild CardsCourse 102: Lecture 4: Using Wild Cards
Course 102: Lecture 4: Using Wild Cards
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Segmentacion de memoria
Segmentacion de memoriaSegmentacion de memoria
Segmentacion de memoria
 
Manual de Procedimientos de Soporte Tecnico
Manual de Procedimientos de Soporte TecnicoManual de Procedimientos de Soporte Tecnico
Manual de Procedimientos de Soporte Tecnico
 
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
 
Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands Course 102: Lecture 8: Composite Commands
Course 102: Lecture 8: Composite Commands
 
Implementation of Pipe in Linux
Implementation of Pipe in LinuxImplementation of Pipe in Linux
Implementation of Pipe in Linux
 
Inter process communication using Linux System Calls
Inter process communication using Linux System CallsInter process communication using Linux System Calls
Inter process communication using Linux System Calls
 
Lenguajes aceptados por una maquina de turing
Lenguajes aceptados por una maquina de turingLenguajes aceptados por una maquina de turing
Lenguajes aceptados por una maquina de turing
 
Tuned
TunedTuned
Tuned
 

Viewers also liked

"Grace is the Place" Announcements!
"Grace is the Place" Announcements!"Grace is the Place" Announcements!
"Grace is the Place" Announcements!
gbcmonroe
 
Publicar información en la web
Publicar información en la webPublicar información en la web
Publicar información en la web
Anais Ramirez
 
Estudio del trabajo en el hospital arco iris 1
Estudio del trabajo en el hospital arco iris 1Estudio del trabajo en el hospital arco iris 1
Estudio del trabajo en el hospital arco iris 1
abdel rivera
 
Resune
ResuneResune
Resune
shiva nani
 
STEVEN DOYLE CV 2016
STEVEN DOYLE CV 2016STEVEN DOYLE CV 2016
STEVEN DOYLE CV 2016
Steven Doyle
 
Jaws days2016ランチセッション資料 160312
Jaws days2016ランチセッション資料 160312Jaws days2016ランチセッション資料 160312
Jaws days2016ランチセッション資料 160312
P-UNITED
 
New headsets of POWER-TIME
New headsets of POWER-TIMENew headsets of POWER-TIME
New headsets of POWER-TIME
Power-Time Group Limited
 
4 retirement--rules-1979
4  retirement--rules-19794  retirement--rules-1979
4 retirement--rules-1979
Bilal khaliq
 
Places to visit in
Places to visit inPlaces to visit in
Places to visit in
nerea calonge
 
ELAINE MACEK RESUME
ELAINE MACEK RESUMEELAINE MACEK RESUME
ELAINE MACEK RESUMEElaine Macek
 
Ben Kinsella Trust - Impact Report 2016
Ben Kinsella Trust - Impact Report 2016Ben Kinsella Trust - Impact Report 2016
Ben Kinsella Trust - Impact Report 2016
Patrick Green
 
ใบงานสำรวจตัวเอง
ใบงานสำรวจตัวเองใบงานสำรวจตัวเอง
ใบงานสำรวจตัวเอง
auttawut singkeaw
 
Habilidades sociales 8
Habilidades sociales 8Habilidades sociales 8
Habilidades sociales 8
Emagister
 

Viewers also liked (13)

"Grace is the Place" Announcements!
"Grace is the Place" Announcements!"Grace is the Place" Announcements!
"Grace is the Place" Announcements!
 
Publicar información en la web
Publicar información en la webPublicar información en la web
Publicar información en la web
 
Estudio del trabajo en el hospital arco iris 1
Estudio del trabajo en el hospital arco iris 1Estudio del trabajo en el hospital arco iris 1
Estudio del trabajo en el hospital arco iris 1
 
Resune
ResuneResune
Resune
 
STEVEN DOYLE CV 2016
STEVEN DOYLE CV 2016STEVEN DOYLE CV 2016
STEVEN DOYLE CV 2016
 
Jaws days2016ランチセッション資料 160312
Jaws days2016ランチセッション資料 160312Jaws days2016ランチセッション資料 160312
Jaws days2016ランチセッション資料 160312
 
New headsets of POWER-TIME
New headsets of POWER-TIMENew headsets of POWER-TIME
New headsets of POWER-TIME
 
4 retirement--rules-1979
4  retirement--rules-19794  retirement--rules-1979
4 retirement--rules-1979
 
Places to visit in
Places to visit inPlaces to visit in
Places to visit in
 
ELAINE MACEK RESUME
ELAINE MACEK RESUMEELAINE MACEK RESUME
ELAINE MACEK RESUME
 
Ben Kinsella Trust - Impact Report 2016
Ben Kinsella Trust - Impact Report 2016Ben Kinsella Trust - Impact Report 2016
Ben Kinsella Trust - Impact Report 2016
 
ใบงานสำรวจตัวเอง
ใบงานสำรวจตัวเองใบงานสำรวจตัวเอง
ใบงานสำรวจตัวเอง
 
Habilidades sociales 8
Habilidades sociales 8Habilidades sociales 8
Habilidades sociales 8
 

Similar to Find & Locate utility Linux

Linux fundamental - Chap 03 file
Linux fundamental - Chap 03 fileLinux fundamental - Chap 03 file
Linux fundamental - Chap 03 file
Kenny (netman)
 
Unix
UnixUnix
Operating Systems: File Management
Operating Systems: File ManagementOperating Systems: File Management
Operating Systems: File Management
Damian T. Gordon
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
Damian T. Gordon
 
00-Review of Linux Basics
00-Review of Linux Basics00-Review of Linux Basics
00-Review of Linux Basics
behrad eslamifar
 
Devops for beginners
Devops for beginnersDevops for beginners
Devops for beginners
Vivek Parihar
 
R- create a table from a list of files.... before webmining
R- create a table from a list of files.... before webminingR- create a table from a list of files.... before webmining
R- create a table from a list of files.... before webmining
Gabriela Plantie
 
Course 102: Lecture 3: Basic Concepts And Commands
Course 102: Lecture 3: Basic Concepts And Commands Course 102: Lecture 3: Basic Concepts And Commands
Course 102: Lecture 3: Basic Concepts And Commands
Ahmed El-Arabawy
 
4.7 find system files and place files in the correct location
4.7 find system files and place files in the correct location4.7 find system files and place files in the correct location
4.7 find system files and place files in the correct location
Acácio Oliveira
 
Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebook
Yash Gulati
 
Rhel 6.2 complete ebook
Rhel 6.2 complete ebookRhel 6.2 complete ebook
Rhel 6.2 complete ebook
Yash Gulati
 
Unix Basics Commands
Unix Basics CommandsUnix Basics Commands
Unix Basics Commands
Sameeran Jenna
 
File systems and inodes
File systems and inodesFile systems and inodes
File systems and inodes
Dr. Girish GS
 
BITS: Introduction to Linux - Software installation the graphical and the co...
BITS: Introduction to Linux -  Software installation the graphical and the co...BITS: Introduction to Linux -  Software installation the graphical and the co...
BITS: Introduction to Linux - Software installation the graphical and the co...
BITS
 
Unit 12 finding and processing files
Unit 12 finding and processing filesUnit 12 finding and processing files
Unit 12 finding and processing files
root_fibo
 
Operating System
Operating SystemOperating System
Operating System
Subhasis Dash
 
101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location
Acácio Oliveira
 
101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location
Acácio Oliveira
 
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS
 
intro unix/linux 11
intro unix/linux 11intro unix/linux 11
intro unix/linux 11
duquoi
 

Similar to Find & Locate utility Linux (20)

Linux fundamental - Chap 03 file
Linux fundamental - Chap 03 fileLinux fundamental - Chap 03 file
Linux fundamental - Chap 03 file
 
Unix
UnixUnix
Unix
 
Operating Systems: File Management
Operating Systems: File ManagementOperating Systems: File Management
Operating Systems: File Management
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
 
00-Review of Linux Basics
00-Review of Linux Basics00-Review of Linux Basics
00-Review of Linux Basics
 
Devops for beginners
Devops for beginnersDevops for beginners
Devops for beginners
 
R- create a table from a list of files.... before webmining
R- create a table from a list of files.... before webminingR- create a table from a list of files.... before webmining
R- create a table from a list of files.... before webmining
 
Course 102: Lecture 3: Basic Concepts And Commands
Course 102: Lecture 3: Basic Concepts And Commands Course 102: Lecture 3: Basic Concepts And Commands
Course 102: Lecture 3: Basic Concepts And Commands
 
4.7 find system files and place files in the correct location
4.7 find system files and place files in the correct location4.7 find system files and place files in the correct location
4.7 find system files and place files in the correct location
 
Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebook
 
Rhel 6.2 complete ebook
Rhel 6.2 complete ebookRhel 6.2 complete ebook
Rhel 6.2 complete ebook
 
Unix Basics Commands
Unix Basics CommandsUnix Basics Commands
Unix Basics Commands
 
File systems and inodes
File systems and inodesFile systems and inodes
File systems and inodes
 
BITS: Introduction to Linux - Software installation the graphical and the co...
BITS: Introduction to Linux -  Software installation the graphical and the co...BITS: Introduction to Linux -  Software installation the graphical and the co...
BITS: Introduction to Linux - Software installation the graphical and the co...
 
Unit 12 finding and processing files
Unit 12 finding and processing filesUnit 12 finding and processing files
Unit 12 finding and processing files
 
Operating System
Operating SystemOperating System
Operating System
 
101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location
 
101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location101 4.7 find system files and place files in the correct location
101 4.7 find system files and place files in the correct location
 
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS: Introduction to Linux - Text manipulation tools for bioinformatics
BITS: Introduction to Linux - Text manipulation tools for bioinformatics
 
intro unix/linux 11
intro unix/linux 11intro unix/linux 11
intro unix/linux 11
 

Recently uploaded

Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
AnkitaPandya11
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
NishanthaBulumulla1
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 

Recently uploaded (20)

Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 

Find & Locate utility Linux

  • 1. Presentation on Find & Locate utility Prepared By: Bhavik Bhasnali
  • 2. ● Find command used to search and locate list of files and directories. ● Conditions like permissions, users, groups, file type, date, size ● Find arguments are case sensitive. ● Find is slower in compare with locate. ● Find take deafult path as pwd. Find & Locate utility Prepared By: Bhavik Bhasnali
  • 3. Find & Locate utility Lets go through sets of command...!!!??? Prepared By: Bhavik Bhasnali
  • 4. Find & Locate utility ● $ find (complete path) -name (file name) Case sensitive ● $ find (complete path) -iname (file name) not case sensitive ● $ find (complete path) -type f -name (file name) – for file $ find (complete path) -type d -name (file name) – for directory Prepared By: Bhavik Bhasnali
  • 5. Find & Locate utility ● $ find (complete path) -mtime -(days/minute) -mtime ---> Modified -(days) back -atime ---> Accessed -(days) back -cmin ---> Changed -(minute) back -amin ---> Accessed -(minute) back -mmin --> Modified -(minute) back ● $ find (complete path) -size (filesize)(K/M/G) K -> KB M -> MB G -> GB Prepared By: Bhavik Bhasnali
  • 6. ● Locate command used to search and locate list of files. ● Locate can search for files very quickly. ● Locate does not search the file on disk rather it searches for file paths in a database. ● Database is a file that contains information about the files and their path on our system and is located at, /var/lib/mlocate/mlocate.db ● Updatedb keep mlocate database updated when we excute it. Find & Locate utility Prepared By: Bhavik Bhasnali
  • 7. Find & Locate utility Lets go through sets of command...!!!??? Prepared By: Bhavik Bhasnali
  • 8. Find & Locate utility ● $ locate (file name) -> case sensitive ● $ locate -0 (file name) -> output in continues format ● $ locate -c (file name) -> output is in numaric form Prepared By: Bhavik Bhasnali
  • 9. Find & Locate utility ● $ locate -i (file name) -> not case sensitive ● $ locate -l (number) (file name) -> show (number) of o/p ● $ locate -e (file name) -> print file which exists in system Prepared By: Bhavik Bhasnali
  • 10. Find & Locate utility Find Locate Prepared By: Bhavik Bhasnali
  • 11. Find & Locate utility Reference ● http://www.tecmint.com/35-practical-examples-of-li nux-find-command/comment-page-7/#comment-863542 ● http://www.binarytides.com/linux-find-command-exampl es/ ● http://www.thegeekstuff.com/2012/03/locate-comman d-examples/?utm_source=feedburner ● http://alvinalexander.com/blog/post/linux-unix/use-lin ux-locate-command ● http://superuser.com/questions/199472/what-is-the-diff erence-between-locate-and-find-in-linux ● http://askubuntu.com/questions/220976/what-is-the-dif ference-between-find-and-locate-search-methods-in-cat fish ● http://www.distrorank.com/wp-content/uploads/2015/10/ linux.png Prepared By: Bhavik Bhasnali
  • 12. Find & Locate utility Reference ● http://cts.dmu.ac.uk/study/images/Lear-Siegler-ADM-d umb-terminal-large.JPG ● http://pix.iemoji.com/images/emoji/apple/ios-9/256/thin king-face.png ● https://d3lqgdpixgbyis.cloudfront.net/media/public/201 5/08/25/load_balance.jpg ● http://www.courts.oregon.gov/OJD/PublishingImages/re ferenceMaterials.jpg ● http://216.115.71.119/Rio/Portals/0/images/Doubts-and -Questions.jpg ● http://michaelgleghorn.com/images/doubt.jpg ● http://christianvisionalliance.org/wp-content/uploads/20 16/06/thank-you-from-christian-vision-alliance.jpg Prepared By: Bhavik Bhasnali
  • 13. Find & Locate utility Prepared By: Bhavik Bhasnali
  • 14. Find & Locate utility Prepared By: Bhavik Bhasnali