View Full Version : does anyone own linux?
bamfonk
03-02-2009, 06:38 PM
well i have a vb mod and it has a .sh file that needs to be compiled and the command that i need to type is a linux command only and i dont have linux and i was wondering if someone could help me out with this at all?
Lynne
03-02-2009, 06:40 PM
google?
bamfonk
03-02-2009, 06:41 PM
lynne i been on google all day trying to figure this out lol ....
snakes1100
03-02-2009, 06:48 PM
ssh into server.
if you know the path of the file and its name, you can either cd to that dir or run it form the current location that you logged in at, the script also needs +x or you can simply 755 it in ftp.
cd /path/to/file
./filename.sh
press the return (enter) key.
or
/path/to/file/filename.sh
chmod +x filename.sh
press the return (enter) key.
bamfonk
03-02-2009, 06:57 PM
ok i created a SSH account...now i just use cmd on my computer to access the ftp?
snakes1100
03-02-2009, 09:31 PM
<a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">http://www.chiark.greenend.org.uk/~s.../download.html</a>
pattycake
03-03-2009, 12:00 AM
well i have a vb mod and it has a .sh file that needs to be compiled and the command that i need to type is a linux command only and i dont have linux and i was wondering if someone could help me out with this at all?
you don't "complie" a .sh file - it is a "shell" program (like a windows BAT file) meant to be run from the linux command line.... usually containing linux commands to do things. I use one to backup my database tables... nothing more than a mysqldump batch file that does a few more things like rotating old backups, getting rid of backups older than 3 days.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.