GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
STEST2(1) FreeBSD General Commands Manual STEST2(1)

stest2 - filter a list of files by properties

stest2 [-abcdefghlpqrsuwx] [-n file] [-o file] [file...]

stest2 takes a list of files and filters by the files' properties, analogous to test(1). Files which pass all tests are printed to stdout. If no files are given, stest2 reads files from stdin.

Test hidden files.
Test that files are block specials.
Test that files are character specials.
Test that files are directories.
Test that files exist.
Test that files are regular files.
Test that files have their set-group-ID flag set.
Test that files are symbolic links.
Test the contents of a directory given as an argument.
Test that files are newer than file.
Test that files are older than file.
Test that files are named pipes.
No files are printed, only the exit status is returned.
Test that files are readable.
Test that files are not empty.
Test that files have their set-user-ID flag set.
Test that files are writable.
Test that files are executable.

0
At least one file passed all tests.
1
No files passed all tests.
2
An error occurred.

dmenu2(1), test(1)

dmenu2-0.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.