Hi,
I need to remove a specific line from a file.. For eg: From the html codings, I need to find the word "iframe frameborder" and cut it . I tried with
find . -type f -exec grep -H 'iframe frameborder' {} \; > <filename>
From the output of this result, I need to remove the "iframe... (14 Replies)
i need to cut the string in a textfile but each line has a specific way of cutting it (different lengths)
i have a for loop that gets the string line per line, then each line has to be compared:
for x in `cat tmp2.txt`; do
if; then
echo 'BAC'
elif
... (6 Replies)
First I have to say thank you to this community and this forum. You helped me very much builing several useful scripts.
Now, I can't get a solution the following problem, I'm stuck somehow. Maybe someone has an idea.
In short, I dump a site via lynx and pipe the output in a file. I need to... (7 Replies)
Say the input was as follows:
Brat 20 x 1000 32rf
Pour 15 p 1621 05pr
Dart 10 z 1111 22xx
My program prompts for an input, what I want is to use the input to locate a specific field. Like if I type in, "Pou" then it would return "Pour" and just "Pour"
I currently have this line but it is... (6 Replies)
Hi guys,
I have been trying to do this, but... no luck so maybe you can help me.
I have a line like this:
Total Handled, Received, on queue Input Mgs: 140 / 14 => 0
I need to, get the number after the / until the =, to get only 14 .
Any help is greatly appreciated.
Thanks, (4 Replies)
Hello All,
I have following file contents
cat file
#line=aaaaaa
#line=bbbbbb
#line=cccccc
#line=dddddd
line=eeeeee
#comment=11111
#comment=22222
#comment=33333
#comment=44444
comment=55555
Testing script
Good Luck!
I would like to comment line line=eeeeee and insert a new line... (19 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Hello,
I need to cut a specific pattern from a line irrespecitve of knowing field place.
I am aware to cut field if you know the place of the field, but for me The sting place varies.
1468129514436,0,something_error,Non HTTP response code: java.net.URISyntaxException,Non HTTP response... (5 Replies)
Discussion started by: mirwasim
5 Replies
LEARN ABOUT DEBIAN
fwcheck_psad
FWCHECK_PSAD(8) System Manager's Manual FWCHECK_PSAD(8)NAME
fwcheck_psad - look for iptables rules that log and block unwanted packets.
SYNOPSIS
fwcheck_psad [options]
DESCRIPTION
fwcheck_psad parses the iptables ruleset on the underlying system to see if iptables has been configured to log and block unwanted packets
by default. This program is called by psad , but can also be executed manually from the command line.
OPTIONS --config
Specify path to the psad configuration file. By default this is /etc/psad/psad.conf.
--fw-file
Allow the user to analyze a specific rulset from a file rather than the local policy.
--fw-analyze
Analyze the local iptables ruleset and exit.
--no-fw-search-all
Look for specific log prefix defined through the FW_MSG_SEARCH variable(s) in the configuration file.
--Lib-dir
Specify path to psad lib directory.
--help
Display the help message.
SEE ALSO iptables(8), psad(8)AUTHOR
Michael Rash <mbr@cipherdyne.org>
BUGS
Send bug reports to mbr@cipherdyne.org. Suggestions and/or comments are always welcome as well.
DISTRIBUTION
psad is distributed under the GNU General Public License (GPL), and the latest version may be downloaded from: http://www.cipherdyne.org/
Debian GNU/Linux Aug, 2008 FWCHECK_PSAD(8)