From: Aleksey Novodvorsky <aen@logic.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Re: [mdk-re] Re: Глобальная переменная
Date: Sat Aug 25 02:40:03 2001
Message-ID: <3B86BDC0.67D0358C@logic.ru> (raw)
In-Reply-To: <15411488532.20010824224141@mail.ru>
Romul wrote:
> Мира тебе, Mikhail,
>
> Friday, August 24, 2001, 9:58:32 PM, you wrote:
>
> MZ> Переменная окружения (не путайте нас, программистов) LD_LIBRARY_PATH.
> Спасибо, оно. А если я в профайле юзера определяю какую-то переменную
> окружения, например делаю
> PATH=/usr/bin
> То это значение добавляется к уже существующему (PATH=PATH+newPATH)или
> или эта переменная полностью переопределяется?
>
Полностью. Если хотите добавить, то:
PATH=$PATH:<new path>
export PATH
Вообще $VAR -- значение VAR.
Попробуйте: например, команду:
echo $PATH
Но! Такой синтаксис только в bash. Есть и другие командные оболочки: tcsh ,
zsh .
Rgrds, AEN
next prev parent reply other threads:[~2001-08-25 2:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 18:54 [mdk-re] " Romul
2001-08-24 21:47 ` [mdk-re] " Mikhail Zabaluev
2001-08-24 22:45 ` [mdk-re] " Romul
2001-08-25 2:40 ` Aleksey Novodvorsky [this message]
2001-08-25 2:40 ` [mdk-re] Переменная окружения Mikhail Zabaluev
2001-08-25 2:42 ` [mdk-re] Re: [mdk-re] Re: Глобальная переменная Баталов Григорий
2001-08-25 12:50 ` Yura Gusev
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=3B86BDC0.67D0358C@logic.ru \
--to=aen@logic.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