opticalmace
Member
sure, just put it in a variable.In my bash terminal, is there a way to create a shortened variable for a path like this:
https://blablabla.bla.bla/blabla/~bla
so that I don't have to type it out everytime? Something maybe like how $HOME or $PATH stores stuff. Thanks !
e.g. v=/home/user/somedir
echo $v
cd $v
just put the definition in your .bashrc.
alternatively you could make aliases for commands, such as
alias cdm='cd /home/user/somedir'
then in the terminal if you type cdm it will execute that command.