Moving around the Filesystem
Christopher Negus · 2015
This chapter covers lots of commands for moving around and manipulating files, as well as commands for changing ownership and permission. In Linux, files are organized within a hierarchy of directories. Each directory can contain files, as well as other directories. The chapter introduces a few simple commands for getting around the filesystem to create and use files and directories. It describes the steps that lead us through the process of creating directories within our home directory and moving among our directories, with a mention of setting appropriate file permissions. Whether one is listing, moving, copying, removing, or otherwise acting on files in a Linux system, certain special characters, referred to as metacharacters and operators, help to work with files more efficiently. The ‘ls’ command is the most common command used to list information about files and directories.