Linux test Command
What is Linux test Command?
In this tutorial we learn how to use test
command in Linux. test
command is test - check file types and compare values.
test Syntax
test EXPRESSION
test
test Examples
test Command Manual / Help
We can use man
and info
command to see the manual page of test
command. test
command also have --help
option to show list of options.
To open man page for test
command we can use command below. To exit man or info page you can press q
.
man test
To open info page for test
command we can use command below.
info test
To open help page from test
command we can run command below.
test --help
Linux test Command Source Code
You can find test
command source code from the folowing repositories:
- test source code on GitHub
- test source code on GNU Savannah cgit
- test source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use test
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.