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 6927179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:00:54+00:00 2026-05-27T11:00:54+00:00

in Bash Guide for Beginners, it’s said: Bash is the GNU shell, compatible with

  • 0

in “Bash Guide for Beginners”, it’s said:

Bash is the GNU shell, compatible with the Bourne shell and incorporating many useful features from other shells. When the shell is started, it reads its configuration files. The most important are:

/etc/profile

~/.bash_profile

~/.bashrc

however, in my ubuntu 11.10,
– there’s no “~/.bash_profile”: file explorer does not show it, and “ls -l ~/.bash_profile” says “No Such file or directory”
– there are “/etc/profile” and “~/.bashrc”, but they don’t show up in file explorer, only “ls -l /etc/profile” and “ls -l /.bashrc” shows the result.

is there something missing during my installation?

  • 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-27T11:00:55+00:00Added an answer on May 27, 2026 at 11:00 am

    No, it’s fine if those files aren’t there, they’ll just be ignored. To get a complete list of what’s loaded and in what order, run man bash and check the section on INVOCATION (use “/” and type in INVOCATION to search)

    Edit: saving @athos a man bash call 😉

    When bash is invoked as an interactive login shell, or as a non-interactive shell with the –login option, it first reads and executes commands from the file
    /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes com‐
    mands from the first one that exists and is readable. The –noprofile option may be used when the shell is started to inhibit this behavior.

    When a login shell exits, bash reads and executes commands from the file ~/.bash_logout, if it exists.

    When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This
    may be inhibited by using the –norc option. The –rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and
    ~/.bashrc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

TLDP's Advanced Bash Scripting Guide states that shell scripts shouldn't be used for situations
What's the simplest way in Ubuntu 11.10 to programmatically guide (either from Bash or
I'm having this code from http://bash.cyberciti.biz/guide/While_loop , used to read line by line from
#!/bin/bash # This question is from advanced bash scripting guide section 5.1 echo var='(]\\{}\$\
I'm reading " Bash Guide for Beginners ". It says: If the first character
bash shell: ./mimic_cmd startDaemon() Corresponding Ant code: <exec failonerror=true executable=/bin/mimic_cmd> <arg value='startDaemon()' /> </exec>
In bash, calling foo would display any output from that command on the stdout.
I added bash completion for Maven following the docs: http://maven.apache.org/guides/mini/guide-bash-m2-completion.html Everything works well except
In bash I would like to get filename from a command line string. But
please guide me to how clean up my linux pc from unnecessary and old

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.