Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"alias" command?

Status
Not open for further replies.

plcramer

MIS
Joined
Mar 11, 2002
Messages
5
Location
US
I have a long path that I need to inculude as an 8 character or less substitute. Is there some kind of "alias" command?
 
Have you tried creating the 8 character directory and using ln -s to create a link?

For example:
/this/is/the/long/path/to/a/directory
/shortnam

ln -s /this/is/the/long/path/to/a/directory /shortnam
 
Or try using the alias command :

alias short=/this/is/the/long/path/name

You can put that line in your ~.profile file as well...
 
Thanks, both of you for the assistance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top