Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

something like nohup but with access to terminal

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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 +…
Suggested Courses

604 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