Re: ls question

2019-04-17 Thread ToddAndMargo via users
On 4/17/19 8:45 PM, Phil Wyett wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2019-04-17 at 20:25 -0700, ToddAndMargo via users wrote: Hi All, Not to ask too stupid a question, but it there a way to run an ls that only gives me the file name and its size? Many thanks, -T -- ~~~

Re: ls question

2019-04-17 Thread Phil Wyett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2019-04-18 at 04:45 +0100, Phil Wyett wrote: > On Wed, 2019-04-17 at 20:25 -0700, ToddAndMargo via users wrote: > > Hi All, > > > > Not to ask too stupid a question, but it there a way to > > run an ls that only gives me the file name and its

Re: ls question

2019-04-17 Thread Cameron Simpson
On 18Apr2019 04:45, Phil Wyett wrote: On Wed, 2019-04-17 at 20:25 -0700, ToddAndMargo via users wrote: Not to ask too stupid a question, but it there a way to run an ls that only gives me the file name and its size? ls -hs --block-size=k May fit you needs. There's also the stat(1) command,

Re: ls question

2019-04-17 Thread Phil Wyett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2019-04-17 at 20:25 -0700, ToddAndMargo via users wrote: > Hi All, > > Not to ask too stupid a question, but it there a way to > run an ls that only gives me the file name and its size? > > Many thanks, > -T > > -- > ~~~