Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: 2>&1


  • Subject: Re: lug-bg: 2>&1
  • From: nmitev@xxxxxx (Nikolay Mitev)
  • Date: Tue, 5 Feb 2002 11:26:44 +0200



On Tuesday 05 February 2002 10:49, you wrote:
> zdrawejte
>
> interesuwame kakwo stawa defakto pri izpalnenie na :
>
> ne6to si   2>&1
> w crontab
>
> mersi predwaritelno

Hi,

Zna4i purvo tova ne vazhi samo za v crontab. Shell-a go interpretira kato 
prenaso4vane na stderr kum stdout. 
V unix vsqka programa polu4ava pri startiraneto si 3 standartni stream-a. 
Edin za vhod (stdin) s file descriptor 0, izhod (stdout) filedes 1 i o6te 
edin za diagnosti4ni i error suob6teniq (stderr) s filedes 2. 
">&" ti e shell komanda za prenaso4vane na fileove. t.e 2>&1 ti prenaso4va 
vsi4ko ot filedes 2 kum filedes 1. Tova obiknoveno se pravi kato iska6 
naprimer da vizhda6 i error suob6teniq s less, koeto po default pokazva samo 
teq ot stdout.
Abe maj ne6to ni6to ne mozhah da obqsnq, ama...
Dano pomogne.

cheers,
face
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


  • Относно:
    • lug-bg: 2>&1
      • Изпратено от: nikig@xxxxxxxx (Nikolai Gorchev)

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.