10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm using the bourn shell on a Sun Solaris Unix system. I am relatively new to UNIX scripting so please bear with me...
I'm having a couple issues:
1) I need to have a variable $FSIZE set with the output of a command each time the script runs. (the command looks for a file and... (8 Replies)
Discussion started by: dqrgk0
8 Replies
2. Shell Programming and Scripting
I am trying to make a script to take commands from a .txt file ( line by line) and pass it using send ( used in another function )
what i am trying to achieve is :
set nol "`grep '' ${exp_path2}/cmdlist.txt | wc -l `"
as in shell script
nol=`grep '' $exp_path2/cmdlist.txt | wc -l`
... (0 Replies)
Discussion started by: dixyantar
0 Replies
3. Shell Programming and Scripting
Hi
I would like to ask about my plan script
I have this several workstation want to monitor and execute a command without logging it we use "rsh $host "<command>" i create csh script using foreach to loop my several workstation, my problem with the rsh command is if it encounter a... (3 Replies)
Discussion started by: jao_madn
3 Replies
4. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
5. Shell Programming and Scripting
i want the shell script to open the terminal and in that terminal i want to run a command specified in the script...
how can it be done... (2 Replies)
Discussion started by: chandrabhushan
2 Replies
6. UNIX for Dummies Questions & Answers
I am writing a bash shell menu and would like to get a char immediately after a key is pressed. This script does not work but should give you an idea of what I am trying to do....
Thanks for the help
#! /bin/bash
ANSWER=""
echo -en "Choose item...\n"
until
do
$ANSWER = $STDIN
... (2 Replies)
Discussion started by: jwzumwalt
2 Replies
7. Shell Programming and Scripting
hi ,
how do i interact with the shell prompt.
i need no. of args to be dynamic
e.g
$> type the no of args: <input from keyboard>
Enter the 1 st arg : <input from keyboard>
Enter the 2nd arg : <input from keyboard>
.........
.........
let me know how to do it ... (1 Reply)
Discussion started by: adityamahi
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Im reading an ANSI text file and greping for a pattern. Then i cut what i dont need from that pattern. So now i just have what i need. What i have now just so happens to be a constant integer. How can i save this integer in a varaible? Or do i use command capture in some form?
cat... (2 Replies)
Discussion started by: oxoxo
2 Replies
9. HP-UX
Hi,
I have a shell with 2 remsh commands
I run my job with the following command
nohup job1 >log1 2>log2 &
The job 1 has 2 remsh commands:
remsh host1 -l oracle /l1/oracle/script/test_remsh.sh
remsh host1 -l oracle /l1/oracle/script/test_remsh2.sh
I receive SIGTTN signal
And 2 process stay... (2 Replies)
Discussion started by: brandouy
2 Replies
10. UNIX and Linux Applications
Hi ,
I am trying following .
I need to get a result of an autosys cmd into a unix variable.
The autosys cmd is
autostatus -G jpm_day_today
Please help me in storing the value returned by this cmd into a unix variable.
Appreciate your time to read this post. (1 Reply)
Discussion started by: manchau
1 Replies