LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what does '(base)' means in linux terminal (https://www.linuxquestions.org/questions/linux-newbie-8/what-does-base-means-in-linux-terminal-4175648611/)

DruKa 02-19-2019 05:32 AM

what does '(base)' means in linux terminal
 
Hello everyone,
could you please specify what does '(base)' means in linux terminal next to command promt?

E.g.: (base) [root@localhost ~]#

Many thanks,

hydrurga 02-19-2019 05:37 AM

Hi DruKa, and welcome to LQ.

It's always useful to give some background when asking questions. For example, which distro (and version) of Linux are you using?

DruKa 02-19-2019 05:38 AM

Thanks, hydrurga :) The machine is running on Centos 7.

zeebra 02-19-2019 05:43 AM

Is that a chroot environment?

hydrurga 02-19-2019 05:44 AM

Thanks. I'm not a user of CentOS - someone who is will probably be a far greater help to you.

However, you should be able to have a look at your current command line prompt string structure with the following (please paste the results):

Code:

echo $PS1

DruKa 02-19-2019 05:45 AM

here it is:
(base) [root@localhost exp-Endophytes]# echo $PS1
(base) [\u@\h \W]\$

DruKa 02-19-2019 05:46 AM

Quote:

Originally Posted by zeebra (Post 5963929)
Is that a chroot environment?

hey zeebra, I'm new to linux, could you please specify what is chroot environment? :)
Many thanks,

jsbjsb001 02-19-2019 05:50 AM

It could refer to the "base" software repository, if you're talking about software packages. That software repository contains things like the system itself, and is therefore essential.

DruKa 02-19-2019 05:53 AM

Quote:

Originally Posted by jsbjsb001 (Post 5963938)
It could refer to the "base" software repository, if you're talking about software packages. That software repository contains things like the system itself, and is therefore essential.

Thanks for your reply. I use ssh to connect to the server. However, this time as I connected to the server, bummm...there's (base) attached to my command prompt :/ No idea how it got there

jsbjsb001 02-19-2019 05:58 AM

Did you run an interactive shell of yum maybe ? Or some other interactive shell of some kind or similar maybe ?

http://man7.org/linux/man-pages/man8/yum-shell.8.html

Because other than that, I have no idea why it says "base".

hydrurga 02-19-2019 05:59 AM

Your question appears to be answered here: https://askubuntu.com/questions/1026...erminal-prompt

Are you using a conda environment?

DruKa 02-19-2019 06:01 AM

Quote:

Originally Posted by hydrurga (Post 5963945)
Your question appears to be answered here: https://askubuntu.com/questions/1026...erminal-prompt

Are you using a conda environment?

Yes, I used conda update conda

Many thanks, hydrurga, I really appreciate your help! thumbs up for everyone!
P.S. I owe you a beer

hydrurga 02-19-2019 06:09 AM

Quote:

Originally Posted by DruKa (Post 5963946)
Yes, I used conda update conda

Many thanks, hydrurga, I really appreciate your help! thumbs up for everyone!
P.S. I owe you a beer

No problem. Thanks for marking the thread "Solved".

I prefer dark beer. ;)


All times are GMT -5. The time now is 07:38 PM.