At job warning "warning: commands will be executed using /bin/sh" what to do?

Bo Berglund bo.berglund at gmail.com
Fri Nov 10 17:02:18 UTC 2023


On Fri, 10 Nov 2023 16:31:36 +0100, Ralf Mardorf via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:

>On Fri, 2023-11-10 at 15:59 +0100, Bo Berglund wrote:
>> "warning: commands will be executed using /bin/sh"
>> 
>> Why is this happening
>
>It only tells you that the at-command does use /bin/sh.

>
>I guess this should work when running the scripts by the at-command on Ubuntu, too.

So if all I do in the at command is simple file/directory moves plus launch a
script beginning with the shebang

#!/bin/bash

Then that code will be run by bash and not sh, right?


-- 
Bo Berglund
Developer in Sweden




More information about the ubuntu-users mailing list