Re: the "ls" command line

2016-08-26 Thread cs
On 25Aug2016 21:05, Roberto Ragusa wrote: On 08/24/2016 08:36 AM, Samuel Sieb wrote: Remember that the globs ("*") are interpreted by the shell, not ls. In fact, interesting things can happen if you have a file called "-l". (and this is why we have option "--") Very true. And for commands w

Re: the "ls" command line

2016-08-25 Thread Roberto Ragusa
On 08/24/2016 08:36 AM, Samuel Sieb wrote: > Remember that the globs ("*") are interpreted by the shell, not ls. In fact, interesting things can happen if you have a file called "-l". (and this is why we have option "--") -- Roberto Ragusamail at robertoragusa.it -- users mailing list u

Re: the "ls" command line

2016-08-23 Thread Samuel Sieb
On 08/23/2016 10:42 PM, Angelo Moreschini wrote: The command (...) is composed both with <*options* (-ld)> and with <*argument* "/*" or "/*/"> In my acknowledge, both the arguments of these commands ( "/*" or "/*/") refer to the _content of a directory_, and the-ld option should

Re: the "ls" command line

2016-08-23 Thread Jon LaBadie
On Wed, Aug 24, 2016 at 08:42:31AM +0300, Angelo Moreschini wrote: > OK > > Thank you, I got a good explanation... > > But it is something that I yet don't understand: > > The command (...) is composed both with > > <*options* (-ld)> >and with > <*argument* "/*" or "/*/"> >

Re: the "ls" command line

2016-08-23 Thread Angelo Moreschini
OK Thank you, I got a good explanation... But it is something that I yet don't understand: The command (...) is composed both with <*options* (-ld)> and with <*argument* "/*" or "/*/"> In my acknowledge, both the arguments of these commands ( "/*" or "/*/") refer to the *cont

Re: the "ls" command line

2016-08-23 Thread cs
On 23Aug2016 18:00, Markus Schönhaber wrote: what is the difference between these two commands ? ls /* and ls /*/ --- these two commands give me different output: ls -ld /* =--->list all the files inside the directory (both files and subdirectories) ls -ld /*/ =

Re: the "ls" command line

2016-08-23 Thread Markus Schönhaber
> what is the difference between these two commands ? > ls /* > and > ls /*/ > > --- > these two commands give me different output: > > ls -ld /* =--->list all the files inside the directory (both files and > subdirectories) > > ls -ld /*/ =---> give me the list of

the "ls" command line

2016-08-23 Thread Angelo Moreschini
what is the difference between these two commands ? ls /* and ls /*/ --- these two commands give me different output: ls -ld /* =--->list all the files inside the directory (both files and subdirectories) ls -ld /*/ =---> give me the list of only the (subdirectory i