$ ls -d /tmp/[A-Z]*
Works as expected here.
Can anybody offer an explanation for this curious behaviour ?
Try:
alias ls (to see if you're getting invisible flags enabled)
/bin/ls -d /tmp/[A-Z]* (to try the command without such)
I'm getting strange stuff too:
$ /bin/ls -l radiolab101510--Fate-and-Fortune.mp3
-rw-r--r-- 1 zl zl 57144527 Sep 30 16:10
radiolab101510--Fate-and-Fortune.mp3
$ /bin/ls -l *.mp3
/bin/ls: unrecognized option `--Fate-and-Fortune.mp3'
Try `/bin/ls --help' for more information.
$ rpm -qf /bin/ls
On Mon, Oct 25, 2010 at 04:38:15PM -0400, ken wrote:
I'm getting strange stuff too:
$ /bin/ls -l radiolab101510--Fate-and-Fortune.mp3
-rw-r--r-- 1 zl zl 57144527 Sep 30 16:10
radiolab101510--Fate-and-Fortune.mp3
$ /bin/ls -l *.mp3
/bin/ls: unrecognized option `--Fate-and-Fortune.mp3'
You
ken wrote:
I'm getting strange stuff too:
$ /bin/ls -l radiolab101510--Fate-and-Fortune.mp3
-rw-r--r-- 1 zl zl 57144527 Sep 30 16:10
radiolab101510--Fate-and-Fortune.mp3
$ /bin/ls -l *.mp3
/bin/ls: unrecognized option `--Fate-and-Fortune.mp3'
Try `/bin/ls --help' for more information.
$
On 10/25/2010 01:51 PM, m.r...@5-cent.us wrote:
Try wrapping the filename in single quotes, so that it's not interpreted
by the shell as a flag or option.
Wrapping a filename in quotes doesn't prevent it from being interpreted
as a flag or option.
On 25/10/10 5:37 PM, Gordon Messmer yiny...@eburg.com wrote:
On 10/25/2010 01:51 PM, m.r...@5-cent.us wrote:
Try wrapping the filename in single quotes, so that it's not interpreted
by the shell as a flag or option.
Wrapping a filename in quotes doesn't prevent it from being interpreted
as
If the app supports it (most good GNU like apps do) you need the double dash
option which will end option processing (ls -l -- -my_stupid_file.foo-)
A script to rename files with unhelpful names:
#! /bin/bash
# Rename files by choosing from a menu C. Polisher 2003/04/21
ls -i
echo -n Enter
Hi,
I'm currently working through some basic HOWTOS (Linux Fundamentals 1-4
by Gentoo founder Daniel Robbins) on a CentOS 5.5 server, just to keep
in shape.
I've just noticed a curious wildcard behaviour, which I can't really
explain. Let's say I wanted to list all the files or directories in
Niki Kovacs wrote:
Hi,
I'm currently working through some basic HOWTOS (Linux Fundamentals 1-4
by Gentoo founder Daniel Robbins) on a CentOS 5.5 server, just to keep
in shape.
I've just noticed a curious wildcard behaviour, which I can't really
explain. Let's say I wanted to list all the
On 10/24/2010 04:53 AM, Nicolas Thierry-Mieg wrote:
probably expected behavior, depending on your locale.
google for LC_COLLATE.
And you can read more in 'man 7 locale'.
___
CentOS mailing list
CentOS@centos.org
10 matches
Mail list logo