maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Where's CTRL + R? (https://talk.maemo.org/showthread.php?t=54144)

ivnvir 2010-05-27 23:44

Where's CTRL + R?
 
A good tool for shell is ctrl + R, wich can retrieve a command that you entered a long time ago by keywords.

Ex.:
- you did "rm -Rf avatar.jpg"
- if you press ctrl + r and type "ava" it will show the command, if you press it again it'll show you another command with "ava" on it
- if you press enter, the command will run

Try it in your linux...

Where's it in our n900 shell?

wmarone 2010-05-27 23:46

Re: Where's CTRL + R?
 
Quote:

Originally Posted by ivnvir (Post 684315)
A good tool for shell is ctrl + R, wich can retrieve a command that you entered a long time ago by keywords.

Ex.:
- you did "rm -Rf avatar.jpg"
- if you press ctrl + r and type "ava" it will show the command, if you press it again it'll show you another command with "ava" on it
- if you press enter, the command will run

Try it in your linux...

Where's it in our n900 shell?

Try installing and using bash instead of the the default busybox shell. Just don't set it as the "user" account's default shell or you'll break stuff.

fnordianslip 2010-05-27 23:47

Re: Where's CTRL + R?
 
<br />
You can install bash. I have. I've had it set as the user accounts login shell for 6 months and had no issues at all.

ivnvir 2010-05-27 23:57

Re: Where's CTRL + R?
 
Thanks guys! Installed and it's great.

but, should I run bash-setup?

fnordianslip 2010-05-28 00:18

Re: Where's CTRL + R?
 
bash-setup didn't seem to work for me after my post-PR1.2 reflash, so i edited /etc/passwd directly. ymmv.


All times are GMT. The time now is 03:47.

vBulletin® Version 3.8.8