Implement basic support for /list (doesn't do wildcards et al).