Chapter 2. Linux Key Commands

This chapter covers Linux key commands for handling directories and files with examples on Ubuntu OS on AWS Lightsail.

The following lessons are covered in this chapter.

Lessons in this chapter

  1. Setting Up Linux Environment on AWS
  2. pwd (Print Working Directory)
  3. cd (Change Directory)
  4. ls (List Contents of Directory)
  5. mkdir (Make Directory)
  6. rmdir (Remove Directory)
  7. touch (Create File)
  8. rm (Remove File)
  9. mv (Move File and Directory)
  10. cp (Copy File and Directory)
  11. cat (Display File Content)
  12. sort (Sort File Contents)
  13. grep (Global Regular Expression Print)
  14. Regular Expression
  15. find (Find File and Directory)
  16. Wildcard
  17. ln (Create Link to File and Directory)