登录系统报too many arguments解决方案

使用该命令进行调试

# ssh -t cloudman@192.168.145.234 "bash -x -l 2>&1 | grep -B5 'too many arguments'"

++ umask 027
+ TMOUT=300
+ export TMOUT=300
+ TMOUT=300
+ '[' /dev/pts/0 '!=' not a tty ']'
/etc/profile: line 80: [: too many arguments

posted @ 2026-03-12 16:55  LB_运维技术  阅读(1)  评论(0)    收藏  举报