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.
Utilities for defining aliases<br />
The following are <strong>Qshell</strong> utilities for defining aliases:<br />
v alias - Define or display aliases<br />
v unalias - Remove alias definitions<br />
[ Legal | AS/400 Glossary ]<br />
alias - Define or display aliases<br />
Synopsis<br />
Description<br />
Options<br />
Operands<br />
Exit status<br />
Related information<br />
Examples<br />
30 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
alias [ -p ] [ name [ =value ] ] ...<br />
You can use alias to define an alias name that has the specified value. Ifyou<br />
specify name only, <strong>qsh</strong> displays the name and value of the alias.<br />
When no arguments are specified, <strong>qsh</strong> displays a list of all the aliases and their<br />
values.<br />
<strong>qsh</strong> predefines the following aliases:<br />
v tar=’pax -A’<br />
v uncompress=’compress -d’<br />
v zcat=’compress -d -c’<br />
v -p Precede each line of the output with the word “alias ” so it is displayed in a<br />
re-enterable format.<br />
Each name specifies an alias in the current environment. If a value is also<br />
specified, then the value of the alias is updated.<br />
v 0 when successful.<br />
v >0 when unsuccessful. The value is the number of name(s) that are not aliases.<br />
v “unalias - Remove alias definitions”<br />
1. Define an alias to list the contents of a directory: alias ll=’ls -l’<br />
2. Display the value of the ll alias: alias ll<br />
3. Display the values of all currently defined aliases: alias<br />
[ Legal | AS/400 Glossary ]