homepage Welcome to WebmasterWorld Guest from 107.20.30.170
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
^[[A instead of history
How to make cursor keys work
Status_203




msg:4385839
 9:57 am on Nov 11, 2011 (gmt 0)

sshing on to a linux server
the root user gets command history when pressing the up cursor key
a created user gets ^[[A instead (and tab does not autocomplete)

Why? And how can I fix it?

 

Status_203




msg:4386073
 10:04 pm on Nov 11, 2011 (gmt 0)

Ah, apparently it came down to the command I used to create the user - adduser vs useradd, can't remember which is which. One sets the shell to /bin/sh when I wanted /bin/bash ! One quick chsh later and all works

(It even fixed my inability to change the default umask. Presumably my non bash shell wasn't running my .bashrc file. All's good :) )

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved