Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236289
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: A feasible method to add examples to man pages? |
| Date | 2021-06-22 16:30 +0200 |
| Message-ID | <CsPzz-2gR-1@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <CsyIp-A5-3@gated-at.bofh.it> <CsB3A-1QV-1@gated-at.bofh.it> <CsD5n-3eR-1@gated-at.bofh.it> <CsJku-6XQ-3@gated-at.bofh.it> <CsMil-da-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Ma, 22 iun 21, 05:54:19, Richard Owlett wrote:
>
> If ~/bin needs to be created, will logging out then in _guarantee_ it gets
> added to my path? That doesn't sound normal.
There is no guarantee :)
On buster /etc/skel/.profile includes the following snippets
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
/etc/skel/.profile should be copied to the home directory of every new
user (at least if created by the installer or with adduser).
Whether your shell and/or login method actually leads to sourcing
~/.profile is a completely different question and depends on:
1. Login method (Linux console, ssh, display manager, etc.)
2. How you start your X session (if applicable and not taken care of by
a display manager)
3. Terminal emulator (if in a graphical environment)
4. Shell in use and its configuration
> Is there a Debian specific article on when to use which ...\bin directory in
> $PATH and when/how to permanently add an additional directory.
Not that I'm aware of. On the other hand the ~/.local/bin snippet was
added recently (buster?) and makes sense for those who prefer the XDG
directories over traditional dotfiles in $HOME.
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 17:30 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 17:50 +0200
Re: A feasible method to add examples to man pages? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-21 18:20 +0200
Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-21 22:00 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 22:30 +0200
Re: A feasible method to add examples to man pages? Brian <ad44@cityscape.co.uk> - 2021-06-22 01:00 +0200
Re: A feasible method to add examples to man pages? Greg Wooledge <greg@wooledge.org> - 2021-06-22 03:10 +0200
Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 09:50 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 13:00 +0200
Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 14:10 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 14:40 +0200
Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 15:20 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-22 15:50 +0200
Re: A feasible method to add examples to man pages? Curt <curty@free.fr> - 2021-06-22 16:40 +0200
Re: A feasible method to add examples to man pages? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-22 16:30 +0200
Re: A feasible method to add examples to man pages? Brian <ad44@cityscape.co.uk> - 2021-06-22 18:20 +0200
Re: A feasible method to add examples to man pages? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-22 18:20 +0200
Re: A feasible method to add examples to man pages? rhkramer@gmail.com - 2021-06-23 13:20 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-23 21:40 +0200
Re: A feasible method to add examples to man pages? Nate Bargmann <n0nb@n0nb.us> - 2021-06-21 19:00 +0200
Re: A feasible method to add examples to man pages? Richard Owlett <rowlett@cloud85.net> - 2021-06-21 20:30 +0200
Re: A feasible method to add examples to man pages? Marco Möller <talby@debianlists.mobilxpress.net> - 2021-06-21 20:50 +0200
csiph-web