Score:0

Auto write code in qterminal

mc flag

i have script like below :

#!/bin/bash
qterminal -w /media/amg/TO1 &&
sudo chmod -R -v 755 * <- ***how to make auto write in qterminal & auto enter***
exit

my questions is how to make chmod line auto write in qterminal & auto enter

regards,

vanadium avatar
cn flag
Please clarify what you effectively want to achieve. You currently are providing solutions *you* think will work (Y problem), but you fail to clearly outline your real problem (X). Edit your question to improve clarity. 1) Indicate what you want to realize 2) Then indicate what is now in the question, i.e., what you attempted yourself.
muru avatar
us flag
It looks like you want to open a terminal and run a command in it? `qterminal` has an `-e` option, so maybe put the command in a script and do `qterminal -e /path/to/script`.
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.