Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First I would like to say I am a total noob when it comes to linux. I don't use linux as an OS.
What I would like to do is use my Synology diskstation (which uses Linux) to transfer files to a remote target (a seagate goflex)
I have installed MC on my synology (since they don't have a FTP client), and I do not wish to copy huge amount of files on my computer, then use filezilla to transfer those to the remote target.
I use putty to connect to my synology and start MC. I want to be able to start transfer, but then close my computer (therefore closing my putty connection).
I have been told about "nohup". I tried it, but I do not know how I can "recall" it back. It also outputs a nohup.out file. Apparently it gets really big. What is the purpose?
I have heard about using "screen" instead. Could anyone give me a step by step how to use any of the 2 commands to achieve my purpose?
Thanks, I have tried that but I still have problems.
first, the "jobs" command does not work. It says it is not found.
If I use
> nohup mc $, mc starts in the background, but it does not start in order for me to initiate transfers. if I just start mc without nohup, I believe once I close putty, it will terminate that instance of mc.
I also do not know how to recall the nohup (as mentioned jobs command does not work), and mc is now in my processes consuming CPU
Synology does not know what -A does. (invalid option -- A).
However, I managed to just do "ps", then search for the mc PID and kill it with the kill command. So at least now I don't have to restart my diskstation every time.
I am still requiring help how to run mc with nohup. Once I start mc with nohup command "nohup mc &", how can I "access" it in order to perform tasks (copy files etc)?
In addition, is there any reason why using nohup mc & consumes 100% CPU, but if I run mc normally, it barely uses any?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.