Search Results

Search: Posts Made By: manohar2013
11,386
Posted By Corona688
Then the script is not on the local machine, it's...
Then the script is not on the local machine, it's on the remote one.
11,386
Posted By Corona688
Getting what error? If the folder...
Getting what error?

If the folder /home/dell/work/BOP/testdir/ doesn't exist on the remote server, cd /home/dell/work/BOP/testdir/ won't work on the remote server.

If the file processchk...
1,779
Posted By RavinderSingh13
Hello Manohar2013, I just created script...
Hello Manohar2013,

I just created script named var_pass.ksh and put commands in it. So you need to create a script if you need named var_pass.ksh or you can simply run the commands itself.
on...
1,779
Posted By RavinderSingh13
Hello manohar2013, You need to basically use...
Hello manohar2013,

You need to basically use $VAR(just an example) in shell to get the values of variables. Following may help you in same.

cat var_pass.ksh
username1=userid...
1,654
Posted By Don Cragun
Help us help you: Does your code only have...
Help us help you:

Does your code only have to process 15 minute time periods within a single day, or does it have to handle periods that cross midnight?
How is the 15 minute date range...
1,357
Posted By drl
Hi. If you allow exact, entire line matches:...
Hi.

If you allow exact, entire line matches:
$ fgrep -x -v -f z9 z8
/dell/sony/
/dev/testcase failing
Because /dell can match a number of strings.
-x, --line-regexp
...
1,357
Posted By disedorgue
Hi, For fun (under linux for "xargs"): $ sort...
Hi,
For fun (under linux for "xargs"):
$ sort file1 file2 file2 | uniq -u | xargs -IXX echo path XX is missing
path /dell/sony/ is missing
path /dev/testcase failing is missing

Regards.
1,357
Posted By jim mcnamara
awk '{arr[$0]++} END {for (i in...
awk '{arr[$0]++}
END {for (i in arr){if(arr[i]<2 ){print i, " is missing"}} } ' file1 file2 > error_listing


awk may be a better choice. Try something like the above.
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy