[ubuntu-users] Command not found
Bert Swart
bertswart at chello.nl
Tue Mar 6 08:18:35 UTC 2012
On Mon, Mar 05, 2012 at 08:52:06PM +0000, Colin Law wrote:
> On 5 March 2012 20:09, Robert Holtzman <holtzm at cox.net> wrote:
> > On Mon, Mar 05, 2012 at 02:22:31PM +0000, John Sampson wrote:
> >> On 05/03/2012 13:46, Bert Swart wrote:
> >
> > .........snip........
> >>
> >> >Perhaps show output from ls Downloads*
> >>
> >> This gives "ls: Cannot access Downloads*: No such file or directory".
> >
> > That's because there is no Downloads*. The name of the directory is
> > Downloads without the asterisk. The advice you were given was incorrect.
>
> The * is a wildcard replacement, ls Downloads* will find all folders
> and files that start with Downloads followed by anything or nothing
> and will perform the ls on that set. In practice what the command
> will do is show the contents of the Downloads folder as, assuming
> there are no other files or folders starting with Downloads, it is
> identical to ls Downloads
Exactly why I suggested to try it. Maybe multiple existed starting with
Downloads. ls Downloads* would show them.
>
> Try it.
>
> Colin
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list