apl logo

A.P. Lawrence

Information and Resources for Unix and Linux Systems
Bloggers and the self-employed
RSS FeedsGet APLawrence.com by RSS




Linux Skills Test

Copyright 2004 A.P. Lawrence

Answer


! 9 b

The pattern "[!qa]" matches any one character filename EXCEPT q and a.

You can use this in longer patterns: "ls file.[!x]" matches file.a and file.b but not file.x

Comments /Tests/Linux/e0845.html


Add your comments


Next question
Return to Question q0845