Experts,
I tried to make my cshell script interactive by asking the user for password and trying to read the input using the "read" command. I have been unsuccessful so far. Do you have any idea ?
Thanks
Jim (2 Replies)
Hi,
I need to schedule a shell script which executes another shell script along with a series of other commands.
When the inner shell script is executed it prompts for a password.....
This inner shell cannot be changed
How can I do this????
Regards,
Chaitrali. (4 Replies)
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)
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)
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
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)
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)
if i have a script called test.sh
file1=$(ls -l|awk '{print $9 $1}')
awk ' /date_of_selling:/ { print $6 ":" &9 }' /$file1 >> data.txt
if i wanna this script to run automatically every day at 8 am :D (3 Replies)
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)
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... (1 Reply)
Discussion started by: y9ec629
1 Replies
LEARN ABOUT REDHAT
echo
ECHO(1) FSF ECHO(1)NAME
echo - display a line of text
SYNOPSIS
echo [OPTION]... [STRING]...
DESCRIPTION
NOTE: your shell may have its own version of echo which will supercede the version described here. Please refer to your shell's documenta-
tion for details about the options it supports.
Echo the STRING(s) to standard output.
-n do not output the trailing newline
-e enable interpretation of the backslash-escaped characters listed below
-E disable interpretation of those sequences in STRINGs
--help display this help and exit
--version
output version information and exit
Without -E, the following sequences are recognized and interpolated:
NNN the character whose ASCII code is NNN (octal)
\ backslash
a alert (BEL)
backspace
c suppress trailing newline
f form feed
new line
carriage return
horizontal tab
v vertical tab
AUTHOR
Written by FIXME unknown.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for echo is maintained as a Texinfo manual. If the info and echo programs are properly installed at your site, the
command
info echo
should give you access to the complete manual.
GNU coreutils 4.5.3 February 2003 ECHO(1)