Real Dummy here!!

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Real Dummy here!!
# 1  
Old 02-06-2001
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. Smilie

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.

# 2  
Old 02-06-2001
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, from the directory where the script is stored, type
ls -l

You should see something like;

-rwxr-xr-- 1 keith site32 703 Jan 11 12:14

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

To execute the program, cd into the directory where the script is, and type;

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]
# 3  
Old 02-06-2001
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.

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Dummy Question

Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies

2. UNIX for Dummies Questions & Answers

using grep for a dummy

Hi there; I am really new in unix. I need some help regarding use of grep command. I need to write a shell script which takes a C++ program and counts the number of words which could be a valid C++ variable name. I wrote a regular expression to find c++ variable names: ^* but... (3 Replies)
Discussion started by: mkosucu
3 Replies

3. UNIX for Dummies Questions & Answers

Curious Dummy

I have a website but I do not for the life of me know how to upload using unix based command lines. Can someone send me a good site that has these commands. That and I am curious to know more about command line based interfacing. :D Curious Dummy (1 Reply)
Discussion started by: highway39
1 Replies

4. UNIX for Dummies Questions & Answers

question from a dummy

okay so I just started this unix class and understood all the test questions but this "normal" question threy me through a loop :confused:. The question is Why are UNIX commands noninteractive and why is their output not usually preceededby header information? This question has been driving me... (2 Replies)
Discussion started by: cinnamonbear
2 Replies

5. Shell Programming and Scripting

Dummy need help :(

This drive me nut, any can show me how to do it ?? str1='Case Modify 10001 20002 30003 40004|Report Create 3417176211|Case Modify 10002 20002 30003 40004' and str2='Case Modify 10001' if str1 ~ str2 then str1='Report Create 3417176211|Case Modify 10002 20002 30003 40004' Thanks, (8 Replies)
Discussion started by: sabercats
8 Replies

6. UNIX for Dummies Questions & Answers

Unix Dummy

i need to learn unix real quick and i have completely no idea how. could anyone please tell me how to get material to get me going??? I am IT oriented. PLEASE ANY ONE???????????????? :confused: (3 Replies)
Discussion started by: quarmenna
3 Replies

7. UNIX for Advanced & Expert Users

Using dummy files

what do you record or look for when using these dummy files to test I/O throughput on disk drives. i have no clue and reading from books sure aint helping much. i know all about the creation and every other thing there is to it but when it comes to actual testing, how do i use them this is... (4 Replies)
Discussion started by: TRUEST
4 Replies

8. UNIX for Dummies Questions & Answers

Dummy Needs Help

I am ftp-ing (I think) files from one computer to another and I am using the Put command to do this. Is there a way for me to string these commands together and Put several files at once? Thanks, Amy (4 Replies)
Discussion started by: amygdala
4 Replies
Login or Register to Ask a Question