Originally Posted by
matt_symes
Hi
That's really odd. Can you post sample output ?
That's the good thing about Linux though; always more than one way to do things
Kind regards
Sure can.
Code:
james@Kubuntu-Natty:~$ ls | grep x
adcx.txt
test.123x
tux
txa
xero
xyz
james@Kubuntu-Natty:~$ ls /home/james/x?
ls: cannot access /home/james/x?: No such file or directory
james@Kubuntu-Natty:~$ ls /home/james/ux?
ls: cannot access /home/james/ux?: No such file or directory
james@Kubuntu-Natty:~$ ls /home/james/?ux
james@Kubuntu-Natty:~$ ls /home/james/*ux
james@Kubuntu-Natty:~$ ls /home/james/*x
/home/james/test.123x
/home/james/tux:
james@Kubuntu-Natty:~$ ls /home/james/?x
ls: cannot access /home/james/?x: No such file or directory
james@Kubuntu-Natty:~$ ls ~/?ux
james@Kubuntu-Natty:~$ ls ~/?x
ls: cannot access /home/james/?x: No such file or directory
james@Kubuntu-Natty:~$ ls ~/*ux
james@Kubuntu-Natty:~$ ls ~/*ux*
james@Kubuntu-Natty:~$ ls ~/ux?
ls: cannot access /home/james/ux?: No such file or directory
james@Kubuntu-Natty:~$ ls ~/*x
/home/james/test.123x
/home/james/tux:
Bookmarks