Export

How to Set JAVA_HOME Path in Ubuntu 18.04 and 20.04 LTS

How to Set JAVA_HOME Path in Ubuntu 18.04 and 20.04 LTS

  1. Open terminal ( Ctrl + Alt + t )
  2. Type sudo gedit .bashrc.
  3. Enter password of ubuntu user.
  4. Go to last line of the file.
  5. Type below code in new line export JAVA_HOME=enter_java_path_here export PATH=$JAVA_HOME/bin:$PATH eg: export JAVA_HOME=/home/pranav/jdk1.8.0_131 export PATH=$JAVA_HOME/bin:$PATH.
  6. Save the file.

How To Install Redis on Debian Linux
Installing Redis on Debian 9 Step 1 Install Redis from APT Repo. Redis package is included in the default Debian 9 repositories, therefore, issue the ...
How to Check Version of CentOS
The simplest way to check for the CentOS version number is to execute the cat /etc/centos-release command. Identifying the accurate CentOS version may...
Exporting Bash Variables
How do I export a variable in bash? What happens if we export a shell variable in bash? How do I export a variable in Linux? How do I export an enviro...