Shell script to Print only Size and file name using unix command.

rajeshkumar created the topic: Shell script to Print only Size and file name using unix command.

Shell script to Print only Size and file name using unix command.

ls -l | tr -s " " " "| cut -d " " -f5,9

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

puneetbhatia77 replied the topic: Re: Shell script to Print only Size and file name using unix command.

The command should be

ls -l | tr -s " " " "| cut -d " " -f5,8

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x