![]() |
|
|
#23 | |||
|
Jul 2014
3·149 Posts |
Quote:
Quote:
Quote:
/mnt/sdb1/mprime_folder |
|||
|
|
|
|
|
#24 |
|
Sep 2002
Database er0rr
373910 Posts |
Doesn't "locate" require a indexing to occur -- admittedly this would not take long for tiny core if it has such a feature.
Better might be "find ~/ -name mprime". wildrabbitt knows where mprime is. If he "cd" (change directory) to the right directory and runs "./mprime -m" that should do it. (Is "-m" defunct?) Last fiddled with by paulunderwood on 2015-11-23 at 19:59 |
|
|
|
|
|
#25 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37·263 Posts |
Quote:
Possibly. Or perhaps "find / -name mprime" of the mprime directory was not in the user's home directory. Quote:
But, yes, generally you are correct. |
||
|
|
|
|
|
#26 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
73518 Posts |
Attempting to be more helpful, I have tried/discovered the following, of which you more learned can say, "Of course!"
If I copy mprime to a USB drive, I am not allowed to run it, because it is not executable. Also, I am not "allowed" to make it executable, presumably due to me not "owning" the USB drive. I also could not change the permissions or run it as root. Edit: I did, however find it using the "find / -name mprime" command, however, only after finding it this way as root. My initial try as 'user' did not locate it on the USB drive. Subsequent tries work. Last fiddled with by EdH on 2015-11-23 at 20:48 |
|
|
|
|
|
#27 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
100101000001012 Posts |
Quote:
this above (root @) in itself will breed a host of other problems, so you better abandon this practice early in your learning curve. Don't log in as root (obviously unless you need that for indeed root activities). Don't leave root shells open. Best practice is to sudo, for most everyday patches and tweaks. It is best to stick to this habit early, like, you know, flossing ...or not texting-and-driving.
|
|
|
|
|
|
|
#28 |
|
Sep 2002
Database er0rr
E9B16 Posts |
To add to Batalov's run-as-william advice: you can change the ownership of mprime as root with:
Code:
chown william:william mprime
|
|
|
|
|
|
#29 |
|
Jul 2014
44710 Posts |
Thanks Paul. The thing is. My username was william on the ubuntu box I used to copy the mprime files to the stick on.
On tinycore64 I don't have a username |
|
|
|
|
|
#30 |
|
Sep 2002
Database er0rr
3,739 Posts |
You might need to run "adduser william"
|
|
|
|
|
|
#31 | ||
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
Quote:
)As for why `./mprime` fails, I have no idea. To give us a feel for what the operating system does come with, try the following and post the outputs: `which file` (this one should have no output I believe) `echo $PATH` Last fiddled with by Dubslow on 2015-11-23 at 23:03 |
||
|
|
|
|
|
#32 |
|
Jul 2014
1BF16 Posts |
thanks
no ouput for 'which file' echo $PATH produces /home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin |
|
|
|
|
|
#33 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
What about "echo $SHELL" ?
What about "/mnt/sdb1/mprime_folder/mprime" ? As chalsall says that should be equivalent to "./mprime" but I want to be sure... |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posting log files or other text files | Xyzzy | Forum Feedback | 3 | 2018-12-30 19:37 |
| Is copying my complete "p95v285" folder to my new pc enough to continue? | RienS | Information & Answers | 1 | 2014-11-14 21:47 |
| Ubuntu | storm5510 | Linux | 24 | 2013-11-08 20:59 |
| Ubuntu 9.10 | henryzz | Linux | 11 | 2010-01-29 21:31 |
| Copying Latex No Longer Works? | jinydu | Information & Answers | 2 | 2009-03-16 02:39 |