Contents | < Browse | Browse >
The following characters have special meanings to ZShell.
" " Double quotes. Used to enclose strings with spaces.
eg "hello world".
^n Hat character. Prefixes a control character letter (n).
Used in ASK , ECHO & ALIAS commands. eg ^L <-clear screen
%n Percent prefixes a number (0-7) to specify an optional
parameter for command aliases. Used in ALIAS command.
Can also be used to specify prompt arguments. See PROMPT .
$n Dollar prefixes a number (0-7) and corresponds to an
optional parameter specified with %n (above).
*?~[]| Wild card characters. * matches 0 to n characters. ? matches
one character, ~ negates the following wild card, and [ ]
surround a class of characters to match.
n Backslash prefixes a special character, whose meaning you
want ignored. eg. echo "hello "fred"" (hello "fred")
; Semi-colon seperates multiple commands on one line.
eg. cd df1:;dir
> redirect output.
< redirect input.
>> redirect append output.