j**e 发帖数: 15 | 1 1) How to change login shell if I'm not the system ad?
2) Does csh/bsh support command recall?
(push UP key to recall the previous command)
I can use this function in bsh/tcsh but not csh.??
THX, guys! | i*******n 发帖数: 166 | 2
chsh
in .cshrc, e.g., set history=32
【在 j**e 的大作中提到】 : 1) How to change login shell if I'm not the system ad? : 2) Does csh/bsh support command recall? : (push UP key to recall the previous command) : I can use this function in bsh/tcsh but not csh.?? : THX, guys!
| s******n 发帖数: 15 | 3
or set SHELL /bin/sh, tcsh, csh, ....
csh doesn't support UP key to recall command. use history.
【在 i*******n 的大作中提到】 : : chsh : in .cshrc, e.g., set history=32
| m*******m 发帖数: 182 | 4 Or just run tcsh when you login (in .login or .cshrc)
【在 s******n 的大作中提到】 : : or set SHELL /bin/sh, tcsh, csh, .... : csh doesn't support UP key to recall command. use history.
|
|