Working with Files and Directories in Linux

Lab Steps

lock
Accessing the Amazon Linux 2 Terminal
lock
Updating File Permissions in Linux
lock
Editing Files in Linux
lock
Moving Files in Linux
lock
Copying Files in Linux

The hands-on lab is part of these learning paths

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students46
Ratings
5/5
starstarstarstarstar

Description

In this lab, you will use fundamental Linux commands to work with files and directories in a Linux environment. The commands used in this lab have been covered in the Linux Fundamentals course. References to the specific lessons of the course will be provided throughout the lab steps. 

The Linux command-line tools referenced in this lab are:

  • cd
  • chmod
  • cp
  • emacs
  • mkdir
  • mv
  • nano
  • vim 

Learning Objectives

Upon completion of this lab, you will be able to:

  • Change the permissions of files with chmod
  • Modify a text file with a built-in Linux text editor
  • Move files from one directory to another with mv
  • Create a new directory to store backup file copies with mkdir and cp

Intended Audience

  • Those beginning to work with Linux
  • Software Engineers
  • DevOps Engineers
  • Data Engineers

Prerequisites

Familiarity with basic Linux commands will be beneficial. Refer to the following course to fulfill the prerequisite:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students12750
Labs36
Learning paths1

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered Topics