Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 072010
 

A command that do nothing

Answer:

In GNU/Linux, there is a command that do nothing, unsuccessfully - the false command.

E.g.

# false

It is common to set the user shell to /bin/false if you don't want the user to login.

Reference: http://www.gnu.org/software/coreutils/manual/html_node/false-invocation.html

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>