Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Exit Status<br />
Examples<br />
106 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
%c Insert date and time of locale.<br />
%d Insert day of the month (01-31).<br />
%H Insert hour (24-hour clock) as a decimal number (00-23).<br />
%I Insert hour (12-hour clock) as a decimal number (01-12).<br />
%j Insert day of the year (001-366).<br />
%m Insert month (01-12).<br />
%M Insert minute (00-59).<br />
%p Insert equivalent of either AM or PM of locale.<br />
%S Insert second (00-61).<br />
%U Insert week number of the year (00-53) where Sunday is the first day of the<br />
week.<br />
%w Insert weekday (0-6) where Sunday is 0. first day of the week.<br />
%W Insert week number of the year (00-53) where Monday is the first day of the<br />
week<br />
%x Insert date representation of locale.<br />
%X Insert time representation of locale.<br />
%y Insert year without the century (00-99).<br />
%Y Insert year.<br />
%Z Insert name of time zone, or no characters if time zone is not available.<br />
%% Insert %.<br />
v 0 when successful<br />
v >0 when an error occurred<br />
1. Print the full weekday name, the full month name, the day and the full year.<br />
date +%A%, %B% %d%, %Y<br />
Friday, August 14, 1998<br />
2. Print the day, the abbreviated month name, and the abbreviated year.<br />
date +%d%.%b%.%y<br />
14.Aug.98<br />
3. Print the numeric month, day, and abbreviated year.<br />
date +%m%/%d%/%y<br />
08/14/98<br />
[ Legal | AS/400 Glossary ]