- Lab
- A Cloud Guru
Managing Files and Directories on RHEL 8
A Linux system administrator's life is filled with files. Being able to manage files is a key skill for any system administrator. In this hands-on lab, we will explore a number of file management operations in Linux. We will create, delete, copy, and move files and directories. Create hard and soft links, lists, sets, and change standard ugo/rwx permissions, as well as archive, compress, unpack, and uncompress files using tar, star, gzip, and bzip2. *This course is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
Archive, Compress, Unpack, and Uncompress Files
- Create a tar archive from a set of files.
- Use the various compression tools on the tar archive and compare the results.
- Create a compressed archive in one step, and then list it's contents in various ways.
- Uncompress the compressed archive to a new local location.
-
Challenge
Create, Delete, Copy, and Move Files and Directories
- Create a file and directory structure.
- Copy files and directories.
- Move files and directories.
- Delete files and directories.
-
Challenge
Create Hard and Soft Links
- Create a soft link and verify what has happened.
- Create a hard link and verify what happened.
- See what happens when a soft link is broken.
- See how to find all the hard links to a file.
-
Challenge
List, Set, and Change Standard ugo/rwx Permissions
- Create a shared directory for 3 users to share files properly.
- Setup the users, and sign in as each, to create a file in the shared directory.
- Fix the permissions so that all users can access each others files properly.
- Create more files to verify things work.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.