2009-04-27 7 views
2

Es gibt neue Optionen in Bash 4: checkjobs und autocd. Allerdings habe ich nicht für sie finden Dokumentation beiCheckjobs und Autocd in Bash können nicht verwendet werden 0

man bash 

ich erfolglos

laufen gefunden
{checkjobs,autocd} 

ich folgendes in Release Notes

There is a new `checkjobs` option that causes the shell to check for and 
report any running or stopped jobs at exit 

und

There is a new `autocd` option that, when enabled, causes bash to attempt 
to `cd` to a directory name that is supplied as the first word of a 
simple command. 

Wie können Sie autocd und checkjobs verwenden?

Antwort

5

autocd und checkjobs sind keine Befehle, sondern Optionen.

Sie können mit der shopt built-in eingestellt werden.

Beispiel:

shopt -s autocd 

und

shopt -s checkjobs 

oder

shopt -s autocd checkjobs 

beide einzustellen.

+0

Vielen Dank für Ihre Antwort! –

Verwandte Themen