 |
» |
|
|
 |
The fls command lists directories
or files. Using fls |  |
The syntax for the fls command is as follows: fls [-al] [name [-z access] ] ... |
The names are one or more directories
or files to be listed. If you are familiar with the HP-UX ls command,
you will notice the similarity. However, for fls, the directories
can be either local or remote. The following table summarizes the
two unique command options (excluding -z)
for the fls command: Table 3-3 Command
Options for fls Option | Description |
|---|
-a | Requests
a complete listing, including information about every FTAM file
attribute for each file listed. | -l | Requests
a "summary" listing of the directory. Files are
listed with their most important FTAM attributes: name, permissions,
contents-type, file size, time of last modification, and
identity of creator. |
The following example
illustrates the different kinds of file listings that are available.
The example continues on the next page. $ fls donald@chicago:/users/donald/reports/fn_1gns |
/users/donald/reports/fn_1gns |
$ fls -l donald@chicago:/users/donald/reports |
Permissions Owner File type Filesize Access date Filename ---------------------------------------------------------------------- R-PXEACD--- donald text (FTAM-1) 1920 Apr 21 19:49 fn_1gfs R-PXEACD--- donald text (FTAM-1) 250000 Apr 21 19:51 fn_1gnl R-PXEACD--- donald text (FTAM-1) 1100 Apr 21 19:49 fn_1gns R-PXEACD--- donald text (FTAM-1) 2015 Apr 21 19:49 fn_1gvs R-PXEACD--- donald text (FTAM-1) 30000 Apr 21 19:50 fn_1iam RI--EACD--- donald text (FTAM-2) 150038 Apr 21 19:51 fn_2l RI--EACD--- donald text (FTAM-2) 20020 Apr 21 19:50 fn_2m RI--EACD--- donald text (FTAM-2) 3001 Apr 21 19:50 fn_2s R-PXEACD--- donald binary (FTAM-3) 39999 Apr 21 19:50 fn_3m R-PXEACD--- donald binary (FTAM-3) 5000 Apr 21 19:50 fn_3s R----ACD--- donald dir (NBS-9) 1024 May 09 12:13 reportdir |
$ fls -a donald@chicago/users/donald/reports/fn_1gns |
Filename: /users/donald/reports/fn_1gns Permissions: R-PXEACD--- File type: text (FTAM-1) Storage account: no value available File creation: no value available Last file modification: Apr 21 19:49 Last read: May 18 15:36 Last attribute modification: no value available Identity of creator: donald Identity of modifier: no value available Identity of reader: no value available Identity of attribute modifier: no value available File availability: deferred availability Filesize: 1100 Access Control: other R-PXEACD group R-PXEACD user
R-PXEACD Legal qualification: no value available $ |
Permissions are described in Chapter 5 “FTAM File Protection” (Table 5-1 “Possible File Actions”).
|