Solaris Advanced User's Guide

Adding Command Options

Many commands have options that invoke special features of the command. For example, the date command has the option -u, which expresses the date in Greenwich Mean Time instead of local time:

$ date -u
Tue Oct 31 22:33:16 GMT 2000

Most options are expressed as a single character preceded by a dash (-). Not all commands have options. Some commands have more than one option. If you use more than one option for a command, you can either type the options separately (-a -b) or together (-ab).