9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all..
I have a command for example /abc/def/ghi.jkl Filename filename1.
If I run this command, it will ask for y/N which I have to type manually.
Now Im trying to automate it using shell script and input the y option.
Please help me on doing this.
Thanks in advance. ... (7 Replies)
Discussion started by: Sathya83aa
7 Replies
2. Shell Programming and Scripting
Hi,
I am trying to set a variable that has time the format desired. And my intention is to echo variable (instead of actual date command) everytime I like to echo date. Please take a look at below code.
$NOW=''
echo $NOW
After 5 minutes
$echo $NOW
Issue here is , I am not... (2 Replies)
Discussion started by: vinay4889
2 Replies
3. Shell Programming and Scripting
HI,
i have variable in perl like below
$tmp="/home/sai/automation/work/TFP_GN.txt"
it can conatain any path its filled from config file.
now i want extarct the path upto this /home/sai/automation/work/ and put it in another variable
say... (4 Replies)
Discussion started by: raghavendra.nsn
4 Replies
4. Shell Programming and Scripting
Hi, I am reading the contents of a file in variables as -
cat ${var_file_name} | while read COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10 COL11
The problem is ... my file can have any number of columns - 5, 10, 11 ....
So i want a dynamic variable list as -
cat ${var_file_name} |... (8 Replies)
Discussion started by: gopalss
8 Replies
5. Solaris
Thank u vgesh99
It works well.. (1 Reply)
Discussion started by: Nandagopal
1 Replies
6. Solaris
Hi guys,
I have commands like
/solaris/opt/VRTS/bin/vxdisk
/opt/VRTS/bin/vxdisk
From these two commands, i need to get the directory path value before /VRTS/bin/vxdisk at runtime.
e.g
/solaris/opt/VRTS/bin/vxdisk as /solaris/opt
/opt/VRTS/bin/vxdisk as /opt
I have tried with cut... (1 Reply)
Discussion started by: Nandagopal
1 Replies
7. UNIX for Dummies Questions & Answers
My system did stay appears the error Run Time Library Error. What it´s? When the error appear, i´ve to reboot my system and lost all I did. Is there the UNIX System problem? Please. I need help!!! (4 Replies)
Discussion started by: marpin
4 Replies
8. Solaris
My interprise use a UNIX mainform for a instrumentation process control. The control use the FOXBORO INVENSYS system and they don´t gonna solve the problem the run time error. The run time error happen without logic explication. When everything it´s run perfectely and happenly appears the run time... (1 Reply)
Discussion started by: marpin
1 Replies
9. Shell Programming and Scripting
Hi,
Suppose I have a User define function get_abc in which I am using $0 to get the name of function. But when I call that function in any script, $0 will give the script name, not the function name.
For example:
Function: get_abc
-------------------
get_abc( ){
echo $0
}
Script:... (3 Replies)
Discussion started by: yeheyaansari
3 Replies