âšď¸ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | FAIL | download_stamp > now() - 6 MONTH | 6.5 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://medium.com/codebrace/adding-class-path-for-git-bash-3b0d60468e98 |
| Last Crawled | 2025-09-22 14:09:12 (6 months ago) |
| First Indexed | not set |
| HTTP Status Code | 200 |
| Meta Title | Adding Class Path in git-bash. If you have been using git-bash for⌠| by Ashish Patel | Codebrace | Medium |
| Meta Description | Adding Class Path in git-bash If you have been using git-bash for command line operations and couldnât able to find some class paths this blog might help you in adding all class paths permanently ⌠|
| Meta Canonical | null |
| Boilerpipe Text | If you have been using git-bash for command line operations and couldnât able to find some class paths this blog might help you in adding all class paths permanently to be used from git-bash . Problem Statement You use git-bash a lot and want to access very application from there.(because you are unix(Linux/Mac) freak but your office has windows). Solution â Adding Permanent path using .bashrc or .profile for git-bash Like any other Unix environment (Linux/Mac), we can add our paths here in .bashrc or .profile file and get the access in bash after sourcing or reloading git-bash. Steps Go to Home in Bash(either use git-bash directly or type bash in cmd) by typing following command create file .bashrc or .profile , you can create it any way, I will be using touch command for bash. 3. edit this file and add path for JAVA_HOME and also PATH for universal class This path seems to be different from what you see in cmd or file explorer, This Is unix path which has a bit different structuring, you can get this path using git-bash , do following go to your JDK/bin directory something like this âC:\Program Files\java\jdk1.8.0_162\binâ right click and click git-bash here use command pwd which shows âpresent working directoryâ for unix based paths source this command will apply new . bashrc or .profile file to bash If you are like me who uses bash a lot(either use git-bash directly or type bash in cmd), this might be very helpful to you. Thanks for reading #HappyCoding |
| Markdown | [Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://rsci.app.link/?%24canonical_url=https%3A%2F%2Fmedium.com%2Fp%2F3b0d60468e98&~feature=LoOpenInAppButton&~channel=ShowPostUnderCollection&~stage=mobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fcodebrace%2Fadding-class-path-for-git-bash-3b0d60468e98&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[Medium Logo](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fcodebrace%2Fadding-class-path-for-git-bash-3b0d60468e98&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[Codebrace](https://medium.com/codebrace?source=post_page---publication_nav-1d3a3d56651-3b0d60468e98---------------------------------------)
¡
[](https://medium.com/codebrace?source=post_page---post_publication_sidebar-1d3a3d56651-3b0d60468e98---------------------------------------)
Coding blog to help people get going with Competetive programming, Big Data and other technologies, visit <http://medium.com/codebrace>
# Adding Class Path in git-bash
[](https://medium.com/@ashishpatel0720?source=post_page---byline--3b0d60468e98---------------------------------------)
[Ashish Patel](https://medium.com/@ashishpatel0720?source=post_page---byline--3b0d60468e98---------------------------------------)
2 min read
¡
Oct 26, 2018
\--
Listen
Share
- If you have been using **git-bash** for command line operations and couldnât able to find some class paths this blog might help you in adding all class paths permanently to be used from **git-bash**.
## Problem Statement
You use git-bash a lot and want to access very application from there.(because you are unix(Linux/Mac) freak but your office has windows).
## Solution â Adding Permanent path using .bashrc or .profile for git-bash
Like any other Unix environment (Linux/Mac), we can add our paths here in .bashrc or .profile file and get the access in bash after **sourcing** or **reloading** git-bash.
**Steps**
1. Go to Home in Bash(either use **git-bash** directly or type **bash** in cmd) by typing following command
![]()
1. create file **.bashrc** or **.profile ,** you can create it any way, I will be using **touch** command for **bash.**
![]()
3\. edit this file and add path for JAVA\_HOME and also PATH for universal class
![]()
This path seems to be different from what you see in **cmd** or file explorer, This Is **unix path** which has a bit different structuring,
you can get this path using **git-bash**, do following
- go to your JDK/bin directory something like this **âC:\\Program Files\\java\\jdk1.8.0\_162\\binâ**
- right click and click **git-bash here**
- use command **pwd** which shows âpresent working directoryâ for unix based paths
Press enter or click to view image in full size
![]()
**source**
![]()
this command will apply new .**bashrc or .profile** file to bash
If you are like me who uses **bash** a lot(either use git-bash directly or type **bash** in cmd), this might be very helpful to you.
Thanks for reading \#HappyCoding
[Git](https://medium.com/tag/git?source=post_page-----3b0d60468e98---------------------------------------)
[Git Bash](https://medium.com/tag/git-bash?source=post_page-----3b0d60468e98---------------------------------------)
[Windows](https://medium.com/tag/windows?source=post_page-----3b0d60468e98---------------------------------------)
[Unix](https://medium.com/tag/unix?source=post_page-----3b0d60468e98---------------------------------------)
\--
\--
[](https://medium.com/codebrace?source=post_page---post_publication_info--3b0d60468e98---------------------------------------)
[](https://medium.com/codebrace?source=post_page---post_publication_info--3b0d60468e98---------------------------------------)
[Published in Codebrace](https://medium.com/codebrace?source=post_page---post_publication_info--3b0d60468e98---------------------------------------)
[193 followers](https://medium.com/codebrace/followers?source=post_page---post_publication_info--3b0d60468e98---------------------------------------)
¡[Last published Nov 24, 2024](https://medium.com/codebrace/how-spark-runs-a-query-internally-a-step-by-step-guide-c87e0a1937b5?source=post_page---post_publication_info--3b0d60468e98---------------------------------------)
Coding blog to help people get going with Competetive programming, Big Data and other technologies, visit <http://medium.com/codebrace>
[](https://medium.com/@ashishpatel0720?source=post_page---post_author_info--3b0d60468e98---------------------------------------)
[](https://medium.com/@ashishpatel0720?source=post_page---post_author_info--3b0d60468e98---------------------------------------)
[Written by Ashish Patel](https://medium.com/@ashishpatel0720?source=post_page---post_author_info--3b0d60468e98---------------------------------------)
[249 followers](https://medium.com/@ashishpatel0720/followers?source=post_page---post_author_info--3b0d60468e98---------------------------------------)
¡[62 following](https://medium.com/@ashishpatel0720/following?source=post_page---post_author_info--3b0d60468e98---------------------------------------)
Big Data Engineer at Skyscanner , loves Competitive programming, Big Data.
## No responses yet
[Help](https://help.medium.com/hc/en-us?source=post_page-----3b0d60468e98---------------------------------------)
[Status](https://status.medium.com/?source=post_page-----3b0d60468e98---------------------------------------)
[About](https://medium.com/about?autoplay=1&source=post_page-----3b0d60468e98---------------------------------------)
[Careers](https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e?source=post_page-----3b0d60468e98---------------------------------------)
[Press](mailto:pressinquiries@medium.com)
[Blog](https://blog.medium.com/?source=post_page-----3b0d60468e98---------------------------------------)
[Privacy](https://policy.medium.com/medium-privacy-policy-f03bf92035c9?source=post_page-----3b0d60468e98---------------------------------------)
[Rules](https://policy.medium.com/medium-rules-30e5502c4eb4?source=post_page-----3b0d60468e98---------------------------------------)
[Terms](https://policy.medium.com/medium-terms-of-service-9db0094a1e0f?source=post_page-----3b0d60468e98---------------------------------------)
[Text to speech](https://speechify.com/medium?source=post_page-----3b0d60468e98---------------------------------------) |
| Readable Markdown | null |
| Shard | 77 (laksa) |
| Root Hash | 13179037029838926277 |
| Unparsed URL | com,medium!/codebrace/adding-class-path-for-git-bash-3b0d60468e98 s443 |