Displaying 20 results from an estimated 384 matches for "bash_profil".
Did you mean:
bash_profile
2019 May 13
7
root .bash_profile?
Hi folks. Just wondering how I can implement an automatic .bash_profile for root. I have to load my user .bash_profile every time I get into root, and I would like a better solution. There is no /home/ for root, so I?m a bit confused if this is even allowed.
Any insight appreciated.
Cheers, Bee
2019 May 14
4
root .bash_profile?
su does not load .bash_profile and therefore is a completely different application than with any other user. This one is different, considering .bash_profile is indeed used for logins for other users.
> On May 13, 2019, at 5:25 PM, Pete Biggs <pete at biggs.org.uk> wrote:
>
>>
>> man su doesn?t app...
2019 May 13
2
root .bash_profile?
Ah thank you. Having forgotten this, I already had all my aliases and instructions in there. For some reason they aren?t loading. If I do this, then everything loads:
source /root/.bash_profile
So there?s an indication this isn?t loading upon entry into su. Is this normal?
> On May 13, 2019, at 8:38 AM, Nux! <nux at li.nux.ro> wrote:
>
> Hi,
>
> The $home of root is /root, just copy it there.
Cheers, Bee
2019 May 13
2
root .bash_profile?
No, this isn?t a case of multi partitions, clusters, or anything silly. I just want a set of aliases loaded for su. /root/.bash_profile isn?t loading, and there isn?t any obvious choice as to where the loaded .bash* were loading from.
> On May 13, 2019, at 9:11 AM, Stephen John Smoogen <smooge at gmail.com> wrote:
>
> While moving /root to /home/root is done in someplaces, it only works if
> /home is not on...
2019 May 13
0
root .bash_profile?
On Mon, 2019-05-13 at 08:28 -0400, Bee.Lists wrote:
> Hi folks. Just wondering how I can implement an automatic .bash_profile for root. I have to load my
> user .bash_profile every time I get into root, and I would like a better solution. There is no /home/
> for root, so I?m a bit confused if this is even allowed.
>
> Any insight appreciated.
>
>
> Cheers, Bee
>
For a "normal" ins...
2019 May 13
3
root .bash_profile?
$ man bash (INVOCATION)
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file
exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is
readable. The --noprofile option may be used when the shell is started to inhibit this behavior.
But the reference to .bash_profile has some unclear restrictions or bo...
2006 Apr 24
4
Ruby/rails on Mac OSX not working
I have been using Locomotive for rails development and recently decided
to fix up the ruby/rails install that is on my mac.
As we all know, Ruby 1.8.2 came on the mac and has problems, so I
followed the instructions at Hivelogic for installing the latest
versions of Ruby, Rails, Lighttpd and so forth.
I have this set in my path within bash_login: export
2019 May 13
6
root .bash_profile?
...On May 13, 2019, at 2:46 PM, Pete Biggs <pete at biggs.org.uk> wrote:
>
>> First, the ~ which might not apply to root.
>
> Why do you think that? '~' is just shell shorthand for user's home
> directory.
root quite often isn?t recognized as a proper user. ~/.bash_profile isn?t loaded because it?s not a normal login shell when entering `su`.
>> Second, it?s a ?personal? init file, which also might not pertain to
>> root.
>
> root is just as much a user as anyone else, albeit one with special
> privileges because they are UID 0.
So I can?...
2019 May 13
0
root .bash_profile?
...04:20:17PM -0400, Bee.Lists wrote:
> > On May 13, 2019, at 2:46 PM, Pete Biggs <pete at biggs.org.uk> wrote:
> > Why do you think that? '~' is just shell shorthand for user's home
> > directory.
>
> root quite often isn?t recognized as a proper user. ~/.bash_profile
> isn?t loaded because it?s not a normal login shell when entering
> `su`.
You'd find that if there's another user account on your system (lets
call it "fred"), and you ran 'su fred', it would not load
~fred/.bash_profile either, because it wasn't a login shell...
2012 Mar 07
1
Long delays in rsync manifested by repeated entries, CentOS, rsync v2.6.8.
...target machines are connected
by a high speed link, most files are copied in a few seconds.
The example below was created by tailing the last three lines of a log
file in a 5 second delay loop, to watch for "stuck" file transfers.
Wed Feb 29 11:28:32 MST 2012
recv_file_name(keith001/.bash_profile)
recv_file_name(keith001/.bashrc)
received 352427 names
Wed Feb 29 11:28:37 MST 2012
recv_file_name(keith001/.bash_profile)
recv_file_name(keith001/.bashrc)
received 352427 names
Wed Feb 29 11:28:42 MST 2012
recv_file_name(keith001/.bash_profile)
recv_file_name(keith001/.bashrc)
received...
2010 Aug 22
1
Question about RVM installation; where to find .bashrc and/or .bash_profile files?
Hi--
Have just installed downloaded and installed RVM from Github and got
this message after download:
You must now finish the install manually:
1) Place the folowing line at the end of your shell''s loading
files(.bashrc or .bash_profile for bash and .zshrc for zsh), after all
path/variable settings:
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
Please note that this must only occur once - so, you only need to
add it the first time you install rvm.
2) Ensure that there is no ''return'...
2019 May 13
0
root .bash_profile?
...9dciXeJwCp2QajbDnF239ydtrHUdQtebNU&e=
----- Original Message -----
> From: "Bee.Lists" <bee.lists at gmail.com>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Monday, 13 May, 2019 13:28:24
> Subject: [CentOS] root .bash_profile?
> Hi folks. Just wondering how I can implement an automatic .bash_profile for
> root. I have to load my user .bash_profile every time I get into root, and I
> would like a better solution. There is no /home/ for root, so I?m a bit
> confused if this is even all...
2019 May 13
0
root .bash_profile?
...t from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Bee.Lists" <bee.lists at gmail.com>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Monday, 13 May, 2019 13:28:24
> Subject: [CentOS] root .bash_profile?
> Hi folks. Just wondering how I can implement an automatic .bash_profile for
> root. I have to load my user .bash_profile every time I get into root, and I
> would like a better solution. There is no /home/ for root, so I?m a bit
> confused if this is even allowed.
>
> Any...
2019 May 13
0
root .bash_profile?
Once upon a time, Bee.Lists <bee.lists at gmail.com> said:
> No, this isn?t a case of multi partitions, clusters, or anything silly. I just want a set of aliases loaded for su. /root/.bash_profile isn?t loading, and there isn?t any obvious choice as to where the loaded .bash* were loading from.
.bash_profile will not be read when you just run "su", because
.bash_profile is read in a login shell, and "su" does not create a login
shell.
.bashrc will be read (and is rea...
2019 May 14
0
root .bash_profile?
On Tue, 2019-05-14 at 04:50 -0400, Bee.Lists wrote:
> su does not load .bash_profile and therefore is a completely
> different application than with any other user. This one is
> different, considering .bash_profile is indeed used for logins for
> other users.
su is an application for switching from one user to another. It behaves
the same way whether you are switchin...
2010 Oct 12
6
RVM on a Macbook
I have a Macbook with Snow Leopard and Macports. I have successfully
run the script displayed below the heading "The following script will
boostrap git + RVM..." on the page:
http://rvm.beginrescueend.com/rvm/install/
However I can find no .bash_profile or .bashrc on my machine. The
closest existing files are .profile in my root, .bash_login in my
root, and setup.bash.in in a subfolder of Macports. I have tried
adding:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" #
This loads RVM into a shell sessi...
2006 Sep 25
1
Pls help on configuring autofs on NFS
...e/&
- Restarting portmap, nfs, nfslock on the server
- Restarting autofs on the client
- showmount -e localhost:
/home/nfstest 192.168.1.252/255.255.255.0
- Try to logon using username on the client: nfstest
But I've got this error:
automount[5937]: >> mount: 192.168.1.247:/home/.bash_profile failed, reason
given by server: Permission denied
automount[5937]: mount(nfs): nfs: mount failure
192.168.1.247:/home/.bash_profile on /home/nfstest/.bash_profile
automount[5937]: failed to mount /home/nfstest/.bash_profile
automount[5939]: >> mount: 192.168.1.247:/home/.bash_login failed,...
2006 Mar 29
3
Bash
I have installed Ruby and Rails on my Intel iMac according to the
instructions provided by Hivelogic. Everything works perfectly.
I have noticed that if I close Terminal and later come back and open it,
It seems like the paths set in bash_login are lost. If I open bash_login
the paths are still there however if i do ruby -v it says I am running
1.8.2 (mac default) when I have installed 1.8.4.
2019 May 13
0
root .bash_profile?
On Mon, 13 May 2019 at 08:28, Bee.Lists <bee.lists at gmail.com> wrote:
> Hi folks. Just wondering how I can implement an automatic .bash_profile
> for root. I have to load my user .bash_profile every time I get into root,
> and I would like a better solution. There is no /home/ for root, so I?m a
> bit confused if this is even allowed.
>
>
Most Linux distributions since the mid 1990's have made /root the home
directory...
2019 May 13
0
root .bash_profile?
> ~/.bash_profile
> The personal initialization file, executed for login shells
>
> First, the ~ which might not apply to root.
Why do you think that? '~' is just shell shorthand for user's home
directory.
> Second, it?s a ?personal? init file, which also might not pertai...