10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am capturing command's output on remote host using Expect. The problem is that the command line arguments also getting print with the output in file and also need to print last two relevant columns (percentage used and its mounted point).
The output of $exp->before() buffer is :df... (1 Reply)
Discussion started by: suneet17
1 Replies
2. Shell Programming and Scripting
In log directory file contain log files and files contain some unique job name which is dynamically created (example=55555 ),if job get 55555 then send alert message, but after next run if it find ---55555 then no need send alert message
While checking the first job name you are capturing the Job... (3 Replies)
Discussion started by: Kalia
3 Replies
3. Shell Programming and Scripting
Hi Experts,
i have a file like below
****
table name is xyz
row count for previous day 10
row count for today 20
diff between previous and today 10
scan result PASSED
****
table name is abc
row count for previous day 90
row count for today 35
diff between previous and today 55... (4 Replies)
Discussion started by: Lakshman_Gupta
4 Replies
4. Shell Programming and Scripting
In end of https://www.unix.com/shell-programming-scripting/103227-while-read-loop-scope-variables-shell.html
mjd_tech gives script which can read some values directly without manually input, but if no value is the right one, my understand is, it will on hold for waiting the next input, but when I... (7 Replies)
Discussion started by: newoz
7 Replies
5. Shell Programming and Scripting
I've been using sed to help with reformatting some html content into latex slides using the beamer class. Since I'm new to sed, I've been reading a lot about it but I'm stuck on this one problem.
I have text that looks like this:
*******************
line of text that needs to be... (4 Replies)
Discussion started by: tfrei
4 Replies
6. Shell Programming and Scripting
I would like to know the maximum integer that a variable can hold. Actually one of my variable holds value 2231599773 and hence the script fails to process it.Do we have any other data type or options available to handle this long integers? (9 Replies)
Discussion started by: michaelrozar17
9 Replies
7. Shell Programming and Scripting
A file named abc.txt being updated with date value by one process.
Say , today it s updating the file with value
01-09-2009
Fine. Tomorrow the process will override the file with tomorrow date (02-09-2009) .Insome case the process will overriding the file with empty string.
So I... (1 Reply)
Discussion started by: Gopal_Engg
1 Replies
8. UNIX for Dummies Questions & Answers
I have a situation where I have created a semaphore and set it's value to 10. I am using this semaphore to control access to a shared memory location. I can have 10 processes simultaneously read from the shared memory location, process 11 would get locked out. My question is, is there a way I... (6 Replies)
Discussion started by: tpotter01
6 Replies
9. Solaris
I meant old not hold :)
I need to kill a process if it's over an hour old and then send an e-mail of the list that was killed.....?
I need to kill ps -ef | grep stashd | grep ' older than an hour?'
#! /bin/bash
if test ps -ef | grep <stashd> (Is over an hour old)???? >>stashd_old.txt
... (9 Replies)
Discussion started by: xgringo
9 Replies
10. UNIX for Dummies Questions & Answers
I'm Presently Writting A College Report On Operating Systems, Not Enjoying It Very Much.
I Was Hoping Someone Could Direct Me To A Site Where I Could Get Information Such As The Role Of Operating Systems, Types Of Operating Systems (Multi-User Multi-Tasking etc), Modes Of Operating systems... (3 Replies)
Discussion started by: OSNovice
3 Replies