Howtodojo logo
  • Home 
  • About 
  • Certifications 
  • Sample Database 
  • Cheatsheet 
  • Glossary 
  • Blog 
  • Tags 
  1.   Linux Commands
  1. Home
  2. Guides
  3. Linux Commands
  4. Linux false Command

Linux false Command

Share via
Howtodojo
Link copied to clipboard

In this tutorial we learn how to use false command in Linux. false command is a command that do nothing, unsuccessfully.

On this page
What is false Command in Linux?   false command Syntax   false Command Example   false Command Manual / Help   Linux false Command Source Code   Related Linux Commands   Summary  

What is false Command in Linux?  

In this tutorial we learn how to use false command in Linux. false is a command that do nothing, unsuccessfully. This command provide no output at all and will only give us false or failed exit status.

false command Syntax  

false [ignored command line arguments]
false OPTION

false Command Example  

To use false command, the one and the only way us to just run the command without any option.

false

It will give us nothing. If we check the exit status of the command we just run, it will give us exit status 1 which is a general exit status

$ echo $?
1

false Command Manual / Help  

We can use man and info command to see the manual page of false command.

false command also have

--help option to show list of options.

To open man page for false command we can use command below. To exit man or info page you can press q.

man false

To open info page for false command we can use command below.

info false

To open help page from false command we can run command below.

false --help

Linux false Command Source Code  

You can find false command source code from the folowing repositories:

  • false source code on GitHub
  • false source code on GNU Savannah cgit
  • false source code on GNU Savannah gitweb

Related Linux Commands  

You can read tutorials of related Linux commands below:

  • true command in Linux
  • test command in Linux
  • arch command in Linux

Summary  

In this tutorial we learn how to use false in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.

 Linux groups Command
Linux arch Command 
On this page:
What is false Command in Linux?   false command Syntax   false Command Example   false Command Manual / Help   Linux false Command Source Code   Related Linux Commands   Summary  
Follow me

We publish tutorials, tips and tricks about Linux, open source, cloud computing, and infrastructure

     
Copyright © 2012 - 2025 howtodojo.com. |
Howtodojo
Code copied to clipboard