ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Russu V.F." <ruwa@psrp.te.ru>
To: "mandrake-russian-admin@altlinux.ru" <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] shell
Date: Sun Sep  2 11:29:11 2001
Message-ID: <1946511853.20010902132709@psrp.te.ru> (raw)
In-Reply-To: <20010831173243.76c18c81.alex@escort-center.ru>

Hello mandrake-russian-admin,

Friday, August 31, 2001, 7:32:43 PM, you wrote:

> День добрый.
> Обращаюсь к Вам знатоки shell'а.
> Как вырезать по определенному правилу строки из файла.
> Конкретно - замусорен log - messages сообщениями от Socks5.
> Вот и хотелось-бы вырезать все строчки где упоминается Socks5.

        только перекинуть в другой файл, типа:
# cat messages | grep -v Socks5 > new-messages


> P.S: а syslog я щас настрою чтоб он этого не делал :) - будут вопросы обращюсь.

        дык когда Сокс собираешь указываешь --with-syslog-facility=LOG_LOCAL0
а в syslog.conf
local0.*                                        /var/log/socks5.log

-- 
 ОП ТюменьЭнергоСпецРемонт
 Системный администратор
 Руссу В.Ф.                  e-mail: ruwa@psrp.te.ru
                             phone: (3462)76-40-56

      parent reply	other threads:[~2001-09-02 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-31 17:29 Alexey Shabalin
2001-08-31 17:41 ` Andrey Astafiev
2001-08-31 18:38   ` [mdk-re] было shell-теперь socks5 and syslog Alexey Shabalin
2001-08-31 19:33     ` Alexey Shabalin
2001-09-02 11:32       ` Re[2]: [mdk-re] ÂÙÌÏ shell-ÔÅÐÅÒØ " Russu V.F.
2001-08-31 17:42 ` [mdk-re] shell Viacheslav Kaloshin
2001-09-03  0:27   ` [mdk-re] shell Mikhail Zabaluev
2001-09-01 20:08 ` [mdk-re] shell Alex A. Puchkov
2001-09-02 11:29 ` Russu V.F. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1946511853.20010902132709@psrp.te.ru \
    --to=ruwa@psrp.te.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git