Actions on Files and Directories
Explore how to perform key file and directory operations in Bash including creating, copying, moving, renaming, and deleting. Understand the use of core GNU utilities like mkdir, cp, mv, and rm to efficiently manage the file system from the command line.
We'll cover the following...
We'll cover the following...
We learned how to find a file or directory on the disk. Now, let’s discuss what we can do with it. If we have experience with a graphical interface of some OS, we know the following actions with file system objects:
- Create
- Delete
- Copy
- Move or rename
Possible actions with file system objects
Each of these actions has a corresponding GNU utility. Call them to manage the file system ...