Each shell has its own set of commands that it understands, but they all follow the same general format. Commands are broken into words (separated by spaces) with the first word being the command or program to run, and subsequent words being passed to the program as arguments for it to use.
Run as admin (sudo)
Operating systems restrict some actions to admin users, particularly when the actions will change the behaviour of the system. In Unix, you can use the sudo shell command to get the superuser to do something. You follow the sudo command with the details of the command you want to do.
Example
The following are some example shell commands. Lines starting with a # are comments, so these are ignored by the shell program. We use them here to explain how each shell command is structured.