Command Structure

Before we start running commands, its important to understand their basic structure.

<command_name> <flags> <arguments>

The command is the name of the command to run, like pwd.

The flags are optional pieces to be passed to the command and are denoted by a - or --, such as -a or --all. Each command has a preset list of flags you can use.

The arguments are optional pieces to be passed to the command, like flags, but are not preset values. An example is a filename, like readme.txt.

You should also be aware that the order matters when typing a command. The flags should always come after the command_name, and before any arguments.

results matching ""

    No results matching ""