Pages

Friday, May 15, 2020

Create directory path Alias in Linux


Procedure:

Creating alias is the shortcut method or command to change the directory path

The below example is for bash shell


$ cd ~
$ vi .bashrc

# Add the following line in file

alias cdbo="cd /usr/sap/BOP/sap_bobj"

$ source .bash_profile

Then you can run cdbo as a command.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete