Entering the following command in terminal --->
Thank you for your help.paul@Paul-Compaq-nc6400 /etc $ echo "$HISTSIZE $HISTFILESIZE"
500 500
Thank you for your help.paul@Paul-Compaq-nc6400 /etc $ echo "$HISTSIZE $HISTFILESIZE"
500 500
Code: Select all
$ grep HIST ~/.bashrc
HISTCONTROL=ignoreboth
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
More info under the section "Tilde Expansion".standard personal initialization file ~/.bashrc
man -H bash
you can read the document in your browser (i.e., firefox) as html.As lmuserx4849 said it's a "hidden" file (name starts with a period = ".")panorain wrote:There is not a file named .bashrc file showing inside the above listed operating system.
Code: Select all
ls -a
Code: Select all
grep HIST ~/.bashrc
Code: Select all
grep HIST ~/.bashrc
Code: Select all
paul@Paul-Compaq-nc6400 ~ $ cd /home/paul
Code: Select all
paul@Paul-Compaq-nc6400 ~ $ ls -lah
3. paul@Paul-Compaq-nc6400 /etc/skel $ ls -lahWhen a user is first created files from /etc/skel are created on their behalf. There is a .bashrc there (ls -la), so any user, using bash as their shell will have, at a minimum, the contents of .bashrc.
1. Yes. Anything not in your home directory is system wide. Configuration files are mostly in /etc/ and /usr/share.panorain wrote: ...
1. I am understanding now that if I create a file named .bashrc within /home/paul the entries I make within /home/paul/.bashrc would be just for that individual user. If I edit /etc/bash.bashrc that is a systemwide approach. Does that seem correct to you guys?
...
3. paul@Paul-Compaq-nc6400 /etc/skel $ ls -lah
Why am I not seeing a .bashrc file within /etc/skel right now?
...
5. When I read through the bash manual a bit I used /HIST for what I think it is called "search pattern". What are your thoughts on the main differences HISTSIZE and HISTFILESIZE ? To me after reading their base meanings HISTSIZE superceds either. I was able to increase history size now to 4000 by just inserting -->So what is the point of HISTFILESIZE at all then if I can ask?
- HISTSIZE=4000