10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please help me an the below issue.
i need to check whether data is available or not in a flat file generated by oracle
(sometimes sql didn't any records) to overcome this.
without opening flat file.
Thanks....... (1 Reply)
Discussion started by: mahesh1987
2. Shell Programming and Scripting
I have to export data from table into flat file with | delimited. In the ksh file, I am adding below to do this activity.
$DBSTRING contains the sqlplus command and $SQL_STRING contains the SQL query. File is created properly with the data as per SQL command. I am getting white spaces in the... (1 Reply)
Discussion started by: mgpatil31
3. Red Hat
I need to logrotate logs in directories in /var/log/httpd/. There are 4 directories in /var/log/httpd/... these directories are /var/log/httpd/access/
Each of the access, required, error and debug directories have around... (1 Reply)
Discussion started by: renuka
4. UNIX for Dummies Questions & Answers
I am working on a script and i am now been stuck in the mid of it..
My Script actually list the files consuming large disk it need compress the log files..
Here are the files
Hello_2009_10_22.log... (2 Replies)
Discussion started by: sumithra
5. Shell Programming and Scripting
I have a peculiar problem. I will call a script from another script.
Script abc.ksh is called by ABC.ksh as
in abc.ksh I will create and redirect all the statements to log file.
ABC.ksh will also has a log file. I want all the logs generated in file abc in ABC... (5 Replies)
Discussion started by: javeed7
6. Shell Programming and Scripting
I have a lot of logfiles like fooYYYYMM.log (foo200301.log, foo200810.log) with lines like
but I need (for postprocessing) the form fooYYYYMMDD.log (so foo200402.log becomes foo20040201.log, foo20040202.log...)
with unmodified content of lines.
... (1 Reply)
Discussion started by: clzupp
7. Shell Programming and Scripting
There are some cron jobs ,which runs 24 hrs. Log files are generated when one job fails.
So I need the log files to be emailed to my personal e-mail id. So that I can see the log files at my home If there is any error.
How can I implement this in Unix shell programming.
Thanks... (4 Replies)
Discussion started by: deep_kol
8. UNIX for Advanced & Expert Users
My .cshrc settings are embedded in a massive jungle of code distributed all over the place, where finding anything is a "needle in a haystack" daily pain in the royal backside.
Is there anyway, i can dump out every command and file executed to STDOUT after sourcing my .cshrc ???
... (2 Replies)
Discussion started by: fawqati
9. UNIX for Dummies Questions & Answers
I support an app that outputs alert and audit messages to one log file (vendor says they can't be separated). The script that I have written takes a copy (mv cmd) of the file to do the separation and reformatting. I have a problem that I loose records (messages are being written constantly, upto 3+... (5 Replies)
Discussion started by: nhatch
10. UNIX for Dummies Questions & Answers
My server has only has access logs turned on. How do I turn on the other standard logs (i.e. I'd like to see the referring urls).
Thanks in advance. (3 Replies)
Discussion started by: pingdom