This chapter is dedicated to file manipulation. As in everything is a filesystem, file manipulation is considered one of the most important aspects of working with Linux. We will start by exploring common file operations, such as creating, copying, and deleting files. We will continue with a bit on archiving, another important tool when working on the command line. The last part of this chapter will be devoted to finding files on the file system, another important skill in the toolset of a shell scripter.
The following commands will be introduced in this chapter: cp, rm, mv, ln, tar, locate, and find.
The following topics will be covered in this chapter:
- Common file operations
- Archiving
- Finding files