Score:-1

Get the command line in full, of a GUI program

cn flag

How to know the complete command line used to invoke a GUI program currently running ?

tried ps -e, only put its filename

Raffa avatar
jp flag
Does `ps -e -O cmd` output what you want?
Score:1
ru flag

man (for reference MANnuals) is usually setup by default so for most commands you can do for example man ps to get the manual for the ps command. There you will see one of the (many) options is -f for a "full-format" listing so:

ps -ef

Raffa avatar
jp flag
This is neater than formatting the output for `ps` with `-O` for OP purpose. +1
Score:0
fo flag

you can always use htop

apt install htop

then use F5 to tree view and use F3 to search for the program by name you can see the bin that's used

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.