LinuxQuestions.org
Visit Jeremy's Blog.
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, 06: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, 06:37 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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, 06: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, 06:43 AM   #4
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 847
Blog Entries: 8

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

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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, 06: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, 06: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, 06:50 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,417

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
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, 06: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, 06:58 AM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,417

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
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, 06:59 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

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

Are you using a conda environment?
 
Old 02-19-2019, 07: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 07:06 AM.
 
Old 02-19-2019, 07:09 AM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:40 PM
What does Bikini Blue means in Linux Terminal pinastro Linux - Newbie 6 07-05-2009 02:04 AM

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

All times are GMT -5. The time now is 12:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration