Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:18:56+00:00 2026-06-18T12:18:56+00:00

I was running a process from terminal in an SSH session and started the

  • 0

I was running a process from terminal in an SSH session and started the process in background with nohup and disconnected.

After some time I log back on the server and see that process is still running but cannot bring it back to foreground with current bash terminal since it was not the one which started it. I think the process now belongs to init as the shell which started the process exited when I exited from the first SSH session.

Now, how do I interact the process that I started? I mean it’s not that I want to kill it or something, but what if the process takes user input from time to time and now it’s waiting for one?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:18:57+00:00Added an answer on June 18, 2026 at 12:18 pm

    Now, how do I interact the process that I started?

    Short answer: you don’t. That process’ input and output are connected to a terminal that doesn’t exist anymore.

    What if the process takes user input from time to time and now it’s waiting for one?

    It won’t be waiting for input. If it had tried to get any, it would have received an end-of-file when it tried to read.

    Perhaps you would prefer to run such a process under screen so that you can detach the session and reattach it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following process does not continue after running kill -SIGCONT pid from another terminal.
I want to trigger a long running background process (coded as a service) from
I am running an external process from an outlook plugin - and it doesn't
How obtain the running process with absolute path name from ps command 13598 ?
I am running inkscape from a Gearman PHP process on *nix-like systems (OS X
How do I get a process list of all running processes from Python, on
In my pure C++ native process (that I run from the terminal with adb)
I have a long running process that is called via a Nancy Module Get
I have running process but it's executable file has got deleted. If I try
I want to write a long running process (linux daemon) that serves two purposes:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.