7 Linux basics: finding files
4.8 (7 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
78 students enrolled

7 Linux basics: finding files

Learn the power of find and friends to master your Linux file system
4.8 (7 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
78 students enrolled
Created by Allard Berends
Last updated 10/2018
English
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9 hours on-demand video
  • 3 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand Linux file system organization
  • Find files on the Linux file system
  • Find out changes on the Linux file system
Requirements
  • Have basic Linux knowledge
  • PC on which virtual machines can be installed
  • Internet connection to dowload Linux software
Description

Learn the concepts and tools to find files on your Linux file system to have control over what is going on and to be able to find out where changes occur.

Develop the skill to master your Linux file system with this course for starting Linux professionals.

Installation of exact copy of Linux course machines

Exploration of find to find files

Complementing find with friends like xargs, sed, etc.

Find to detect file system changes

Find pipelines to manipulate directories

Updatedb and locate to find files


Find and friends: the basic skillset to control and explore your file system.

On every Linux system you need to install, configure and run software. To let your system run smoothly, you need to be able to control what's on your file system. So you need to know how your file system is organized and how you can find files on it. That's exactly what this course is about: finding files. Once you have found files you will want to manipulate them. In the course we show some common examples how to do so. Learning the fundamental concepts of find gives you the power to let your Linux system run smoothly.

Even in these days of system automation, find is more important than ever. Find gives you the power to explore your system so that you can find what you need to automate.

Content and overview

Suitable for beginners with some Linux experience, this course teaches you how to tackle some common problems on your Linux file system using the find and friends commands.

To ensure that you get the exact same results as the teacher, we start with setting up the course environment. It doesn't matter if you use your Windows 10 machine or an empty machine. Together we will install 3 virtual machines with Linux on it. Our Linux distribution of choice is CentOS 7, hence the 7 in "7 Linux basics".

On the first Linux machine we do all the instructions, demonstrations and exercises. Concepts are shown on the command line to demonstrate the practical value. You will first hear about a concept in a presentation and right after, it is demonstrated on the Linux machine. We start simple, with exploring the find command. Next, we will use find to manipulate the file system. Some more complex pipelines will be used to achieve our goals. Lastly, you will install a second Linux machine with NFS and a third with iSCSI. These will be used to demonstrate the effect of having different types of file systems mounted under your Linux root file system and how we use find on them.


Personally I like to have a book when I study and references where I can quickly find details. So I have added a course survival guide with information about the video's. It is very useful to quickly go back to a specific topic. Furthermore, I have added quick reference cards so that you can get to the information lightning fast of the commands you have studied in this course.

Have fun finding files!

Who this course is for:
  • Linux enthusiast who wants control over the Linux file system
  • Beginner Linux professional curious about file system organization
Course content
Expand all 116 lectures 09:05:43
+ Windows 10 test environment
21 lectures 01:28:22
Check CPU virtualization support
02:50
Install VirtualBox on Windows 10
01:30
Configure VirtualBox
01:22
Download CentOS 7 on Windows 10
04:07
Configure router VM
03:03
Install router VM
07:20
Configure client VM
02:13
Install client VM
05:37
Configure NFS VM
02:11
Install NFS VM
08:32
Configure iSCSI VM
02:16
Install iSCSI VM
05:24
Install putty terminal software
06:47
Generate SSH keys
04:54
Automate login amongst VM’s
07:09
Distribute SSH keys to VM’s
04:47
Install GNOME desktop
03:21
Install winscp software
02:17
Install course scripts
05:09
Start environment on Windows 10
04:29
+ CentOS 7 test environment
17 lectures 01:20:25
Download CentOS 7 ISO on Windows 10
04:07
CentOS 7 boot USB on Windows 10
02:33
Download CentOS 7 ISO on Linux
02:45
CentOS 7 boot USB on Linux
04:25
Install CentOS 7 on physical machine
05:54
Check CPU virtualization support
02:30
Install Desktop Software on CentOS 7
03:44
Install Virtualization Software
06:12
Again download CentOS 7 ISO
02:45
Install client VM on CentOS 7
07:34
Install NFS VM on CentOS 7
07:09
Install iSCSI VM on CentOS 7
06:37
Generate and distribute SSH keys
07:33
Install GNOME desktop
02:44
Install course scripts
03:53
Work with CentOS 7 environment
07:00
+ Basic find commands
18 lectures 01:41:39
Introduction to basic find commands
01:20
Sample directory tree
04:43
Starting point(s) in find
06:26
Limit output with respect to depth
05:42
Find by name
11:18
Find by type
09:30
Find sockets and fifo's
07:13
Find trapped in filesystem loop
04:33
Find operator syntax
08:22
Find stay on the filesystem
08:24
Delete with find
09:45
Exercise: depth of /usr
01:57
Solution: depth of /usr
05:27
Exercise: swap partition device
01:46
Solution: swap partition device
04:50
Exercise: employee left
02:52
Solution: employee left
03:15
Recap of basic find commands
04:16
+ Find or change content in files
7 lectures 34:10
Introduction to find and xargs
00:43
Xargs introduction
07:22
Xargs demo
09:39
Find specific content
07:04
Change specific content
04:54
Find in filenames with spaces
03:32
Recap of find and xargs
00:56
+ Case: how to copy directory trees with find
23 lectures 01:20:13
"while read line" pattern
02:32
Demo: "while read line" pattern
03:14
Target path construction
02:24
Demo: target path construction
04:39
Copy directory trees naively
02:26
Demo: copy directory trees naively
02:44
What is wrong?
02:51
Demo: what is wrong?
03:55
How recursive copy works
01:59
Demo: how recursive copy works
01:43
Copy directory trees with depth
02:09
Demo: copy directory trees with depth
03:30
Is it robust with respect to order?
01:33
Demo: is it robust with respect to order?
02:01
Is it robust with respect to depth?
04:30
Demo: is it robust with respect to depth?
05:20
Exercise: put absolute path in file
02:48
Solution: put absolute path in file
04:12
Exercise: rename picture files
04:52
Exercise preparation: rename picture files
03:41
Exercise demo: rename picture files
07:56
Solution: rename picture files
07:31
+ Detect changes on the filesystem
9 lectures 52:27
Case: detect changes with find
04:00
Demo: detecting changes
04:39
Find with -prune
02:18
Demo: find with -prune
02:38
Filesystem Hierarchy Standard
10:04
Sidebar: list files with rpm
04:17
Location of Firefox bookmarks
11:04
Detect smplayer configuration setting
10:59
Recap of detecting changes with find
02:28
+ Find and network storage
14 lectures 01:24:31
Network storage setup
05:09
NFS server setup
04:04
Configure NFS client
06:29
iSCSI server setup
06:00
iSCSI client on CentOS 7
09:49
iSCSI client on Windows 10
09:10
Limit the bandwidth
06:42
Find on NFS disk
06:11
Find on iSCSI disk
06:07
Differences NFS and iSCSI
03:24
Find largest file
06:17
Demo: find largest file
10:08
Demo: find oldest file
03:26
Recap of find and network storage
01:35
+ Locate files on system
4 lectures 16:56
Introduction to find filelists and locate
01:17
Find a file's location
06:17
Locate a file with locate
07:27
Recap of locating a file on the system
01:55