Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • This command doesn't appear to be in Debian. Does it have synonyms?
    – AWippler
    Commented May 29, 2014 at 17:49
  • 1
    @AWippler - What shell are you using? I believe this is part of the bash shell: echo $SHELL to see which shell you use.
    – Tillman32
    Commented May 29, 2014 at 18:01
  • /bin/bash is what I am using on this rpi. ps aux | grep shutdown is similar to jobs; however, this doesn't push out the global shut down message.
    – AWippler
    Commented May 29, 2014 at 19:03
  • Well the ps command just shows processes, so it's not an alternative. Try this: ps aux | grep shutdown | grep -v grep and I bet that comes back with nothing. Essentially when you grep, that is also a process, so you're probably just getting your grep process returned and not the shutdown process. The -v grep says omit the grep process.
    – Tillman32
    Commented May 29, 2014 at 20:59
  • Do an apt-cache search jobs and see what packages come back, maybe there is something that you can install that is the jobs command itself or similar. Or just use Cron.
    – Tillman32
    Commented May 29, 2014 at 21:00