Re: change shell type in crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06:35 31 Oct 2003, Ed Wilts <ewilts@xxxxxxxxxx> wrote:
| > Anyway, if all the commands are separate scripts and each script starts with:
| > 	#!/bin/bash
| > then the Right Thing should happen anyway.
| > 
| > I do wonder what you're doing that needs bash though...
| 
| Well, he could use /bin/sh, but on my Taroon system, sh is a symbolic
| link to bash anyway.

You'll find bash behaves more like a regular Bourne/POSIX shell when
invoked as /bin/sh than when invoked as /bin/bash. So there is a
difference anyway.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

A childproof cap is a Gordian knot to any adult who drinks.  ______ wrote
that he had seen the best minds of his generation destroyed by madness. I
have seen the best minds of mine go at a bottle of aspirin with a ball-peen
hammer. - P.J. O'Rourke


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux