delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/02/12:23:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50E46CFB.2050509@cs.utoronto.ca>
Date: Wed, 02 Jan 2013 10:23:07 -0700
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: adding a folder to my path
References: <50E46BDD DOT 9000603 AT molconn DOT com>
In-Reply-To: <50E46BDD.9000603@molconn.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 02/01/2013 10:18 AM, LMH wrote:
> I think this is a cygwin question, though it is certainly a general 
> linux question as well. I would like to divide up and organize some of 
> the apps and links in my path directories (such as /usr/local/bin) 
> into sub directories. If I add a folder to /usr/local/bin, that folder 
> is not in my path. Can someone give me the instructions for adding a 
> folder such as /usr/local/bin/ruby_viewer/ to my path?
This is a very basic linux question, whose precise answer will depend on 
which shell you use (sh, bash, tcsh, etc.), regardless of the underlying 
OS (cygwin, linux, solaris, etc.).

Assuming bash, you might start with 
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_02.html

Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019