06-03-2014, 10:00 PM | #1 | |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
get "find" on PB622: is it possible? how? (Debian Lenny armel?)
rkomar wrote:
Quote:
I miss the find command a lot. Thanks in advance. |
|
06-03-2014, 11:06 PM | #2 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I've searched around and can't find the packages for Lenny (5.0.10) anymore. You may have to download the ISO for the distribution and get the packages from that. The ISO files can be found here: http://www.debian.org/releases/lenny/debian-installer/
I've attached the copy of find from that distribution here for you, to save you some trouble. There are many other utility programs that will also work, and you should get those from the Debian distribution. |
Advert | |
|
06-04-2014, 04:00 AM | #3 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
Oh, THANK YOU so very much! It's really great to have taken the time to make it easy for me.
I'm going to try it now... |
06-04-2014, 04:17 AM | #4 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
"Small" problem and - not too inept, I hope - question:
where do I put it ?? I cannot become root so I cannot write in /bin, nor /sbin or /usr/bin. And for the same reason I cannot permanently change my $PATH. So ? Or do I have to put it in /mnt/ext1/system/bin and then always use its full path? Thanks again |
06-04-2014, 04:16 PM | #5 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I put it in /mnt/ext1/system/bin. If I need to use a lot of the utilities in there, I change the path to include that directory. You just need to run the following line in your shell:
Code:
export PATH=/mnt/ext1/system/bin:$PATH Code:
source /mnt/ext1/system/bin/setpath The ssh session has that path built into it, so you don't have to do that when using it. It's only in utelnetd or pbterm that you have to add it by hand. Maybe I'll look at adding it automatically to utelnetd, if I can figure out how to do it without busting the other environmental variables. |
Advert | |
|
06-04-2014, 07:41 PM | #6 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I modified utelnetd to automatically add "/mnt/ext1/system/bin" to the path. If you install the new version, you won't have to bother with setting PATH by hand anymore when you telnet to the device.
|
06-05-2014, 01:37 AM | #7 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
Thanks again for your help.
Following your advice I put "find" in /mnt/ext1/system/bin. However, when I asked the question, my concern was about its use in pbterm. But a strange -very strange- thing happened. I changed the $PATH in pbterm, with export and ... the shell couldn't find the command "find". I had to give the full path to run it ! This baffles me utterly. There must be something obvious but ... what ?? Furthermore, I don't understand what you mean by "source" it. "source" is not a command : I couldn't find it with pbterm. So what is it? Where do I find it? -Probably something I should know but, then, I don't!- And the "setpath" file you suggest to create, I take it this is a script, isn't ? Or not? If it had been a command I would think it was to run initializations at start up. But as I couldn't find it ... And last about ssh and utelnetd, I'm still working on it - as it is not working! - but I'll post my -alas, many- questions in the thread I started about it. Seems best, isn't it? Anyway, thank you for the change in utelnetd, I'm sure I'll find it nice ... when I get it to work ! Last edited by alphane; 06-05-2014 at 01:50 AM. Reason: wording mistake |
06-05-2014, 02:37 AM | #8 |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
"source" is a built-in command in the bash shell, which is what you get with utelnetd. I forgot that it wasn't available in the shell used by pbterm. In pbterm, you would use the "." command instead of "source":
Code:
. /mnt/ext1/system/bin/setpath Last edited by rkomar; 06-05-2014 at 02:40 AM. |
06-05-2014, 08:30 AM | #9 | |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
Enlightening : now I understand.
Quote:
Thank you very much |
|
06-06-2014, 02:11 AM | #10 | |
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: France
Device: PB622
|
About pbterm and the change of $PATH not having effect, id est :
Quote:
I'm going to try "source" it now. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing a "normal" Debian ARMEL Linux on the Kindle | choff | Kindle Developer's Corner | 18 | 09-09-2014 02:42 AM |
K5 + PW: Getting debian stuff to run "FrontMost" Natively. | twobob | Kindle Developer's Corner | 2 | 08-12-2013 04:27 AM |
Can't install under Debian Lenny | cbalmforth | Calibre | 2 | 07-01-2010 12:59 PM |
Install Calibre in Debian Lenny? | erdalronahi | Calibre | 8 | 05-16-2010 12:49 AM |
Calibre binary for Debian Lenny x64 | Megatron-UK | Calibre | 1 | 01-30-2010 12:56 PM |