Tuesday, April 23, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 318  / 2 Years ago, thu, august 25, 2022, 6:17:50

I am trying to learn what I can do from linux command to processes.



The problem is, I don't have many programs to check those commands on. I can't exactly kill bash, and putting process yes in background is a death sentence.



Since I am running on a server, I can't exactly just open a program in desktop.



Is there any notepad or calculator I could open in the background, so that it shows on the list of processes and allows me to check some options? I tried to use wget but this also doesn't seem to show up in my processes, maybe the download is too fast, I don't really get the issue with it...



Thanks for your help.


More From » command-line

 Answers
3

If you want to use yes in background, you can still do :



$ yes > /dev/null &


where > /dev/null redirects the output of the command to /dev/null.



Alternatively, you can run an infinite sleep :



$ sleep infinity &


which will run until killed


[#8661] Saturday, August 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suitman

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;