10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can someone let me know how could I achieve this
In one of per script I am calling the shell script but I need to so one thing that is one shell script call I need to pass pne argument.In below code I am calling my ftp script but here I want to pass one argument so how could I do this (e.g:... (5 Replies)
Discussion started by: anuragpgtgerman
2. Shell Programming and Scripting
I am new to shell scripting.
please help me to find out the solution.
I need a script where we need to read the text file(consists of all file names) and get the file names one by one
and append the date suffix for each file name as 'yyyymmdd' .
Then search each file if exists... (1 Reply)
Discussion started by: Lucky123
3. UNIX for Dummies Questions & Answers
I have a shell script named setUP in which i am sourcing one variable like
When i call it as ./setUP, it does not set the var_name variable. But when i call it like . ./setUP then var_name is set up. What is the difference between this two calls?
... (1 Reply)
Discussion started by: SasDutta
4. Shell Programming and Scripting
Hi all ,
i am trying to calculate time difference btw the script execution
I am using solaris
duration=`expr $end_time - $start_time`
when i try to subtract i get the error
line 13: %s - -time : syntax error: operand expected... (3 Replies)
Discussion started by: posner
5. Shell Programming and Scripting
Hello - I have a small diff script that checks 2 directories. It reports the difference in count such as wc -l, and also names the different files.
How should I get "ERROR: diff found . (host)" - when it actually finds a diff?
This is how I have written:
... (10 Replies)
Discussion started by: DallasT
6. Shell Programming and Scripting
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
If 3.1 = "complete" then
if 3.2 = ''COMPlete" then
The... (1 Reply)
Discussion started by: shashi369
7. Shell Programming and Scripting
I have an script reading content of a file and runs whatever command is specified there, as follows
# Supposed to read from a file that commands are listed to be run
# when the server starts for initialization
if ; then
... (2 Replies)
Discussion started by: james gordon
8. Shell Programming and Scripting
I have a query ..
i have 2 scripts say 1.sh and 2.sh
1.sh contains many functions written using shell scripts.
2.sh is a script which needs to call the functions definded in 1.sh
function calls are with arguments.
Can some one tell me how to call the functions from 2.sh?
Thanks in... (6 Replies)
Discussion started by: jisha
9. Shell Programming and Scripting
I have bash script on unix server which i want to call from windows server. Basically i want a command line which will call this script on unix server. Any one has any idea regarding this?
Help really appreciated!!
Roshni. (1 Reply)
Discussion started by: onlyroshni
10. Shell Programming and Scripting
i'm new to unix and straight away i had to start with the script files.
I've a script file which gets called from a menu item on a GUI.
This script file again calls .awk file, in performing some tasks , which also generates certain files.
I modified the files to generate some... (1 Reply)
Discussion started by: Ravi_Kandula