小编nam*_*ame的帖子

.profile:第31行:语法错误:意外的文件结束

我很擅长bash编程.错误在哪里?这是我的.profile文件:

# WARNING: For help understanding this file, and before you try
# to change any of it, type "man .profile" and read carefully.
#

#
# Set command search rules
#
if [ -x /bin/showpath ] ; then  
    export PATH; PATH=`/bin/showpath $HOME/bin /u/cs350/sys161/bin /software/gnu/bin standard`
    export PATH; PATH=`/bin/showpath usedby=user standard $HOME/bin`
#
# Find out what kind of terminal we are using
#
    eval `setterm  sytek:kd404  default:vc404`
#
# Set terminal-type dependent options (e.g. sysline or prompt string)
# …
Run Code Online (Sandbox Code Playgroud)

bash .profile

2
推荐指数
1
解决办法
7434
查看次数

标签 统计

.profile ×1

bash ×1