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 |
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access