I need help with a noobie shell script.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers I need help with a noobie shell script.
# 1  
Old 10-21-2007
I need help with a noobie shell script.

My applogies.

Last edited by buttons; 10-21-2007 at 01:45 PM..
# 2  
Old 10-21-2007
Quote:
Originally Posted by buttons
I am in an intro unix class and I am completely stumped ...
... especially with the "no homework rule" on this website.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write config shell script to pass variables in master shell script?

Dear Unix gurus, We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies

2. UNIX for Dummies Questions & Answers

How to write Config shell script to pass variables in master shell script?

Dear Unix gurus, We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies

3. Shell Programming and Scripting

Unable to pass shell script variable to awk command in same shell script

I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist. diff=$1$2.diff id=$2 new=new_$diff echo "My id is $1" echo "I want to sync for user account $id" ##awk command I am using is as below cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2 Replies

4. Shell Programming and Scripting

help while looping simple noobie

hi guys i have linked my lab 15. i have no idea where to start i dont understand whats it asking me. about the screen shot part!.. if someone can take a quick look and help me out with this unix lab that would be great.. i have did the Required Errorlevels Errorlevel #Event Information ... (1 Reply)
Discussion started by: beerpong1
1 Replies

5. Shell Programming and Scripting

How to use ssh execute other shell script on other host (shell script include nohup)?

i want use ssh on the host01 to execute autoexec.sh on the host02 like following : host01> ssh host02 autoexec.sh autoexec.sh include nohup command like follwing : nohup /home/jack/deletedata.sh & after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Discussion started by: orablue
1 Replies

6. Programming

Noobie in C

Hi to everyone , I am learning C language and I have problem with one example from book #include <stdio.h> int main() { char me; printf(“What is your name?”); scanf(“%s”,&me); printf(“Welcome, %s!\n”,me); return(0); } when I want to... (5 Replies)
Discussion started by: solaris_user
5 Replies

7. Windows & DOS: Issues & Discussions

Noobie with Linux emu: Need help with emu's

Hi i have recently downloaded the cygwin emulator on my windows xp machine and i installed it onto my laptop and all was fine. The thing is i have never known how to use it really. I am wanting to use linux on windows since i have some programs that work on linux only. I have a program called... (1 Reply)
Discussion started by: Sharkadder
1 Replies

8. UNIX for Dummies Questions & Answers

Network noobie question

This is my first attempt in installing a netbsd ever. I'm trying to get myself familiar with some commands and how things work in unix and so far i never knew its this fun. Anyway, unix is our elective here in school and school is gonna start 2 weeks. I'm just trying to get a headstart on this :D... (2 Replies)
Discussion started by: 3rr0r_3rr0r
2 Replies

9. Solaris

New born noobie with an easy question

I was told on a website that unix can help you make one. I was just wondering how and can you help me with a web page of my own. (1 Reply)
Discussion started by: Shintouku
1 Replies

10. UNIX for Dummies Questions & Answers

Unix Noobie Needs help with scripting

I've just begun using/studying Unix and I've run into a problem. I'm attempting to write a script that will replace a string within a textfile with another string, backing up the file before editing it. This is what I have so far, but I'm getting a "command not found" error. example input: ... (2 Replies)
Discussion started by: Vamirr
2 Replies
Login or Register to Ask a Question