Commands, Arguments, and Getting Unstuck
The shape of every command. There is only one shape, and once you see it the whole system stops looking arbitrary.
`
command -flags arguments
`
The command is what to do. Flags modify how, and conventionally start with a dash. Arguments are what to do it to.
When you do not know, ask the machine. Every real command ships with its own documentation, and reaching for it is a professional habit rather than an admission of ignorance.
man ls opens the manual for ls.
which ls shows which program would actually run.
help lists what this sandbox supports.
✦ Nothing happened is usually success
Many commands print absolutely nothing when they work. That is deliberate: output is reserved for information you asked for or problems you need to know about. Silence followed by a fresh prompt means it worked. This trips up nearly everyone at first, because a graphical interface would have shown a confirmation.
Mark this lesson complete
Signed in, your progress follows you to every device.