a i x h i n t s & t i p s
frequently asked questions (faq) from the aix user and system administrator courses. 【相关文章:做网卡聚合】 【扩展阅读:IOS升级】if you dont find it here, try the comp.unix.aix faq or the comp.unix.questions faq. 【扩展信息:俺的联系方式,欢迎交流技术和项目管理】 if you dont find it there post a question at the comp.unix.aix newsgroup, the tek-tips aix technical forum, or the rootvg.net forum. any other forums? let us know: forums@rootvg.neta i x u s e r q & a
( = click for more information, links with are outside of rootvg.net)
q:how to change the prompt?a:add in $home/.profile : export ps1=`hostname`:$pwd# (dont forget the before the $). q:how to activate history inline editing in the korn shell (using vi)?a:add in $home/.profile: set -o vi (then you can use <esc>k [up], <esc>j [down], <esc>l [right] and <esc>h [left]). q:how to use alias in the korn shell?a:add in $home/.kshrc : alias l=ls -l add in $home/.profile: export env=$home/.kshrc q:how to go to the previous directory (korn shell)?a:# cd - or # cd ~- (this is called tilde-substitution, ~- is replaced by the $oldpwd variable).... 下一页