I have a .bashrc file with the following commands:
PS1="..."
export LC_ALL=...
What are these commands doing?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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: