avatar
AIX shell configuration# Unix - 噫吁兮,危乎高哉
l*k
1
I am using a AIX machine, however, a lot of unix flavors are
not in the shell(I use C shell, no tcsh installed)
first, I can't use tab to auto complete file name
I wrote set filec in .cshrc and soured it, no effect.
second, I can't use up/down arrow to browse commands history
How can I fix it? should I tell the root to do something? (he knows
little about unix, but I can't just tell him that)
Best
avatar
c*t
2
The features you talked about are for tcsh...
csh does have file name completion, but instead of using tab, use Esc.
csh has command history name substituion scheme. For instace, !!
means the previous command. !g means the previous command that starts
with g. There are more advanced stuff which you can read from csh
man page.

【在 l*****k 的大作中提到】
: I am using a AIX machine, however, a lot of unix flavors are
: not in the shell(I use C shell, no tcsh installed)
: first, I can't use tab to auto complete file name
: I wrote set filec in .cshrc and soured it, no effect.
: second, I can't use up/down arrow to browse commands history
: How can I fix it? should I tell the root to do something? (he knows
: little about unix, but I can't just tell him that)
: Best

avatar
z*u
3
echo $EDITOR to see if your shell editor is vi.
vi is much more convenient for shell command editting.

【在 c*****t 的大作中提到】
: The features you talked about are for tcsh...
: csh does have file name completion, but instead of using tab, use Esc.
: csh has command history name substituion scheme. For instace, !!
: means the previous command. !g means the previous command that starts
: with g. There are more advanced stuff which you can read from csh
: man page.

avatar
l*k
4
thanks, man! really helpful

【在 c*****t 的大作中提到】
: The features you talked about are for tcsh...
: csh does have file name completion, but instead of using tab, use Esc.
: csh has command history name substituion scheme. For instace, !!
: means the previous command. !g means the previous command that starts
: with g. There are more advanced stuff which you can read from csh
: man page.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。