View Single Post
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#85
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

Last edited by James_Littler; 2010-08-13 at 13:40.
 

The Following User Says Thank You to James_Littler For This Useful Post: