The Linux Command Line Chapter 17

Slides:



Advertisements
Similar presentations
Databases. A database program can be used to:  sort a file into a different order  Maintain contact with clients  search through the records for a.
Advertisements

UNIX Chapter 10 Advanced File Processing Mr. Mohammad Smirat.
Operating Systems Operating Systems - Winter 2009 Chapter 5 – File Systems Vrije Universiteit Amsterdam.
Operating Systems Operating Systems - Winter 2011 Chapter 5 – File Systems Vrije Universiteit Amsterdam.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Chapter 11 UNIX Printing. have to be root to setup a printer local printer is directly connected remote printer is a network printer print queue is nothing.
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification, Second Edition
 2004 Prentice Hall, Inc. All rights reserved. Chapter 25 – Perl and CGI (Common Gateway Interface) Outline 25.1 Introduction 25.2 Perl 25.3 String Processing.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
Chapter 10 Queries and Updating Part C. SQL Copyright 2005 Radian Publishing Co.
CT 320 Midterm Study Guide.
Linux+ Guide to Linux Certification, Second Edition
Ch 41 Program Files, Data Files, and Subdirectories.
Linux+ Guide to Linux Certification Chapter Four Exploring Linux Filesystems.
Linux+ Guide to Linux Certification, Third Edition
ENGR 3950U / CSCI 3020U: Operating Systems Description and C Code of Major Functions in Simulated Unix File System. Instructor: Dr. Kamran Sartipi Faculty.
EMT 2390L Lecture 6 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Week 3 Exploring Linux Filesystems. Objectives  Understand and navigate the Linux directory structure using relative and absolute pathnames  Describe.
Linux Operations and Administration
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 12 BACKNEXTEND 12-1 LINKS TO OBJECTIVES Mail Merge Concepts Mail Merge Concepts Mail Merge Wizard Mail.
Introduction to Linux Instructor: Bennett M. Tanyag PART – 3 Unit 1.
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
Databases.  A database is simply a collection of information stored in an orderly manner.  A database can be as simple as a birthday book, address book.
Chapter 8 File System Security. File Protection Schemes Login passwords Encryption File Access Privileges.
Databases Letts Chapter 11. A database program can be used to:  sort a file into a different order;  search through the records for a matching string.
Managing Active Directory Performance Chapter Fourteen.
Packages. Access Specifications Public Available anywhere (public keyword) Only one public class per file allowed Protected Available in subclasses, and.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Chapter Linux Basics. Acknowledgements This presentation was prepared by – Banyat Settapanich – Bahran Madaen This presentation will be updated later.
File Management (Chapter 12) Files –Field: Basic element of data. –Record: A collection of related fields that can be treated as a unit. –File: A collection.
Linux Filesystem Management
PROGRAMMING THE BASH SHELL PART III by İlker Korkmaz and Kaya Oğuz
Operating Systems Chapter 5 – File Systems
The Linux Command Line Chapter 14
Looking for Australian Franchise?
A Practical Guide to Linux® Commands, Editors, and Shell Programming
The Linux Command Line Chapter 16
The Linux Command Line Chapter 12
The Linux Command Line Chapter 2
The Linux Command Line Chapter 29
The Linux Command Line Chapter 1
The Linux Command Line Chapter 6
Guide To UNIX Using Linux Third Edition
The Linux Command Line Chapter 10
The Linux Command Line Chapter 7
The Linux Command Line Chapter 18
The Linux Command Line Chapter 27
The Linux Command Line Chapter 24
The Linux Command Line Chapter 11
The Linux Command Line Chapter 3
The Linux Command Line Chapter 26
The Linux Command Line Chapter 28
The Linux Command Line Chapter 9
Good Testing Practices
The Linux Command Line Chapter 4
The Linux Command Line Chapter 25
Introduction to Databases
The Linux Command Line Chapter 14
ESRM 250/CFR 520 Autumn 2009 Phil Hurvitz
The Linux Command Line Chapter 5
The Linux Command Line Chapter 3
The Linux Command Line Chapter 4
The Linux Command Line Chapter 12
The Linux Command Line Chapter 11
The Linux Command Line Chapter 24
The Linux Command Line Chapter 26
The Linux Command Line Chapter 27
Presentation transcript:

The Linux Command Line Chapter 17 Searching for Files Prepared by Dr. Reyes, New York City College of Technology

locate Command locate – command that performs a rapid database search of pathnames, and outputs every name that matches a given substring. Example:

find Command find – command used to search a given directory (and its subdirectories) for files based on a variety of attributes. Example:

Using –type -type – used to perform a test and return certain file types according to the following table:

Examples using -type Example that only look at directories: Example that only look at regular files

find -size -size – an option that allows you to search for files based on their size according to the following table: Example:

Other tests supported by find …

find Logical Operators