Solved

something like nohup but with access to terminal

Posted on 2008-10-01
2
786 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
tg_wilk earned 0 total points
ID: 22618585
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
ID: 22618596
You could either use wget/curl for the download or use 'screen' to control the session.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Fine Tune your automatic Updates for Ubuntu / Debian
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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