LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 811|回复: 2

/etc/profile无法执行命令

[复制链接]
发表于 2004-11-23 17:53:50 | 显示全部楼层 |阅读模式
注:该文件的语法肯定是正确的,不知道为什么会这样.
#source /etc/profile
'ash: /etc/profile: line 6: syntax error near unexpected token `{
'ash: /etc/profile: line 6: `pathmunge () {
发表于 2004-11-23 22:11:59 | 显示全部楼层
为什么肯定是正确的?贴出来看看
发表于 2004-11-23 22:21:42 | 显示全部楼层

回复: /etc/profile无法执行命令

最初由 zxhcxd 发表
注:该文件的语法肯定是正确的,不知道为什么会这样.
#source /etc/profile
'ash: /etc/profile: line 6: syntax error near unexpected token `{
'ash: /etc/profile: line 6: `pathmunge () {

ash??
是不是应该使用bash试一试??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表