10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Team,
I have a to run a script based on a date present in a different file which updates everyday. Kindly help with the solution.
My current execution : ksh scriptname.sh 10152019. But here i want to enter this date from a file which gets updated daily.
My appraoch :
date file location:... (3 Replies)
Discussion started by: midhun3108
3 Replies
2. UNIX for Beginners Questions & Answers
Hi All,
Would like to write a Script which will run between 11am to 3 pm and send the results to output.txt.
Please suggest. (2 Replies)
Discussion started by: vasuvv
2 Replies
3. Shell Programming and Scripting
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies
4. Shell Programming and Scripting
We have 15 servers. Hostnames for these 15 servers are stored in a text files and loop through each server to connect to the remote server and run a command, but this loop process runs the command one after another. However, the requirement is to run the same command on all 15 servers at the same... (10 Replies)
Discussion started by: laknar
10 Replies
5. Shell Programming and Scripting
hi,
how can i pass a password automatically when a shell script is running.
i have shell script(runscript.sh) which call another shell script inside it as a different user.
runscript.sh contains
su - nemo -c "/bin/main_script.sh"
but when i execute "runscript.sh" it try to run... (7 Replies)
Discussion started by: Little
7 Replies
6. Shell Programming and Scripting
HI,
I have to write a unix script and need your help.
in my application where I have to invoke this script a varialble is there where the value comes in a variable . for example variable can be var=ABC
like this there will be any type of value in the vcariable.
there is a unix directory... (2 Replies)
Discussion started by: manish8484
2 Replies
7. Shell Programming and Scripting
Hi all,
I am a newbie.....am jus trying to connect to oracle thro a script, but not thro giving the username/password@server_name directly like
`$ORACLE_HOME/bin/sqlplus username/password@server_name
In the above line, once it is connected to Oracle, it shud ask me the username and password... (4 Replies)
Discussion started by: kritibalu
4 Replies
8. Shell Programming and Scripting
I have just written a Csh script and i want to find out how long does the script take to complete executing. Is there any codes which i can put into my script to capture its run time ? (9 Replies)
Discussion started by: Raynon
9 Replies
9. Shell Programming and Scripting
Hi everyone,
Please help:)
I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.
I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.... (1 Reply)
Discussion started by: karthicss
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
Whats the command for finding files older then 20mins. This has to be part of the find command as it will be part of a cleanup script.
thanks
Budrito (4 Replies)
Discussion started by: budrito
4 Replies