bin program access


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting bin program access
# 1  
Old 02-25-2009
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  
Old 02-25-2009
Network Hi

Can you please explain your question in detail?
I could not get it.. Smilie
# 3  
Old 02-25-2009
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  
Old 02-25-2009
Smilie

do you mean

Code:
pwd
/home/your_account

your_account@host# vi /usr/bin/my_app.sh

??
# 5  
Old 02-25-2009
YEah not sure

the same idea but do i need to write out the entire path
# 6  
Old 02-25-2009
Quote:
Originally Posted by gingburg
the same idea but do i need to write out the entire path
Code:
$ pwd
/home/myaccount
$ ln -s /usr/bin/myprogram .
$ vi myprogram

Smilie Smilie
# 7  
Old 02-25-2009
Quote:
Originally Posted by gingburg
the same idea but do i need to write out the entire path
Short answer, yes. Typing isn't really that bad Smilie

Tom de
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Access a value in 2D array in C program

Hi All, I am new to c programming. I am getting compilation error in the below program. Can somebody help me? #include<stdio.h> #include<string.h> void main() { int i=j=0; char a={'f1',4,'f2','4'}; char count; for(i=0;i<2;i++) { for(j=1;j<=2;j++) { ... (2 Replies)
Discussion started by: sam_14189
2 Replies

2. UNIX for Advanced & Expert Users

access to the bin of another user

Hello All, I am using AIX 6.1 I created two users (user_1 and user_2) with same primary group goup_1. in user_1 I am accessing an application command line which is found under user_1home_dir/application/bin I need to access the same application command line from user_2. What I did that in... (4 Replies)
Discussion started by: beayni33
4 Replies

3. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

4. UNIX for Dummies Questions & Answers

Which program can I use for blocking unauthorized access via/ssh/ftp

Hi, I need to install a program on my Centos 5.3 server that will block unauthorized ssh/ftp access attempts. The two features I require is that I should be able to configure the program to block the IP of the intruder after a a certain amount of access attempts and that it should display a... (3 Replies)
Discussion started by: mojoman
3 Replies

5. Programming

access variable through program stack

I am working on garbage collector in C? How should :confused: I find the part of heap where the variable are stored. It there any compiler (GCC) support for this. (2 Replies)
Discussion started by: amit gangarade
2 Replies

6. Programming

Accessing microsoft access from C program

I have read a number of references to libraries that could be linked into a C program to access various databases. I have been tasked with writing an oracle library that would be able to access an Microsoft access database. The oracle database is running on a Unix server and would have to access... (2 Replies)
Discussion started by: beilstwh
2 Replies

7. Shell Programming and Scripting

How to access the C program variables in shell script

hi I wanted to access the C program variables in shell script. This script is called from the same C program. What are the ways in which i can access variables thankx (3 Replies)
Discussion started by: bhakti
3 Replies

8. Programming

C program with Oracle database access

Hey, I want to access oracle database through Unix C programming.. Can you through me some light on that... (5 Replies)
Discussion started by: kavi
5 Replies

9. UNIX for Dummies Questions & Answers

Urgent!! How to write a shell program to execute command to access internet?

hi, I am new ot unix. So, can i write a shell(c shell or korn shell) program to access internet? I mean if I run the program, it can access specified url and then copy the html to a file? Can anyone help me? And how can make the program runs every 1 hr? new comer (2 Replies)
Discussion started by: firebirdonfire
2 Replies
Login or Register to Ask a Question