Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP FTAM/9000 User's Guide > Chapter 3 Using Command-Line FTAM

Listing Directories with fls

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The fls command lists directories or files.

About fls

With fls, you can list existing either local or remote directories or files.

NOTE: If the remote FTAM implementation does not support the concept of directories (i.e., NBS-9 type documents), fls does not work; you will receive an error message.

When fls is finished, your local host redisplays its prompt. When you work with remote directories, the working directory for fls on the remote host is a default directory that depends on the remote FTAM implementation. For HP-UX FTAM responders, it is your remote home directory.

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.

NOTE: Whether a file is local or remote depends on how you specify the file name. See “Specifying File and Directory Names” earlier in this chapter.

Command Options for fls

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.

 

Example:

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
/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”).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.