Mailing the story:

Tips for using the Linux test command

  • Opensource.com; By Seth Kenlon (Posted by on CST)
  • Story Type: News Story; Groups: GNU, Linux
The [ command, often called a "test," is a command from the GNU Core Utils package, and initiates a conditional statement in Bash. Its function is exactly the same as the test command. When you want to execute a command only when something is either true or false, use the [ or the test command. However, there's a significant difference between [ or test and [[, and there's a technical difference between those commands and your shell's versions of them...
What is your name?

What is your E-Mail address?

What is the email address of the recipient?

Add a special note from yourself?