View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#15
Originally Posted by Sarty View Post
Noob reporting:

I've encountered problems at step 7 of this guide. Here's what I'm getting (verbatim):

sudo gainroot
/home/user # cd /home/user/bin
/home/user/bin # ./nupgrade 0
/bin/sh: ./nupgrade: not found
/home/user/bin #

Should I be typing in "./nupgrade.sh 0"?
Yes. This is different from DOS where you enter a command, and DOS starts looking for files with .com, .exe or .bat extensions. In *nix you execute a file, not a command, so the full filename must be specified.
The filename extension is just as any other part of the filename, and only there for your convenience (.sh is often used to indicate to you that it's a shellscript, but you could equally well call the file nupgrade.myscript, or, indeed, just nupgrade)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.