9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a system running uname -a
Linux cmovel-db01 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64 GNU/Linux
I would like to capture the contents of /var/log/syslog from 11:00AM to 11:30AM and sent to this info via email.
I was thinking in set a cron entry at that... (2 Replies)
Discussion started by: fretagi
2. Shell Programming and Scripting
I have a log file to be analysed. this log file contains vaiours lines of code starting with date timestamp.
if my search string is exception then that resepective log statement starting from the date is required.
2014/10/01 16:14:44.459|>=|E|X|19202496|2832|... (5 Replies)
Discussion started by: shravee
3. Shell Programming and Scripting
I'm working on creating a parts database. I currently have access to a manufacturer database in HTML and am working on moving all of the data into a MySQL db. I have created a sed script that strips out the HTML and unnecessary info and separates the script into one line for each field.... (3 Replies)
Discussion started by: dkr
4. Shell Programming and Scripting
I'm a DBA and need help on shell scripting.
My Oracle Database is sitting on HP-UX machine.
Anyone has a script that can spool out permission of all oracle binary files in the below directory:
Format to be spooled out : chmod <exisiting permission> filename... (10 Replies)
Discussion started by: ciaciachew
5. Shell Programming and Scripting
need to be able to capture a file with the following conditions:
The filenames are, for example, 3526_332840.dat, where 3526 is constant, and 332840 is a sequential number which is always a couple hundred greater than the previous day's file.
I want to be able to change this script to acoomplish... (1 Reply)
Discussion started by: rechever
6. Shell Programming and Scripting
I need to capture the content of a file before its being deleted. This file gets deleted immediately after it is created.
I use the below shell command in the command prompt, but I'm not getting the desired result.
bash-3.00# while true; do cat file* > tempfile; done;
What I'm trying here... (5 Replies)
Discussion started by: bjawasa
7. Shell Programming and Scripting
I am running a shell script called dbProcess.sh which performs shutdown and startup of various Oracle instances we have.At the time of execution the script produces the following output to the command line window
#### Run Details ######
Hostname : server-hop-1... (4 Replies)
Discussion started by: rajan_san
8. Shell Programming and Scripting
I would like to capture output from two commands to a test file on the same line...
I want to get a file with all Applications and the Version of it...here are the two commands I use to get the output.
To get Application list I use
ls -1 /Applications/ |grep .app >>... (3 Replies)
Discussion started by: elbombillo
9. Shell Programming and Scripting
I have a file that gives me new line/output every 5 minutes. I need to create a script that capture new line/output besides "IN CRON_STATUS", in this case the new output is "begin ------ cron_status.sh - -----------".
I want this script to capture the line starting from "begin ------... (0 Replies)
Discussion started by: fara_aris