ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: shell
Date: Mon Sep  3 00:27:15 2001
Message-ID: <20010901095151.E7265@localhost.localdomain> (raw)
In-Reply-To: <20010831174243.4cc6d5e6.multik@asplinux.ru>; from multik@asplinux.ru on Fri, Aug 31, 2001 at 05:42:43PM +0400

Hello Viacheslav,

On Fri, Aug 31, 2001 at 05:42:43PM +0400, Viacheslav Kaloshin wrote:
>
> cat messages|grep -v sock5 > mes1
> rm messages
> mv mes1 messages
> /etc/init.d/syslogd restart 

С некоторыми поправками на написание, безопасность и реалии дистрибутива:

cd /var/log/syslog
touch messages.new
chown --reference=messages messages.new
chmod --reference=messages messages.new
cat messages | grep -vi socks5 >messages.new
mv messages.new messages && /etc/init.d/syslog restart

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Every country has the government it deserves.
		-- Joseph De Maistre



  reply	other threads:[~2001-09-03  0:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-31 17:29 [mdk-re] shell 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   ` Mikhail Zabaluev [this message]
2001-09-01 20:08 ` Alex A. Puchkov
2001-09-02 11:29 ` Russu V.F.

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=20010901095151.E7265@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --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