hello,
is it possible to "ls" exact two files being in different directories with only one ls "parameter" - (if first example there are both files given/specified)
Code:
$ ls -al a/slib/file1 a/lib/file2
-rw-r--r-- 1 aaaa bbbb 0 Aug 31 14:24 a/lib/file2
-rw-r--r-- 1 aaaa bbbb 0 Aug 31 14:23 a/slib/file1
$ [red]ls -al a/*lib/{file1,file2}[/red]
ls: 0653-341 The file a/*lib/{file1,file2} does not exist.
$ ls -al a/*lib/[file1],[file2}
ls: 0653-341 The file a/*lib/[file1],[file2} does not exist.
$ ls -al a/*lib/[file1,file2}
ls: 0653-341 The file a/*lib/[file1,file2} does not exist.
$ ls -al a/*lib/(file1,file2)
ksh: 0403-057 Syntax error: `(' is not expected.
$ ls -al a/*lib/file1,file2
ls: 0653-341 The file a/*lib/file1,file2 does not exist.
$