I am beginner for Unix and Linux
I would like to create an alias for UGL directory in UNIX
/datadev/appdev/devappl/ugl/11.5.0/
when I type
it is positioned directly inCode:cd $ UGL
/datadev/appdev/devappl/ugl/11.5.0/
I am beginner for Unix and Linux
I would like to create an alias for UGL directory in UNIX
/datadev/appdev/devappl/ugl/11.5.0/
when I type
it is positioned directly inCode:cd $ UGL
/datadev/appdev/devappl/ugl/11.5.0/
you ln command with the -s option.
Code:ln -s /path/physical/path/shortcuts
To create permanent aliases to your shell, you must edit the file .bashrc which is at the root of your home and add the definition of the alias like this:
To be considered, you must relog. Now when you type "al" in your shell, it executes the command "ls-al".Code:#nano /home/ton_user/.bashrc # Define the alias alias al='ls -al'
Otherwise, just a
will do (in bash), but this is not an "alias", just an environment variable.Code:export UGL=/datadev/appdev/devappl/ugl/11.5.0/
Bookmarks