Linux.com are back with another in the excellent series titled “CLI for noobies”. This time they discuss the test command and show its uses. Guess I am a noobie because I didn’t even know about this command.

The test command allows you to conditionally perform some task based on the existence, type, or status of a file. It also lets you do the same thing by comparing integer and string values. For my sake, we’ll keep it as simple as possible and stick to file tests while still showing off some of its potential.

Share and Enjoy

  • StumbleUpon
  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • TwitThis

Related posts:

CLI for Noobies: Sort
Hacking Google
CLI for noobies: Need redirection?
Seagate 7200.9 500GB: Mouthwatering Benchmarks
Linux Running Out of Space?

Hope you like that post!

Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.