| www.delorie.com/gnu/docs/sh-utils/sh-utils_18.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
true: Do nothing, successfully
true does nothing except return an exit status of 0, meaning
success. It can be used as a place holder in shell scripts
where a successful command is needed, although the shell built-in
command : (colon) does the same thing faster.
true ignores all command line arguments, even `--help'
and `--version', since to do otherwise would change expected
behavior that some programmers may be relying on.
This version of true is implemented as a C program, and is thus
more secure and faster than a shell script implementation, and may safely
be used as a dummy shell for the purpose of disabling accounts.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |