Terminal Command *` What is it?

Post Reply
geo_c
Posts: 2943
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2271 times
Been thanked: 911 times

Terminal Command *` What is it?

Post 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.

geo_c
Old School Hipster, and Such

Burunduk
Posts: 258
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: Terminal Command *` What is it?

Post 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.)

User avatar
Grey
Posts: 2052
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 77 times
Been thanked: 387 times

Re: Terminal Command *` What is it?

Post 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

Different devices. Different approach.

geo_c
Posts: 2943
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2271 times
Been thanked: 911 times

Re: Terminal Command *` What is it?

Post 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!

geo_c
Old School Hipster, and Such

Post Reply

Return to “Off-Topic Area”