Search Results

Search: Posts Made By: stumpyuk
4,955
Posted By agama
I would approach it with something like this: ...
I would approach it with something like this:


xargs <list.txt grep -c " said:" | awk -F : '$2 > 2 { print $1 }'


Prints the filenames which contain more than two " said:" strings.
2,649
Posted By Corona688
Put clamscan and zenity into the background, wait...
Put clamscan and zenity into the background, wait for clamscan to complete, then kill zenity.

#!/bin/bash

mkfifo /tmp/fifo
( clamscan -rv / > /tmp/fifo ) &
CLAMPID=$!
( zenity --text-info...
Showing results 1 to 2 of 2

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