03-01-2010
Oops ... It's so embarrassing
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
... but thanks for perceptiveness
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I need to replace automatically all special characters of one filename with some corresponding characters
For example >
ö --> oe
ä --> ae
....
If the special character comes more than one time, then all the coccuerences have to be replaced.
I would like to have a... (6 Replies)
Discussion started by: MAKY
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
If I have a directory full of say 100 random files, and I would like to organize them, for example: FILE001, FILE002, FILE003, FILE004, etc.
How would I do this from Terminal, instead of manually changing each file? I'm using Mac OS X, if that makes a difference.
Thank you in advance... (8 Replies)
Discussion started by: andou
8 Replies
3. Shell Programming and Scripting
Hi,
I am new to scripting, so any help on this would be much appreciated.
I am trying to rename a bunch of files, taking the names sequentially from a list read in another file...
# ls oldnames
file_1
file_2
file_3
# cat names
red
yellow
green
I want the files to take on the... (6 Replies)
Discussion started by: starsky
6 Replies
4. Shell Programming and Scripting
Hello,
I have some files in a directory like:
01_07_2010_aa.txt
01_07_2010_bb.txt
01_07_2010_cc.txt
01_07_2010_dd.txt
01_07_2010_ee.txt
01_07_2010_ff.txt
I want to change their names to :
3nm_aa.txt
3nm_bb.txt
3nm_cc.txt
3nm_dd.txt
3nm_ee.txt
3nm_ff.txt (8 Replies)
Discussion started by: ad23
8 Replies
5. Shell Programming and Scripting
Hi is it possible to change multiple files (~10k) names with out disturbing the data in it. ?
input
Hynda|cgr10(+):100027702-1000312480|.txt
Hynda|cgr10(+):100027702-1000312483|.txt
Hynda|cgr10(+):100027702-1000312484|.txt
Hynda|cgr10(+):100027702-1000312482|.txt
output... (4 Replies)
Discussion started by: quincyjones
4 Replies
6. Red Hat
admin.campaign.sql
admin.cardnumber_filter.sql
understand that rename is using mv command but how do I rename such that it become the following:
campaign.sql
cardnumber_filter.sql
thanks (2 Replies)
Discussion started by: jediwannabe
2 Replies
7. UNIX for Dummies Questions & Answers
I have fasta files with multiple sequences in each. I need to change the sequence name headers from:
>accD:_59176-60699
ATGGAAAAGTGGAGGATTTATTCGTTTCAGAAGGAGTTCGAACGCA
>atpA_(reverse_strand):_showing_revcomp_of_10525-12048
ATGGTAACCATTCAAGCCGACGAAATTAGTAATCTTATCCGGGAAC... (2 Replies)
Discussion started by: tyrianthinae
2 Replies
8. Shell Programming and Scripting
Hi,
How can I change following file name in a bash script?
From file names: myfile-module-1.0-3.0.el6.x86_64.package
To file names: myfile-module1_0-1.0-3.0.el6.x86_64.package
^ ^ ^ ^ ^ ^ ^ ^
Basically, the digit 1.0 is a version number, the digit 3.0 is... (11 Replies)
Discussion started by: hce
11 Replies
9. Shell Programming and Scripting
I have a landing directory on my unix (solaris) server, that receives the following files:
MLH4301I AAOT-hhslog.610.20150805.txt
MLH4301I AAOT-hhslog.611.20150805.txt
MLH4301I AAOT-hhslog.612.20150805.txt
MLH4301I AAOT-hhslog.613.20150805.txt
and I need to add to this files the number 10000... (6 Replies)
Discussion started by: fretagi
6 Replies
LEARN ABOUT DEBIAN
dansguardian
DANSGUARDIAN(8) dansguardian DANSGUARDIAN(8)
NAME
DansGuardian2 - web content filter
SYNOPSIS
dansguardian [ -c config-file ] [ -v ] [ -h ] [ -N ] [ -q ] [ -Q ] [ -s ] [ -r ] [ -g ]
SUMMARY
DansGuardian is a web content filtering proxy(1) for Linux, NetBSD, FreeBSD, OpenBSD, and Solaris that uses Squid(2) to do all the fetch-
ing.
It filters using multiple methods. These methods include URL and domain filtering, content phrase filtering, PICS filtering, MIME type fil-
tering, file extension filtering, POST limiting and content (AV) scanning.
The content phrase filtering will check for pages that contain profanities and phrases often associated with pornography and other undesir-
able content. The POST filtering allows you to block or limit web uploads. The URL and domain filtering is able to handle huge lists and
is significantly faster than squidGuard.
Content scanning enables downloaded content to be passed through ClamD, KAVD, any local program with machine-parseable console output, and
any other AV scanner available as an ICAP server.
The filtering has configurable domain, user and source IP exception lists. SSL tunneling is supported; however, due to the encrypted
nature of HTTPS requests, filtering is only supported on destination domain. The configurable logging produces a log in an easy to read
format which has the option to only log the text-based pages, thus significantly reducing redundant information such as every image on a
page.
DansGuardian is under continuous development and so it is best to visit the web site for the latest information.
(1) Technically DansGuardian is more of a filtering pass-through than a true proxy - but don't let that worry you!
(2) DansGuardian should work with any proxy, not just Squid. For example, it is known to work with Oops.
DOCUMENTATION
For all further information including copyright, support, FAQ, docs, mailing list - please go to:
http://dansguardian.org/
Mirror: http://dansguardian.intmain.com/
Available documentation can be found at
http://www.dansguardian.org/?page=documentation
The DansGuardian FAQ is at http://www.dansguardian.org/?page=faq
Some useful HOWTOs that cover specific implimentations of DansGuardian and caching/filtering in general can be found at
http://www.dansguardian.org/?page=howto
Information about Debian specific changes and configuration can be found in /usr/share/doc/dansguardian/changelog.Debian.gz .
OPTIONS
-c config-file
Use the given config-file.
-v gives the version number and build options.
-h Output a short summary of available command line options.
-N Do not go into the background.
-q causes DansGuardian to kill any running copy.
-Q kill any running copy AND start a new one with current options.
-s shows the parent process PID and exits.
-r closes all connections and reloads config files by issuing a HUP, but this does not reset the maxchildren option (amongst others).
-g gently restarts by not closing all current connections; only reloads filter group config files. (Issues a USR1)
COPYRIGHT
DansGuardian is copyright Daniel Barron 2001.
daniel@jadeb.com
Daniel Barron Oct 2008 DANSGUARDIAN(8)