Search Results

Search: Posts Made By: johnprince1980
2,177
Posted By johnprince1980
Where should i restrict the hits in the code?
Where should i restrict the hits in the code?
2,177
Posted By johnprince1980
Thanks for the code. The intent here is to...
Thanks for the code.

The intent here is to get the output only when there are 3 or more occurrences of search. When I run the code, it gives me an output even there are one occurrence.

Any...
2,177
Posted By johnprince1980
Hi Jotne, Thanks for reply. If you see...
Hi Jotne,

Thanks for reply.

If you see the below logs, how can i search for "SRCH=Q", and then get the string in the same row "conn=13570", and perform another search to get "uid=xyz123" by...
2,177
Posted By johnprince1980
Search query
Hi,

I have a typical requirement to find users having at least three occurrence in a log within an hour, and perform some action for that user. We have several steps, however I am kind of stuck...
1,930
Posted By johnprince1980
Thanks a Lot!
Thanks a Lot!
1,930
Posted By johnprince1980
Still getting the same error. $ ls | while...
Still getting the same error.

$ ls | while do read "val" ;echo Try some command with "$val" ; done
-bash: syntax error near unexpected token `do'
1,930
Posted By johnprince1980
Thanks for the reply. However, I am getting...
Thanks for the reply.

However, I am getting the following error while running a test command :

$ ls | while read val ;echo Try some command with "$val" ; done
-bash: syntax error near...
1,930
Posted By johnprince1980
Command Logic
Hi,

I need the logic to utilize the command output to be feeded over to successive commands,

for example :

$ dtconf list-ls-data-sources -h hostname -P 636 -w ~/pwd.txt
DATA MASTER 1
DATA...
1,150
Posted By johnprince1980
Need to understand a couple of Shell Logic
Hi,

I am trying what the following loop does :

for i in XYZ
do
for j in M1 R1 R2 R3
do
if [ $j == "M1" ]
then
kList=""
n=1
while [ $n -le $num_m ]
do
...
1,262
Posted By johnprince1980
Help for backup and archiving
Hi,

I am trying to develop a KSH script, to perform the following functions:

1. ZIP the previous day backup to ZIP Directory, while removing any ZIP file older than a week.

2. Perform the...
Showing results 1 to 10 of 10

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