Page 1 of 1

Terminal Command *` What is it?

Posted: Sun Jun 26, 2022 12:02 am
by geo_c

Not sure where to put this question.

I was in a terminal with Midnight Commander open, and I saw some dust on my keyboard and decided to brush it off with a little brush that I have. About 5 minutes later I tried to run a command from MC which informed me that a shell command was already running. I used control-O over to the shell and found this:

Code: Select all

root# *'

So I hit control-C to break off.

Does anyone know what the asterisk and reverse apostrophe (tilde perhaps?) command does? I'm wondering if I should revert back to an earlier savefile now.


Re: Terminal Command *` What is it?

Posted: Sun Jun 26, 2022 6:11 am
by Burunduk

It probably was:

Code: Select all

root# *`
>

Note the '>' prompt.

This command does nothing. It waits for you to actually finish entering it (waits for a closing backtick).

* may be a command if a first file (as it is sorted) in the current directory is named as a valid command, for example:

Code: Select all

root# mkdir test
root# cd test
root# touch echo foo
root# *
foo

The moral of this story is: jwm-xdgmenu doesn't care about Terminal=true. At least on fossapup. (Tried to install mc.)


Re: Terminal Command *` What is it?

Posted: Sun Jun 26, 2022 6:22 am
by Grey
Burunduk wrote: Sun Jun 26, 2022 6:11 am

The moral of this story is: jwm-xdgmenu doesn't care about Terminal=true. At least on fossapup. (Tried to install mc.)

Yeah. Therefore, in the desktop file we need to run the console program clearly and specifically: Exec=rxvt -e someshit


Re: Terminal Command *` What is it?

Posted: Sun Jun 26, 2022 9:56 am
by geo_c
Burunduk wrote: Sun Jun 26, 2022 6:11 am

It probably was:

Code: Select all

root# *`
>

Note the '>' prompt.

Yes, you're right, that's exactly what it was!