using cd command in a file
John Gordon
gordon at osiris.cso.uiuc.edu
Tue May 21 07:02:32 AEST 1991
ceblair at ux1.cso.uiuc.edu (Charles Blair) writes:
> I would like to get to a directory /me/A/B/C/D by just typing j. I tried
>creating a file j with cd /me/etc in it, then chmod +x j. It didn't work.
>Thanks in advance. I'm sure I'm overlooking something well-known.
This would work better as an alias in your .cshrc or .profile.
Example: alias j 'cd /me/A/B/C/D'
---
John Gordon
Internet: gordon at osiris.cso.uiuc.edu #include <disclaimer.h>
gordon at cerl.cecer.army.mil #include <clever_saying.h>
More information about the Comp.unix.questions
mailing list