免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2002 | 回复: 5
打印 上一主题 下一主题

[故障求助] 这个prod2是什么? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-06 12:40 |只看该作者 |倒序浏览
AIX怎么修改这个?

开始以为是hostname,但是发现hostname时ld

prod2:root:/>hostname
ld

这个prod2是什么?如何修改

论坛徽章:
0
2 [报告]
发表于 2013-02-07 08:57 |只看该作者
修改你的profile

论坛徽章:
0
3 [报告]
发表于 2013-02-07 09:06 |只看该作者
xiaoxiaoqiushui 发表于 2013-02-07 08:57
修改你的profile



cat /etc/profile

trap "" 1 2 3
readonly LOGNAME

# Automatic logout, include in export line if uncommented
# TMOUT=120

# The MAILMSG will be printed by the shell every MAILCHECK seconds
# (default 600) if there is mail in the MAIL system mailbox.
MAIL=/usr/spool/mail/$LOGNAME
MAILMSG="[YOU HAVE NEW MAIL]"

# If termdef command returns terminal type (i.e. a non NULL value),
# set TERM to the returned value, else set TERM to default lft.
TERM_DEFAULT=lft
TERM=`termdef`
TERM=${TERM:-$TERM_DEFAULT}

# If LC_MESSAGES is set to "C@lft" and TERM is not set to "lft",
# unset LC_MESSAGES.
if [ "$LC_MESSAGES" = "C@lft" -a "$TERM" != "lft" ]
then
        unset LC_MESSAGES
fi

export LOGNAME MAIL MAILMSG TERM

没有发现什么和prod2有关系

论坛徽章:
0
4 [报告]
发表于 2013-02-07 09:26 |只看该作者
是用户的profile,不是系统的profile

论坛徽章:
0
5 [报告]
发表于 2013-02-07 10:25 |只看该作者
xiaoxiaoqiushui 发表于 2013-02-07 09:26
是用户的profile,不是系统的profile



用户的.profile中没有和prod2相关的信息

论坛徽章:
0
6 [报告]
发表于 2013-02-07 10:55 |只看该作者
好吧,简单点,你敲两个命令env|grep PS
echo $PS1
把结果贴出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP