FreeBSD Manual Pages
STEST2(1) General Commands Manual STEST2(1) NAME stest2 - filter a list of files by properties SYNOPSIS stest2 [-abcdefghlpqrsuwx] [-n file] [-o file] [file...] DESCRIPTION stest2 takes a list of files and filters by the files' properties, analogous to test(1). Files which pass all tests are printed to std- out. If no files are given, stest2 reads files from stdin. OPTIONS -a Test hidden files. -b Test that files are block specials. -c Test that files are character specials. -d Test that files are directories. -e Test that files exist. -f Test that files are regular files. -g Test that files have their set-group-ID flag set. -h Test that files are symbolic links. -l Test the contents of a directory given as an argument. -n file Test that files are newer than file. -o file Test that files are older than file. -p Test that files are named pipes. -q No files are printed, only the exit status is returned. -r Test that files are readable. -s Test that files are not empty. -u Test that files have their set-user-ID flag set. -w Test that files are writable. -x Test that files are executable. EXIT STATUS 0 At least one file passed all tests. 1 No files passed all tests. 2 An error occurred. SEE ALSO dmenu2(1), test(1) dmenu2-0.2 STEST2(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=stest2&sektion=1&manpath=FreeBSD+Ports+15.0>
