I'm thinking now to combine both (the awk and the curl command) and put the result in a file with >>
But since the unique filter is done before the results are written into a file, it's won't give me the correct results. Since unique dates can be written into the file. Do I sound clear?
Hi
i need a script which reads a certain file and then display it on the screen.
The thing is i need to filter the display output.
this is an example of the file which is to be loaded in the script.
asdfg1.1.1|98
hjkldfe4.0.3|123
asdzxzvdweradfsdafascv10.0.10|123456789... (1 Reply)
Hi
I have a wireshark file saved (from my network) and I have to analyze the flows inside it.
The problem is that i have to analyze not the complete file (60.000 pkts!) but just a subset of it.
In other words i have to sample the wireshark.file.dump and for example from 60.000 pkts take... (2 Replies)
Hi guys - I use this script below to search for files that are of todays date. It also informs if the file doesnt exist or is old.
I am trying to make the script inform of the errors in the "begining" of the output email. Such as all errors are grouped together.
I am using the following... (1 Reply)
I am running a grep query for searching a pattern, and the output is quite huge. I want only the last 200 lines to be displayed, and I am not sure if tail will do the trick (can tail read from std in/out instead of files?).
Please help me out. (1 Reply)
I have a process which writes lots of output to the screen and am capturing it to a file.
But the issue is that there are few lines which repeat every second which is causing the file size to be enormous. I am trying to filter out and then run the command but its not working.
Can you confirm... (7 Replies)
I am filtering the value of Server status from a file and am storing it in a temp file which I compare later to exit with appropriate status. I am wondering if I can directly output the value of Server status as an array element and then compare the value of elements to get the right exit status
... (2 Replies)
Hi
"top -bc -n10" gives me the output of the "top" command 10 times.
Now i dont want repeated results and hence want to return only the last output.
And I would like to do it in one command and not in script.
can you please help me out?
Thanks (2 Replies)
I have posted a thread in Unix for Dummies question......
https://www.unix.com/unix-dummies-questions-answers/223769-filter-top-bc-n10-output.html
Can anybody help me out with this please?
Thanks
Avinash (3 Replies)
Hi All,
I am trying to find out number of cores present for hp-ux server from the output of print_manifest (as shown below). i suppose awk will be best tool to use for filtering.
output of print_manifest is :
System Hardware
Model: ia64 hp Integrity Virtual Partition
... (6 Replies)
Hello guys,
I'm writing a little script which sends me sms with my shell script via api of a sms provider.
problem is I can't filter my curl output for this site:
site url:... (1 Reply)