Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6571973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:56:55+00:00 2026-05-25T14:56:55+00:00

I have a .bashrc file with the following commands: PS1=… export LC_ALL=… What are

  • 0

I have a .bashrc file with the following commands:

   PS1="..."
   export LC_ALL=...

What are these commands doing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:56:56+00:00Added an answer on May 25, 2026 at 2:56 pm

    The first one sets the way your prompt looks (see my own post on pimping my prompt). In the case of the example you gave, it will cause your hostname, followed by a colon, followed by the current path to appear in the prompt. The second one sets the default language/localization settings to use the POSIX C configuration, rather than whatever the settings previously were. I strongly recommend changing the value from “C” to some variation of “utf-8” depending on your language, in order to support Unicode. Ex:

    export LANG=en_US.utf-8
    export LC_ALL=en_US.utf-8
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So currently I have included the following in my .bashrc file. export RUBYLIB=/home/git/project/app/helpers I
In my /etc/bash.bashrc file, I have following: export SYNCTOOL=/root/Desktop/gb alias synctest='python $SYNCTOOL/App.py' In App.py:
I have the following in a file which is sourced both by .bashrc and
I have the following in my .bashrc file: # Git Bash Completion source $HOME/.git_completion
I don't have .bashrc file, I want to create one but how? And what
I have this .bashrc file #PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting [[
I have put some aliases in my .bashrc to open a group of project
I have a list of dotFiles at my workarea. For example, .bashrc and .vimrc.
Have I understod the following right? font-family:sans-serif; Above will result in the default sans-serif
I have this following simple program: int main() { char* v = getenv(TEST_VAR); cout

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.