8 Regular files

In most operating systems (OSs), a “file” is a non-volatile entity that contains a contaguous stream of octets (bytes). A “file” has to exist in a directory (aka folder), and a file must have a unique name with in the containing directory.

There are many actions you can perform to a regular file. For example, you can create a file, query a file, copy a file, rename a file, move a file or delete a file. In Linux, these are the commands to perform these operations in a command line interface (CLI):