ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Андрей Черепанов" <cas@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как прогу оставить работать после logout ?
Date: Mon, 18 May 2009 14:42:13 +0400
Message-ID: <200905181442.13859.cas@altlinux.ru> (raw)
In-Reply-To: <d77783290905180212g5fa043aft6973f5d006642892@mail.gmail.com>

18 мая 2009, Денис Черносов написал(а):
> 18 мая 2009 г. 13:36 пользователь Vyatcheslav Perevalov
>
> <vip0@seversk.ru> написал:
> > On Monday 18 May 2009 15:33:12 Vyatcheslav Perevalov wrote:
> >> > Можно.
> >> >
> >> > echo "test vyvoda na konsol'" >/dev/tty4
> >>
> >> Это от рута. А от юзера?
> >
> > В смысле, что
> >
> > $ echo "test vyvoda na konsol'" >/dev/tty4
> > bash: /dev/tty4: Отказано в доступе
> >
> > $ su -
> > Password:
> > [root@workstation ~]# echo "test vyvoda na konsol'" >/dev/tty4
> > [root@workstation ~]#
> >  Соответственно, на четвёртой вирт. консоли имеем желаемый текст.
>
> screen ловчее будет, имхо. Например, так:
>
> $screen -S имя_сокета
> забиваем нужную команду
> Выход без закрытия сеанса Ctrl+A, D
>
> Повторный/дополнительный коннект:
> $screen -x имя_сокета
>
> К одном  сеансу screen можно приконнектиться сразу с нескольких
> консолей. Можно и в режиме read only. Так что вопрос вывода информации
> тоже решаем. Почитать можно здесь: http://xgu.ru/wiki/Man:screen
А можно проще:
screen
screen -r 
;)

-- 
Андрей Черепанов
ALT Linux
cas@altlinux.ru

  reply	other threads:[~2009-05-18 10:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15 11:14 Olexander Chernetskyy
2009-05-15 11:18 ` Denis Medvedev
2009-05-15 12:27   ` Olexander Chernetskyy
2009-05-15 13:31     ` Anton Farygin
2009-05-18  8:33       ` Vyatcheslav Perevalov
2009-05-18  8:36         ` Vyatcheslav Perevalov
2009-05-18  9:12           ` Денис Черносов
2009-05-18 10:42             ` Андрей Черепанов [this message]
2009-05-18 11:00               ` Денис Черносов
2009-05-18 11:21                 ` Андрей Черепанов
2009-05-15 11:23 ` Boris Savelev

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=200905181442.13859.cas@altlinux.ru \
    --to=cas@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /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