Jump to content

Creating alias on command line [linux]


art3mis

Recommended Posts

Hi
Trying to create an alias in the command line using the following
 

Quote

alias houdini_run='pathold=$PATH; PATH=/home/jim/yt-conda/bin:/home/jim/yt-conda/sbin:/opt/hfs17.0.352:/opt/hfs17.0.352/bin:/usr/bin:/usr/sbin/;/opt/hfs17.0.352:/opt/hfs17.0.352/bin/houdini-bin; PATH=$pathold'

 

Then when I enter 'houdini_run' I get the following error

Quote

bash: /opt/hfs17.0.352:/opt/hfs17.0.352/bin/houdini-bin: No such file or directory

 

However, if I navigate to the bin directory, and simply enter houdini-bin, I still get the 'No such file' error but the application correctly launches.

Can anyone tell me what is going on here?

Edited by art3mis
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...