Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

background-process

Why process killed with nohup

August 8, 2022 by Magenaut

I want to run a process in background without killing it on shell exit, according to Nohup concept the following command should work until I kill it manually:

Categories Q&A, Unix & Linux Tags background-process, nohup, uwsgi Leave a comment

Echoing progress from a background process without hijacking prompt

August 8, 2022 by Magenaut

Consider the simple script hello:

Categories Q&A, Unix & Linux Tags background-process, bash, prompt, shell Leave a comment

Bash script needed to run every second

August 8, 2022 by Magenaut

I have a few cleanup commands to run for my datacaching scheme. I was thinking a bash script would be an easy way to check if the full clean up job needed to be run. But the cache is very time sensitive, so the check script needs to run every second. What’s the best way to do this?

Categories Q&A, Unix & Linux Tags background-process, bash, services Leave a comment

If you ^Z from a process, it gets “stopped”. How do you switch back in?

August 7, 2022 by Magenaut

I accidentally “stopped” my telnet process. Now I can neither “switch back” into it, nor can I kill it (it won’t respond to kill 92929, where 92929 is the processid.)

Categories Q&A, Unix & Linux Tags background-process, command-line, jobs, process Leave a comment

Calling multiple bash scripts and running them in parallel, not in sequence

August 7, 2022 by Magenaut

Suppose that I have three (or more) bash scripts: script1.sh, script2.sh, and script3.sh. I would like to call all three of these scripts and run them in parallel. One way to do this is to just execute the following commands:

Categories Q&A, Unix & Linux Tags background-process, bash, parallelism, shell-script Leave a comment

Permanent background ssh connection to create reverse tunnel: what is correct way?

August 7, 2022 by Magenaut

Related question: initiate ssh connection from server to client

Categories Q&A, Unix & Linux Tags background-process, ssh Leave a comment

background process pipe-input

August 7, 2022 by Magenaut

if i want to display “aaa” on screen:

Categories Q&A, Unix & Linux Tags background-process, pipe, stdin Leave a comment

Why doesn’t SSH -t wait for background processes?

August 6, 2022 by Magenaut

Why is it that ssh -t doesn’t wait for background jobs to finish?

Categories Q&A, Unix & Linux Tags background-process, file-descriptors, process, shell, ssh Leave a comment

Why does a while loop stop after being suspended?

August 6, 2022 by Magenaut

Why is it that using bash and suspending a while loop, the loop stops after being resumed? Short example below.

Categories Q&A, Unix & Linux Tags background-process, bash, shell, signals Leave a comment

Why do backgrounded processes sometimes stop spontaneously?

August 6, 2022 by Magenaut

Sometimes, some time after I’ve backgrounded a process with bg in bash, when I press Enter in the same shell to redisplay the prompt (just to check that I’m still in bash when some output from the background process has been displayed), the background process seems to stop spontaneously.

Categories Q&A, Unix & Linux Tags background-process, io, job-control, terminal Leave a comment
Newer posts
← Previous Page1 Page2
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress