Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Currently on pressing arrow keys or Ctrl+P/N, I see characters like

ftp> ^[[A
ftp> ^[[B
ftp> ^P
ftp> ^N

I would like to know, how to configure the ftp prompt so that I am able to view the previous commands just like we do on other shells (e.g. Ctrl+P/N in bash or arrow keys)

share|improve this question

1 Answer

You simply need to use an ftp client which implements command history.

share|improve this answer
3  
like ncftp – mindthemonkey Feb 27 at 9:49
or use something like rlwrap – Ulrich Dangel Feb 27 at 10:23
Or lftp (it's probably in your distribution already). – vonbrand Feb 27 at 12:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.