I have a kind of stupid question and/or problem.
When I use the DOS terminal, I close the terminal window just by typing:
Code:
$ x
followed by a return.
This worked because I had a (very) small batch file called "x.bat":
Now I try to write a simular script "x" for BASH, but it does not seem to work:
The script is found, but it just does not do anything. (When I change the script to "echo exit", it echo's, so the PATH is okay.)
As you might have guessed: I am complete new in shell scripting.
Maybe I need a script that sends the CTRL-SHIFT-Q keys to BASH?
Can someone enlighten me?