Hackathon - Linux

Mastering Linux

View the Project on GitHub ricmmartins/fasthack-linux

Challenge 03 - Handling files

< Previous Challenge - Home - Next Challenge >

Description

In this challenge you will learn basic commands about file manipulation such as create, rename, find and remove files.

Success Criteria

  1. Show all the files that have been modified in the last 60 minutes within /var
  2. Make sure you checked the different file types of the files /bin/htop, /etc/passwd and /usr/bin/passwd
  3. Ensure you were able to download the files azure-linux.svg and azure-ops-guide.pdf successfully into your home diretory
  4. Confirm the different file types
  5. Validate the renaming of azure-linux.svg to azure-linux.pdf
  6. After the renaming of the extension, check if the file type was changed
  7. Make sure the directory was successfully created and that you are inside of the directory
  8. Check if files were created correctly inside the ~/lab directory
  9. Confirm the creation date and time for each file
  10. Make sure you have changed the date properly to yesterday’s date
  11. Confirm if the creation date and time were defined as expected
  12. Validate if the all files from ~/lab were sucessfully placed into ~/mybackup
  13. Make sure if you were able to remove everything using just one command
  14. Show all log files copied from /var/log into ~/logbackup
  15. Confirm how many lines exist in /etc/wgetrc
  16. Confirm how many words exist in /etc/hdparm.conf

Learning Resources