help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duration between two time stamps


From: Greg Wooledge
Subject: Re: Duration between two time stamps
Date: Thu, 19 Aug 2021 08:18:17 -0400

On Thu, Aug 19, 2021 at 02:05:43PM +0200, Alex fxmbsw7 Ratchev wrote:
> i suggest you copy it over to /bin .. or change your login shell to that
> local/

I wouldn't replace /bin/bash with your own self-compiled version.
The operating system is presumably keeping track of /bin/bash and may
become upset.  Or it may overwrite your version when you perform an
upgrade or apply patches (whichever your OS vendor does).  Or you may
break something, if your OS has scripts that rely on the behavior of
their version of /bin/bash.

Changing your account's login shell to /usr/local/bin/bash (or wherever
you put it) is probably fine.  You may need to add an entry to /etc/shells
first (as root) before you'll be allowed to select it as the user.  It
will depend on how your OS handles these things.

When in doubt, consult your OS's documentation or support.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]