Differing Features
Table 19-2 is a sampling of features that differ between the two shells.
Table 19-2. Differences between the bash and tcsh shells
Meaning/action |
bash |
tcsh |
---|---|---|
Default prompt |
|
|
Force redirection |
|
|
Force append |
| |
Variable assignment |
|
|
Set environment variable |
|
|
Command substitution |
|
|
Number of arguments |
|
|
Execute commands in |
. |
|
End a loop statement |
|
|
End |
|
|
Loop through variables |
|
|
Sample |
|
|
End |
|
|
Set resource limits |
|
|
Read from terminal |
|
|
Make a variable read-only |
|
|
Show possible completions |
Tab Tab | |
Ignore interrupts |
|
|
Begin |
|
|
Begin |
|
|
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.