11-06-2019
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there an easier way to do the following:
echo "|||||||" | sed 's/||/|0|/g; s/||/|0|/g'
which would give the following
|0|0|0|0|0|0|
If it is not run twice it will not pick up the second occurance of the || and leave it empty as in
echo "|||||||" | sed 's/||/|0|/g'
which would give... (3 Replies)
Discussion started by: maverick
3 Replies
2. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
3. Shell Programming and Scripting
Hello
My file looks like that =>
12.56 have then 7888778.2566 what 44454.54545
878787.66565 if else 4445.54545455
I want to change all '.' on ',' .
I'm trying to do it with sed but I don't know chow to build regular expression to
change 454.4466 on 454,4466 ? (13 Replies)
Discussion started by: scotty_123
13 Replies
4. Shell Programming and Scripting
hi
is it possible to cut this two semicolon separated sed commands
echo "string2 string3 string1" | sed s'/string1//g;s/string2//g'
output: " string3 "
to just one sed command without semicolon?
thanks in advance
funksen (10 Replies)
Discussion started by: funksen
10 Replies
5. Shell Programming and Scripting
I have a file
CREATE TABLE DDD_EXT --- 1000
(
val u1
val u1
);
CREATE TABLE dsdasd_EXT --- 1323
(
val u1
val u1
);
CREATE TABLE AAAAAA_EXT --- 1222
(
val u1
val u1
);
CREATE TABLE E_EXT --- 11
(
val u1
val u1 (2 Replies)
Discussion started by: jville
2 Replies
6. Shell Programming and Scripting
How do I remove parentheses using sed?
input (192.168.1.1)
output 192.168.1.1 (4 Replies)
Discussion started by: streetfighter2
4 Replies
7. Shell Programming and Scripting
I have a log output with a format similar to this:
a=1, b= 2
c=0, d= 45, e=100
... and so on.
I figure I can just use awk or something to pipe the file to sed, but I'm trying to replace all the values above with 0.
I've tried:
cat blah | sed 's/=\(.*\),/0/'but that didn't work. ... (6 Replies)
Discussion started by: throw_a_stick
6 Replies
8. Shell Programming and Scripting
I have the following line an in input file I want to digest with sed and simple replace the bold part with a variable defined in my bash script. I can do this in several sed operations but I know there must be a way to do it in a single sed line. What is the syntax?
Line in file:... (1 Reply)
Discussion started by: graysky
1 Replies
9. Shell Programming and Scripting
Script newbie, so I'm sure I'm missing something obvious here, but how come this simple script does not work?
#!/bin/bash ... (3 Replies)
Discussion started by: KidCactus
3 Replies
10. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
LEARN ABOUT CENTOS
dovecot
DOVECOT(1) Dovecot DOVECOT(1)
NAME
dovecot - a secure and highly configurable IMAP and POP3 server
SYNOPSIS
dovecot [-Fp] [-c config-file]
dovecot -a [-c config-file]
dovecot -n [-c config-file]
dovecot --build-options
dovecot --help
dovecot --hostdomain
dovecot --version
dovecot reload
dovecot stop
DESCRIPTION
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excel-
lent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very lit-
tle memory.
OPTIONS
-a Dump all configuration settings to stdout and exit successfully. The same as doveconf -a.
-c config-file
Start dovecot with an alternative configuration.
-F Run dovecot in foreground, do not daemonize.
-n Dump non-default settings to stdout and exit successfully. The same as doveconf -n.
-p Prompt for the ssl key password for the configured ssl_key on startup.
--build-options
Show Dovecot's build options and exit successfully.
--help Print a usage message to stdout and exit successfully.
--hostdomain
Shows the current host.domain name of the system. If the domain lookup should fail for some reason, only the hostname will be
shown.
--version
Show Dovecot's version and exit successfully.
COMMANDS
reload Force dovecot to reload its configuration.
stop Shutdown dovecot and all its child processes.
When shutdown_clients is set to no, existing sessions will continue to use the old settings, after a dovecot reload. Also all sessions
will keep alive after a dovecot stop.
By default all active sessions will be shut down.
SIGNALS
Dovecot handles the following signals as described:
HUP Force dovecot to reload its configuration.
INT Shutdown dovecot and all its child processes.
TERM Shutdown dovecot and all its child processes.
USR1 Force dovecot to reopen all configured log files (log_path, info_log_path and debug_log_path).
The signals ALARM and PIPE are ignored.
FILES
/etc/dovecot/dovecot.conf
Dovecot's main configuration file.
/etc/dovecot/dovecot-ldap.conf.ext
Dovecot's LDAP authdb/userdb module configuration file.
/etc/dovecot/dovecot-sql.conf.ext
Dovecot's SQL authdb/userdb module configuration file.
/etc/dovecot/dovecot-dict-sql.conf.ext
Dovecot's dict configuration with SQL-backend.
/etc/dovecot/conf.d/auth-*-conf.ext
Configuration files of different authentication modules.
/etc/dovecot/conf.d/*.conf
Configuration files of different services and settings.
REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail-
able at: http://dovecot.org/bugreport.html
AUTHOR
Dovecot <http://dovecot.org> and its manual pages were written by the Dovecot authors <http://dovecot.org/doc/AUTHORS>, mainly Timo Sir-
ainen <tss at iki.fi>, and are licensed under the terms of the MIT and LGPLv2.1 licenses, see <http://dovecot.org/doc/COPYING> for details.
SEE ALSO
doveadm(1), doveconf(1), dovecot-lda(1), dsync(1)
Dovecot v2.2 2013-08-06 DOVECOT(1)