Solved

something like nohup but with access to terminal

Posted on 2008-10-01
2
780 Views
Last Modified: 2013-12-07
Hi.

I would need something some way to run processes independently from hangups in linux (Debian Lenny to be exact, but I suppose it shouldn't matter) but with access to console. The last part makes nohup useless, as it redirects output to nohup.out and doesn't allow any input.

The reason for this is, I want to log into my linux server with ssh, start downloading a large file with lynx and disconnect ssh, leaving the download running. I need to use lynx for downloading because I need to login to a webpage and after that only is the file available. Thus the need of console access at the beginning.

I tried bacgrounding the process with ctrl+z and bg, but it stops after disconnecting (nohup would come in handy here, but as I said, it can't be used). Any ideas?
0
Comment
Question by:tg_wilk
2 Comments
 
LVL 7

Accepted Solution

by:
tg_wilk earned 0 total points
Comment Utility
Forget it, I've found out about gnu screen

First start screen, proceed as in normal shell and when you're ready to disconnect, press Ctrl-a and then d. Screen is detatched from terminal and I can logout. When I need to check how it's going, I log in again and type screen -r, which allows me to see the progress.
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
You could either use wget/curl for the download or use 'screen' to control the session.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now