Thursday, May 2, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 1298  / 1 Year ago, fri, may 12, 2023, 6:14:51

How can I achieve the following:



type vdm in the terminal
and that will be replaced by wine Program Files/The VDM++ Toolbox Lite v8.3.1/bin



I also wanted vdm to work in any folder I am whatsoever.


More From » command-line

 Answers
1

Create a text file ~/.bash_aliases and put



alias vdm='wine "Program Files/The VDM++ Toolbox Lite v8.3.1/bin"'


in it. You'll need to restart your shell for it to take effect.



The .bash_aliases file is safer and easier to edit than editing the .bashrc file directly. It's automatically loaded by .bashrc on 11.04 and later.



See also How to create a permanent "alias"?


[#42357] Saturday, May 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itteast

Total Points: 291
Total Questions: 123
Total Answers: 104

Location: Tuvalu
Member since Wed, Mar 29, 2023
1 Year ago
;