LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2019, 05:32 AM   #1
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Rep: Reputation: Disabled
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,
 
Old 02-19-2019, 05:37 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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?
 
Old 02-19-2019, 05:38 AM   #3
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks, hydrurga The machine is running on Centos 7.
 
Old 02-19-2019, 05:43 AM   #4
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Is that a chroot environment?
 
Old 02-19-2019, 05:44 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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
 
Old 02-19-2019, 05:45 AM   #6
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
here it is:
(base) [root@localhost exp-Endophytes]# echo $PS1
(base) [\u@\h \W]\$
 
Old 02-19-2019, 05:46 AM   #7
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zeebra View Post
Is that a chroot environment?
hey zeebra, I'm new to linux, could you please specify what is chroot environment?
Many thanks,
 
Old 02-19-2019, 05:50 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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.
 
Old 02-19-2019, 05:53 AM   #9
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
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
 
Old 02-19-2019, 05:58 AM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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".
 
Old 02-19-2019, 05:59 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

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

Are you using a conda environment?
 
Old 02-19-2019, 06:01 AM   #12
DruKa
LQ Newbie
 
Registered: Feb 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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

Last edited by DruKa; 02-19-2019 at 06:06 AM.
 
Old 02-19-2019, 06:09 AM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by DruKa View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
please help me to add k-means code to my ANTNET? I want k-means code neda_71 Linux - Virtualization and Cloud 1 07-23-2016 05:40 PM
What does Bikini Blue means in Linux Terminal pinastro Linux - Newbie 6 07-05-2009 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration