Displaying help for a specific command
Use any of the following options.
help commandname
? commandname
commandname -?
Shell> help ls -b
Lists a directory's contents or file information.
LS [-r] [-a[attrib]][-sfo][file]format:
-r - Displays recursively (including subdirectories)
-a - Displays only those files with the attributes of type attrib.
If no attributes are listed, all files will be listed. If -a is
not specified, all non-system and non-hidden files will be
listed.
-sfo - Displays information in Standard-Format Output.
attrib - File attribute list:
a - Archive
s - System
h - Hidden
r - Read-only
d - Directory
file - Name of file or directory (wildcards are permitted)
NOTES:
1. This command lists directory contents or file information. If no file
name or directory name is specified, the current working directory
is assumed.
2. The contents of a directory are listed if all of the following are
true:
- If option -r is not specified
- If no wildcard characters are specified in the file parameter
- If file represents an existing directory
3. In all other cases, the command functions as follows:
- All files/directories that match the specified name are displayed.
- The -r flag determines whether a recursive search is performed.
- The option flag -a[attrib] tells the command to display only those
files with the attributes that are specified by [attrib].