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.

Environment Variables<br />

Exit Status<br />

Related Information<br />

Examples<br />

v If x, the file is executable or the directory is searchable; if -, it is not executable<br />

or searchable.<br />

ls is affected by the following environment variables:<br />

BLOCKSIZE<br />

If set, the block counts will be displayed in units of that size block. See the<br />

-s option.<br />

COLUMNS<br />

If this variable contains a string representing a decimal integer, it is used as<br />

the column position width for displaying multiple-text-column output. The ls<br />

utility calculates how many path name text columns to display based on the<br />

width provided. See the -C option.<br />

v 0 on success<br />

v >0 if an error occurs.<br />

v chgrp - Change file group permission<br />

v chmod - Change file modes (permissions)<br />

v chown - Change file ownership<br />

v cp - Copy files<br />

v ln - Link files<br />

v mkdir - Make directories<br />

v mv - Move files<br />

v rm - Remove directory entries<br />

v rmdir - Remove directories<br />

1. Display the list of files in the current directory using the long format.<br />

ls -l<br />

2. Display all date and time details for the file “myfile”.<br />

ls -lT myfile<br />

-rwxrwxrwx 1 abbey 0 592 Sep 12 22:47:01 1998 myfile<br />

[ Legal | AS/400 Glossary ]<br />

mkdir - Make directories<br />

Synopsis<br />

62 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />

mkdir [-p] [-m mode] directory_name ...

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

Saved successfully!

Ooh no, something went wrong!