![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get real value from real-time systems | iBot | Complex Event Processing RSS News | 0 | 01-14-2008 02:10 AM |
| cut awk dummy question :) | sopel39 | UNIX for Dummies Questions & Answers | 14 | 11-14-2007 02:14 PM |
| question from a dummy | cinnamonbear | UNIX for Dummies Questions & Answers | 2 | 08-27-2006 09:52 PM |
| Dummy need help :( | sabercats | Shell Programming and Scripting | 8 | 03-12-2006 02:31 AM |
| Dummy Needs Help | amygdala | UNIX for Dummies Questions & Answers | 4 | 08-31-2001 11:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
After reading so many posts in this section, I'm convinced there are no other dummies here but me. You guys are light years ahead.
I have a great understanding of the Windows environment, but lost right now in some things pertaining to Unix. See, I'm a recent convert and put my website up on a unix box. ![]() So I have secure telnet access and FTP. But I need to "execute" a "program" on the server and have absolutely no clue. I am trying to have the server run a messageboard script, which can easily be edited on my Desktop (windows). It's on the server and is used to update my database. It's written in Perl. Bottom line, need to find out what would be similar command to "exec" in DOS (or RUN in basic) which was used to execute the compiled program name which followed. Is there a unix equivalent to "run" the database update script? Thanks in advance. Keith |
|
||||
|
There are no UNIX dummies, only those who have not been enlightened by it's power! Welcome.
To exectute a program in UNIX, it must first be executable. If the perl script is named msgbd.pl, from the directory where the script is stored, type ls -l msgbd.pl You should see something like; -rwxr-xr-- 1 keith site32 703 Jan 11 12:14 msgbd.pl What you are looking for is the x in rwxr--r--. This is the permission set associated with this file. It is split into three sets, owner, group, and everyone. This file had read, write and execute for the owner, read and execute for the group, and read for everyone. To make it exectutable for everyone, type; chmod +x msgbd.pl To execute the program, cd into the directory where the script is, and type; ./msgbd.pl The ./ means this directory. It may be in your " search path" and not require the ./, but it may not. [Edited by 98_1LE on 02-06-2001 at 10:28 AM] |
|
||||
|
OUTSTANDING!!1 That's just what I was looking for. I'm familiar with some of what you described, so the rest of your message was exactly what I needed. Thanks so much for the reply.
I'm really enjoying this "unix" thing. I moved from CP/M to Apples OS (1982) to DOS, then Windows and been there since 1990 or so. I hated Windows with a passion, but that's where all the apps were. So now I have a good feeling about what I can do with Unix, just a TON of stuff to learn. Thanks again. Keith |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|