ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] strange $PATH
Date: Sun, 11 Mar 2007 22:33:48 +0900
Message-ID: <957265820703110633t7ad6db8mbb19fe8bfbd7b86c@mail.gmail.com> (raw)

Вечер добрый!

Обнаружил странное поведение переменной $PATH в эмуляторе терминала.
Если запустить терминал (xterm, например), то переменная $PATH
содержит несколько странное значение:

[denis@ogion ~]$ echo $PATH
/home/denis/bin:/bin:/usr/bin:/usr/bin:/usr/ucb:/usr/X11R6/bin:/usr/games

Два раза /usr/bin, отсутствует /usr/local/bin и присутствует какой-то
странный /usr/ucb. Если залогиниться в консоли, или через su, то $PATH
выглядит нормально:

[denis@ogion ~]$ su - denis
Password:
[denis@ogion ~]$ echo $PATH
/home/denis/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
[denis@ogion ~]$

Не подскажет ли кто, с чем связано такое поведение переменной $PATH в
X, и как её привести к нормальному виду?

-- 
Всего доброго,

Денис.

             reply	other threads:[~2007-03-11 13:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 13:33 Denis G. Samsonenko [this message]
2007-03-11 15:51 ` Хихин Руслан
2007-03-11 15:59   ` Denis G. Samsonenko
2007-03-12  5:10     ` Хихин Руслан
2007-03-12  5:29       ` Denis G. Samsonenko
2007-03-12  6:06         ` Denis G. Samsonenko
2007-03-12  6:09         ` Хихин Руслан
2007-03-12  6:23           ` Denis G. Samsonenko
2007-03-12  6:43             ` Хихин Руслан
2007-03-12 16:02           ` Denis G. Samsonenko
2007-03-11 17:04 ` Victor
2007-03-11 17:22   ` Denis G. Samsonenko
2007-03-11 22:44 ` Dmitry V. Levin
2007-03-12  1:25   ` Denis G. Samsonenko
2007-03-12  3:28     ` Denis G. Samsonenko
2007-03-12  4:11       ` Dmitry Lebkov
2007-03-12  4:58         ` Denis G. Samsonenko

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=957265820703110633t7ad6db8mbb19fe8bfbd7b86c@mail.gmail.com \
    --to=d.g.samsonenko@gmail.com \
    --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