Locating files is easy if you know how to do it. Explore the find command in this video.
- [Narrator] It's pretty easy to keep track…of files that you've created,…especially in your Home folder,…but if you do need to find a file…somewhere else on the system,…there's a tool you can use called Find.…We can look for files by many criteria…including name, size, date, and type.…In order to have something to find here…in our Home directory, let's create a few a files.…I'll use touch to create a couple of files…with different names.…All right, "touch apple pineapple"…"lemon" and "pear."…I'll use the truncate command to create files…that have different sizes.…
"Truncate -s" for size…"1MB" for one megabyte,…and I'll call that one "file1."…I'll press up to recall my previous command…and change this to "10MB"…and "file2,"…and "100MB,"…and "file3."…Let's take a look at those,…and here they are.…These files that I created with truncate…have no information in them.…
They're just defined to take up a certain amount of space.…Here's the other empty files that I created…with the Touch command.…Let's take a look and see whether we can find files…
- Exploring filesystems
- Installing Linux on a physical or virtual machine
- Working with files, directories, and links
- Finding files
- Handling input/output redirection
- Comparing text files and non-text files
- Compressing and decompressing files
- Configuring file permissions
- Managing the root account
- Accessing the command line remotely
- Transferring files
Skill Level Beginner
1. Install and Log Into Ubuntu
System documentation11m 21s
2. Working with Files in the Terminal
3. Security and Administration
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.