0

I put a command in .bash_profile file. The command is:

nohup stdbuf -oL -eL sysdig -c spy_users 1>>/path/to/out 2>>/path/to/err &

While I am working on terminal it appears:

[1]+  Done                    nohup stdbuf -oL -eL sysdig -c spy_users >> /path/to/out 2>> /path/to/err

Whu do I have this interruption?

  • Why do you feel you need the nohup? Have you tried just putting the sysdig directly into your .bash_profile and backgrounding it? – slm Jul 5 '18 at 6:55
  • what do you mean? how can I have better background command? – yasin Jul 5 '18 at 6:56
  • Try this: sysdig -c spy_users 1>>/path/to/out 2>>/path/to/err &. – slm Jul 5 '18 at 6:56
  • Thank you, I am going to check: stdbuf -oL -eL sysdig -c spy_users 1>>/path/to/out 2>>/path/to/err & I will let you know ther result. – yasin Jul 5 '18 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.