Shell command no longer work

Questions and answers about how to do stuff
Post Reply
curibe
Posts: 74
Joined: 26 Feb 2014 22:38

Shell command no longer work

Post 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 ~]$
User avatar
darky83
Site Admin
Posts: 544
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Shell command no longer work

Post 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.
Version eFa 5.x now available!
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Shell command no longer work

Post 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
User avatar
darky83
Site Admin
Posts: 544
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Shell command no longer work

Post by darky83 »

:eusa-shifty: I did not even spot that :P
Version eFa 5.x now available!
Post Reply