Results 1 to 2 of 2

Thread: Nohup output to txt file in ssh

  1. #1
    Join Date
    Sep 2019

    Nohup output to txt file in ssh

    I am via a ssh connectioned to our Ubuntu server.

    There i have python script (named that has to run four 2 days every hour there is print statement inside the python file.

    Why does this not create a file?:
    nohup python -u >> home/jen/nohup.txt &

  2. #2
    Join Date
    Nov 2008
    Metro Boston
    Kubuntu Development Release

    Re: Nohup output to txt file in ssh

    You're missing the leading / on /home/jen/nohup.txt. Probably there is no "home/jen" directory under the directory where the script is being executed.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts