A script file called.bashrc is run when a user signs in. A number of settings for the terminal session are contained in the file itself. Setting up or activating these features involves creating command aliases, colouring, completion, and shell history.
It is a hidden file, therefore using the ls command alone won't reveal it.
To view hidden files, you can run the below command:
$ ls -a
You can see .bashrc command=. The contents of .bashrc can be changed to define functions, command aliases, and customize the bash.
.bashrc file has a lot of comments that makes it easy to understand.
We can define multiple Oracle Database Homes with alias as shown below:
For setting the different home, just we need to enter alias.
As you can see, we can switch between Oracle Home with just alias.
A script file called.bashrc is run when a user signs in. A number of settings for the terminal session are contained in the file itself. Setting up or activating these features involves creating command aliases, colouring, completion, and shell history.
It is a hidden file, therefore using the ls command alone won't reveal it.
To view hidden files, you can run the below command:
$ ls -a
You can see .bashrc command=. The contents of .bashrc can be changed to define functions, command aliases, and customize the bash.
.bashrc file has a lot of comments that makes it easy to understand.
We can define multiple Oracle Database Homes with alias as shown below:
For setting the different home, just we need to enter alias.
As you can see, we can switch between Oracle Home with just alias.