29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Extended Description<br />

The -1, -C, and -l options all override each other. The last one specified determines<br />

the format used.<br />

The -c, and -u options override each other. The last one specified determines the<br />

file time used.<br />

By default, ls lists one entry per line to standard output; the exceptions are to<br />

terminals or when the -C option is specified.<br />

File information is displayed with one or more blanks separating the information<br />

associated with the -i, -s, and -l options.<br />

If the -l option is specified, the following information is displayed for each file:<br />

v file mode,<br />

v number of links,<br />

v owner name,<br />

v group name,<br />

v number of bytes in the file,<br />

v abbreviated month,<br />

v day-of-month file was last modified,<br />

v hour file last modified,<br />

v minute file last modified, and<br />

v the path name.<br />

In addition, for each directory whose contents are displayed, the total number of<br />

512-byte blocks used by the files in the directory is displayed on a line by itself<br />

immediately before the information for the files in the directory.<br />

If the owner or group names are not a known user or group name the numeric<br />

identifiers are displayed.<br />

If the file is a character special or block special file, the major and minor device<br />

numbers for the file are displayed in the size field. If the file is a symbolic link the<br />

pathname of the linked-to file is preceded by “->”.<br />

The file mode consists of the entry type, owner permissions, group permissions,<br />

and other permissions. The entry type character describes the type of file, as<br />

follows:<br />

v b for a block special file.<br />

v c for a character special file.<br />

v d for a directory.<br />

v l for a symbolic link.<br />

v s for a socket.<br />

v - for a regular file.<br />

The owner permissions, group permissions, and other permissions are each three<br />

characters. Each field has three character positions:<br />

v If r, the file is readable; if -, it is not readable.<br />

v If w, the file is writable; if -, it is not writable.<br />

Chapter 4. Utilities 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!