FUN WITH THE C SHELL
After months of plaguing with requests and having to keep www.tunelinux.com going as well. Me old mate Mr.Owain Vaughan has written an article especially for this site! Off you go then....! | |
If you are not a C shell user
then either discard this article or become one! To change your shell use the chsh command and enter '/bin/csh' when prompted, then logout and back in again and you will be using the C shell from now on! 1. Filename
completion 2. Choosing
from a list of possible filename completions 3.
Recalling past commands You can then recall them by number or name - simply enter an exclamation mark directly followed by the number or the first few characters of the previous command you are interested in, or a double-exclamation mark for the immediately previous command. 4. Changing
bits of the last command. Say you entered the command 'ls /usr/local/lib' but you really wanted 'ls /usr/local/bin', just enter '^lib^bin' and you'll get it!! 5. Making
these changes permenent. Simply enter 'cat >> $HOME/.cshrc' and then paste in your favourite commands to append them to your own '.cshrc' file. Tap CTRL-D to end the file. More to come!! Owain |