Page 1 of 1

Shell command no longer work

Posted: 25 Nov 2014 23:37
by curibe
After i updated EFA.

i notice i cannot use shell commands. when i log into efa using shell and hit 1 to use Shell. i notice that i cannot use LS or cd here is an example.


--------------------------------------------------------------
--- Welcome to the EFA Configuration program ---
--- http://www.efa-project.org ---
--------------------------------------------------------------

Please choose an option:

0) Logout 7) Auto Update
1) Shell 8) Mail Settings
2) Reboot system 9) Spam Settings
3) Halt system 10) Mysql Recovery
4) IP Settings 11) Apache Settings
5) Tunables 12) Virus Settings
6) Greylisting 13) System Restore

[EFA] : 1
[netadmin@DRB-EXAP01 ~]$ ls
[netadmin@DRB-EXAP01 ~]$ cd \
> cd \etc
-bash: cd: cd: No such file or directory
[netadmin@DRB-EXAP01 ~]$

Re: Shell command no longer work

Posted: 27 Nov 2014 12:45
by darky83
Never seen that before, did you already tried a reboot?

It might be that the bash shell is updated and needs a reboot to load new libraries but that is just a guess.

Re: Shell command no longer work

Posted: 27 Nov 2014 17:35
by shawniverson
Nothing is wrong.

1). ls

Your home is empty.

2). cd \

Command is using a \ instead of /. So it thinks you are continuing the command on another line.

3). cd \etc

Same issue as number 2 except that it thinks you are trying to escape the letter e...and it is concatenated to the prior command... cd cd \etc

Re: Shell command no longer work

Posted: 28 Nov 2014 09:01
by darky83
:eusa-shifty: I did not even spot that :P