Skip to main content

All Questions

Tagged with
3 votes
1 answer
3k views

Is it dangerous to have /usr/local/bin ahead of /usr/bin in one's PATH?

I was reading a Stack Exchange answer here about a connected topic, and part of the accepted answer said this: never place user-writeable PATH elements ahead of those that can only be modified by ...
user3573051's user avatar
2 votes
1 answer
1k views

Automatically shorten paths over a character count limit in bash

Windows and tools running on windows servers (eg. OneDrive) have a limit on path lengths. I am looking for a command line tool in OSX/Linux/Unix to, within a directory, shorten all paths above a path ...
Etienne Low-Décarie's user avatar
-2 votes
1 answer
158 views

Trouble setting up the class path for MySQL and running MySQL via terminal

Question: what is the easiest way to run the MySQL app from the terminal What I have tried: Using some stackOverFlow suggestions I have used the following commands echo $PATH, produces /usr/local/...
Megha Sharma's user avatar
1 vote
2 answers
1k views

What is the sequence of files bash loads to set PATH variable

I want to understand the way PATH variable is set in Linux/Mac. What all files are loaded and in what sequence to set the PATH variable for BASH.
Manohar Negi's user avatar
3 votes
1 answer
163 views

Different Path Based on Directory

I am developing an application using Play! Framework version 1.2.4. So I have downloaded this and added its bin/ folder to my path. However, I am getting ready to start another Play! Framework ...
eliot's user avatar
  • 133
11 votes
3 answers
12k views

What is the Unix PATH variable and how do I add to it?

Many programming tutorials ask users to add something to their PATH but don't explain what it is. The existing resources that explain the PATH to users new to the command line are not very good. What ...
Kevin Burke's user avatar