The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
access variable through program stack amit gangarade High Level Programming 2 11-06-2008 10:20 PM
Industry Support Grows for ACCESS Global Partner Program - CNNMoney.com iBot UNIX and Linux RSS News 0 08-06-2007 04:30 AM
Accessing microsoft access from C program beilstwh High Level Programming 2 10-26-2006 05:29 PM
How to access the C program variables in shell script bhakti Shell Programming and Scripting 3 07-13-2006 01:41 AM
C program with Oracle database access kavi High Level Programming 5 07-12-2002 03:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-25-2009
gingburg gingburg is offline VIP Member  
Supporter
  
 

Join Date: Oct 2008
Posts: 41
bin program access

Hello,

I was wondering if I have something in my bin dir and I want to access it from another directory to make a change how can I go about it. Thank you.
  #2 (permalink)  
Old 02-25-2009
Rockinfy Rockinfy is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 1
Angry Hi

Can you please explain your question in detail?
I could not get it..
  #3 (permalink)  
Old 02-25-2009
gingburg gingburg is offline VIP Member  
Supporter
  
 

Join Date: Oct 2008
Posts: 41
Clarify

Sure, so I have a program in my bin directory all chem.awk, I need to be able to edit the program using vi, but I was wondering if I can edit it while in another directory.

Thanks
  #4 (permalink)  
Old 02-25-2009
Tom de Tom de is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 23


do you mean

Code:
pwd
/home/your_account

your_account@host# vi /usr/bin/my_app.sh
??
  #5 (permalink)  
Old 02-25-2009
gingburg gingburg is offline VIP Member  
Supporter
  
 

Join Date: Oct 2008
Posts: 41
YEah not sure

the same idea but do i need to write out the entire path
  #6 (permalink)  
Old 02-25-2009
Goldorakk's Avatar
Goldorakk Goldorakk is offline
Registered User
  
 

Join Date: Feb 2009
Location: France
Posts: 43
Quote:
Originally Posted by gingburg View Post
the same idea but do i need to write out the entire path
Code:
$ pwd
/home/myaccount
$ ln -s /usr/bin/myprogram .
$ vi myprogram
  #7 (permalink)  
Old 02-25-2009
Tom de Tom de is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 23
Quote:
Originally Posted by gingburg View Post
the same idea but do i need to write out the entire path
Short answer, yes. Typing isn't really that bad

Tom de
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0