A command may be handled by the shell or start another program. Follow that distinction through execution, status, process observation, and command lookup. Examples use a POSIX-style shell on Linux; those creating files assume a new, empty disposable working directory. Do not run unfamiliar scripts or signal processes you have not identified.
For each file-writing lesson, use the fresh subdirectory procedure and confirm your location before proceeding.