Try to learn automated shell script


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Try to learn automated shell script
# 1  
Old 12-12-2019
Try to learn automated shell script

Hi,

i am new to shell script,i have a algorithm but i am not able to write script for this!
we have to run one menu script for 100 times,in the first time we have to give options and after that execute.
1.enter option for write,in that we give address and data
2.enter the option for read,we get the written data


thanks,
kanth
# 2  
Old 12-12-2019
Welcome on board,

Is this homework? If so we have a special forum for that:
https://www.unix.com/homework-and-coursework-questions/
And it has its special rules you have to comply with.

If you have an algorithm to start with what is it you cannot transcribe?
From what I read, I see a request for what the program should do, but no algorithm...

Last edited by vbe; 12-12-2019 at 11:40 AM.. Reason: typos
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

How to write automated interactive shell script?

Hello everyone, I just want to write a shell script for automatic feeding the username and password prompts when running my commands, I tried this one but it did not work. Please help me for any way out. #!/bin/bash #!/usr/bin/expect cd ~/workspace/mimosanetworks_mimosa-nms ls -ltr ... (5 Replies)
Discussion started by: sandy-sm
5 Replies

2. Shell Programming and Scripting

Export data from database in Excel sheet with the help of Shell script and automated the report

Export data from database in Excel sheet with the help of Shell script and automated the report every day in the mornig. (1 Reply)
Discussion started by: neeraj617
1 Replies

3. Shell Programming and Scripting

Help with Automated Shell Script

Hello, how can I write a shell script that looks in running processes and if there isn't a process name containing 91.34.124.35 then execute a file in a certain place. I know PHP, in PHP I could do a preg_match_all but I don't know how to do it in shell. (5 Replies)
Discussion started by: nottingham
5 Replies

4. Shell Programming and Scripting

Want to learn/use SQLPLUS in shell script

Hi All, How i will use sqlplus in shell script? Can any one provide sample code which explain following: 1. Connect to oracle DB 2. Exceute select * from tablename 3. Release connection to the DB 4. Append output in file everytime when query executes. Thanks in advance (1 Reply)
Discussion started by: poweroflinux
1 Replies

5. Shell Programming and Scripting

How to automated the shell script

hye there... really need ur help... i have a file ./filename... then i want to make ./filename automatic run... for example: if someone send me a file using scp...then the ./filename will run automatically... did u guys get what i mean.... if not please ask me... cz i really need ur help... (29 Replies)
Discussion started by: annetote
29 Replies

6. Shell Programming and Scripting

How to make interactive shell script a automated one?

Hi, I am new to shell scripting.I have written a very simple shell scipt that asks for the username and password on executing. i.e echo "Enter username :" read usrname; echol "Enter password :"; read passwd; echo usrname; echo passwd; but now I want to make it automatic , such... (2 Replies)
Discussion started by: bhaskar_m
2 Replies

7. Shell Programming and Scripting

Need automated shell script please

I'm totally new to shell scripting and I would like to ask your help 1.i want to have a .sh script where it runs opening 2 applications one after another 2.i have 2 applications in /applications/app1 /applications/app2 3. want this script to launch app1 for 20 seconds and get killed... (2 Replies)
Discussion started by: uneex
2 Replies

8. Shell Programming and Scripting

Need help for automated shell script

hi, I have a system with 3 O/S on it ( win 32, RHEL 4 32 & 64) I'm very new to shell scripting and I'm seeking for help in this matter.. I want to have an automated script on REDHAT that would run/open multiple applications one after other timed out at 20 seconds interval. Eg:... (4 Replies)
Discussion started by: uneex
4 Replies

9. Solaris

Help me to learn about shell script

Hello friends,:D I want to learn shell scripting in solaris .so any one pls help me to give a link (URL)to study scirpting. rgds, jay (13 Replies)
Discussion started by: rjay.com
13 Replies

10. Shell Programming and Scripting

Help me to learn about shell script

Hello friends, I'm newly joined as a sys admin(solaris).I'm very mach intrest in shell scripting.I wont to start the from basic.like ex:-how to find a ipaddress,host id ,or redirect the output ...like this type of small script and how to write those scripts. Any one give me a link to study the... (4 Replies)
Discussion started by: rjay.com
4 Replies
Login or Register to Ask a Question