Results 1 to 3 of 3

Thread: previous commands using up and down keys not working

  1. #1
    Join Date
    Dec 2010
    Beans
    434

    previous commands using up and down keys not working

    I am using a CLI only server, and when I log in as a standard user, it puts me in $. when I use the up and down keys, I get the "^[[A" or "^[[B". Why does it not work?

  2. #2
    Join Date
    Apr 2012
    Beans
    7,256

    Re: previous commands using up and down keys not working

    What kind of server? Probably you are not in a bash shell, remember that in Ubuntu (and some others) /bin/sh is a symlink to the dash shell

  3. #3
    Join Date
    Dec 2010
    Beans
    434

    Re: previous commands using up and down keys not working

    I checked in my /etc/passwd file, and the shell was set to /bin/sh, so I changed it to /bin/bash and it works now.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •