View Single Post
Posts: 219 | Thanked: 21 times | Joined on May 2010
#86
Originally Posted by James_Littler View Post
Ok, try:
Code:
root
cd /home/user/MyDocs/
unzip xf knight-rider.zip  -C /root/
cd /root/opt/scripts/
chmod +x KR
So what we're doing is:

gain root access
change directory to /home/user/MyDocs/
unzip, which is the process,
x extracts, f is the file (could be a drive or whatever)
knight-rider.zip is the file to run the command on
-C changes directory before extracting
/root/ tells unzip where to extract to

change directory to /root/opt/scripts/
make KR excecutable
again error :s

i havent made a opt/scripts file in root btw. i dont know how. can you give me a command to create file 1st.then copy paste the extracted file(extracted in mydocs already)..and then execute?and how to make an APP button too.

this is my error

root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# cd /home/user/MyDocs/
Nokia-N900:/home/user/MyDocs# unzip xf knight-rider.zip -C /root/
unzip: cannot find or open xf, xf.zip or xf.ZIP.
Nokia-N900:/home/user/MyDocs# cd /root/opt/scripts/
-sh: cd: can't cd to /root/opt/scripts/
Nokia-N900:/home/user/MyDocs# chmod +x KR
chmod: KR: No such file or directory
Nokia-N900:/home/user/MyDocs#