Score:0

shell scripting execution

mk flag
Max

Hi is anyone good with shell script What happens when we execute a shell script by this command by mistake

./sample.sh >sample.sh &

Instead of

./sample.sh >sample.txt &

I executed first command by mistake it says text file is busy.what happens

ar flag
The command you typed by mistake was trying to overwrite the script `sample.sh`. It is like a snake trying to eat itself from it's tail! You can use Ctrl+C to cancel the command.
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.