Your default locale setting is probably different between RH and Debian? Try the following: LANG=C ls -l | grep ^d | cut -c55- Ashleyb----- Original Message ----- From: "Tong" <mlist4suntong@yahoo.com>
To: <debian-user@lists.debian.org> Sent: Tuesday, November 09, 2004 10:09 PM Subject: Get directories names
Hi, I used to use the following command/alias to get the names under the current directory in RH: ls -l <criteria> | grep ^d | cut -c57- but in Debian, the position of the file name is not fixed. How do you get it? Thanks tong -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.orgwith a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org