Results 1 to 2 of 2
Thread: Bash Terminal Question?
-
11-09-2007, 08:29 AM #1
- Member Since
- Nov 09, 2007
- Location
- Northern Nevada
- Posts
- 5
- Specs:
- MacBook Pro 2.66 ghz i7 - 8 gigs ram
Bash Terminal Question?On two of my systems I'm still running Tiger. In my .profile I have the command shopt -s cdable_vars which for example enables me to set up individual directory short cuts. For example: docs='/Volumes/Library/Webserver/Documents', which in turns allows me to (from my term.), to navigate to the Documents directory by issuing the command "docs." I recently did a clean install of Leopard and have my .profile set up the same as Tiger. But the "docs" command doesn't seem to work?
Thanks for any input!
MacUnkie
-
11-10-2007, 07:29 AM #2
- Member Since
- Nov 09, 2007
- Location
- Northern Nevada
- Posts
- 5
- Specs:
- MacBook Pro 2.66 ghz i7 - 8 gigs ram
I found my problem. I have my OS partitioned to a directory called "powerbookOSX." With Tiger I could set the shopt -s cdable_vars command to navigate to "/volumes/library". With 10.5 it seems I have to include, "/volumes/powerbookOSX/Library" in order to navigate to my needed directory. Who knew?
MacUnkie.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Terminal Bash help
By Zaush in forum macOS - Apps and GamesReplies: 1Last Post: 11-22-2010, 12:14 AM -
Messed Up Terminal Bash Please Help!
By RJDavis in forum macOS - Operating SystemReplies: 1Last Post: 10-26-2010, 03:51 PM -
Simple bash scripting question
By svenyonson in forum macOS - Operating SystemReplies: 1Last Post: 04-30-2009, 09:18 PM -
Terminal.app/bash: Creating An Executable Shell Script
By ebay in forum Running Windows (or anything else) on your MacReplies: 7Last Post: 04-28-2008, 06:43 PM -
Awk Scripts - bash terminal?
By soulredeemer in forum macOS - Development and DarwinReplies: 1Last Post: 04-04-2004, 02:03 PM