Difference Between Defining Bash Variables With And Without export

I’ve added this “export HISTCONTROL=ignoredups” line in ~/.bashrc file to avoid duplicate entries in Bash history in my Linux desktop. Did you notice that I prefixed the HISTCONTROL variable with “export”? Do you know –...

The post Difference Between Defining Bash Variables With And Without export appeared first on OSTechNix.



from OSTechNix https://ift.tt/3dBVxND

Post a Comment

0 Comments