KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I use the test command for an arbitrary number of files, passed in using an argument with a wildcard? For example: test -f /var/log/apache2/access.log.* && echo "exists one or more files" Currently, it prints error: bash: test: too many arguments
Tags (comma-separated)
Save Edits
Cancel