?
Solved

something like nohup but with access to terminal

Posted on 2008-10-01
2
Medium Priority
?
788 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

770 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