Search results

  1. J

    `at` Not Working

    Thx for explaining! Where are we switching user? thx
  2. J

    `at` Not Working

    Thx, Your fix works, but i don't understand why. Which other user? i'm seeing: $ at now + 1 minutes warning: commands will be executed using /bin/sh So, root? Why? How can a non-root user execute a root command like this? thx
  3. J

    `at` Not Working

    hi This command isn't getting executed, but no errors. What am i doing wrong? I'm hitting CTRL-D after entering the command. On arch: $ at now + 1 minutes warning: commands will be executed using /bin/sh at Wed Nov 13 09:48:00 2019 at> xset s activate at> <EOT> job 5 at Wed Nov 13 09:48:00...
  4. J

    How to Execute After Read?

    Thx! i love this trick with read. Can't do this with sleep. Only way is with a loop :)
  5. J

    How to Execute After Read?

    Solved: bash -c "read -t 5 ; echo 'hi'"
  6. J

    How to Execute After Read?

    Update, some progress: Read may behave a bit differently in zsh. But this doesn't work either: bash -c "read -t 5 && echo 'bye'"
  7. J

    How to Execute After Read?

    In zsh, If i press enter before the read is finished, then the last echo command gets executed. Great! read -t 10 && echo 'bye' But, if i DON'T press enter, then the final echo does NOT get executed. How can i ensure the final echo gets executed if i allow the read to finish? thx
Top