PDF Version Available

This document is also available in PDF format: filesandpaths.pdf

The PDF version includes bookmarks for easy navigation and is optimized for printing.

Accessibility Notice

This document is also available in HTML format at:

https://aholdengouveia.name/IntroLinux/labs/filesandpaths.html

The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.

Objectives:

References

References, a video, a PowerPoint and some notes are available at my website https://www.aholdengouveia.name/IntroLinux/filesandpaths.html

Complete the following problems:

  1. Use pwd command to display and record the absolute path of your current working directory.
  2. Create two new directories using mkdir
  3. Use touch command to create five files
  4. Navigate into one of the directories using cd
  5. Move one file from your home directory into your current folder using a relative path
  6. Use ls to confirm it moved
  7. Move one file into the folder using its absolute path
  8. Use ls to confirm it moved
  9. Create a duplicate of one file in your folder and name the copy FILENAMEbackup using the cp command and relative paths
  10. Delete one file in your home folder using rm
  11. Perform a long listing ls -l of the home directory to view the final file details and permissions

Deliverables

A document containing the exact commands used for each numbered step, include clearly labelled screenshots of solution showing the successful execution of these commands as proof of testing.