or foreground in bash script linux🤔?
XY problem?
what is XY?
https://lmddgtfy.net/?q=how%20to%20check%20if%20a%20process%20is%20running%20in%20background%20or%20foreground%20in%20bash%20script%20linux
I want to echo a string, when my script is runnung on foregrount, but echo is execute in both background and foreground
Обсуждают сегодня