HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Create, Open and Delete .bash_profile from Mac OS: Complete Steps

35,358 views June 15, 2020 9:30

Watch on YouTube
ChannelShalien Yuvaan Kaushik

Description from the creator

This tutorial videos will illustrates :

1. What .bash_profile is and Why it is important?
2. How to manage .bash_profile by creating it, open it and delete it?
3. Where it reside in Mac OS and in how many ways we can reach out to .bash_profile?

Also, this video makes you guys little bit familiar with .bash_profile. So next time when ever try to set path variables then you should know where you have to place it. (eg: JAVA_HOME, ANDROID_HOME, MAVEN_HOME etc..)

Steps to manage .bash_profile:

Two ways to check the existence of .bash_profile in Mac Os :

First Way :
Through GUI :
1. Go to Finder -- Click on Go -- Click on Home or if Home is not there then, Go to Finder -- Go -- Search for Folder and type /Users/HomeDirectory Name and press enter - Home Directory window appears
2. Home directory appears then press (command + Shift + Dot ) - In order to make it visible - Hidden files become visible then search for .bash_profile, If not available then you need to create that one.

Second Way:
Through Terminal :
1. Go to terminal -- Enter command : ls -al , - ls is used to check the content of directory and since this file is in hidden mode , so to get the hidden files command is -al
2. Search for .bash_profile in directory close to bash_history and bash_session, if not seen then it means you have to create that file.

To Create, Open and Delete - Please refer the video.


Also Guys,

1. To Download and Install any version of JAVA-JDK with latest steps, please refer my previous video:
youtu.be/26sbW2Z3WUk


Please Like, Subscribe and Share to this channel. Comments are always welcome to improvise.


Thanks you so much Everyone!!!

About this tutorial

Shalien Yuvaan Kaushik published this 9:30 video tutorial on June 15, 2020. It has been watched 35,358 times on YouTube.

Duration
9:30
Published
June 15, 2020
Views
35,358
Likes
417

Tags

Share

This tutorial in other languages