Welcome, Guest
Username Password: Remember me

Shell script to Print only Size and file name using unix command.
(1 viewing) (1) Guest
Shell Script
  • Page:
  • 1

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. 9 months, 2 weeks ago #705

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44590
  • Karma: 4
  • Honor Medal 2009
Shell script to Print only Size and file name using unix command.


ls -l | tr -s " " " "| cut -d " " -f5,9
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re: Shell script to Print only Size and file name using unix command. 9 months, 1 week ago #714

The command should be

ls -l | tr -s " " " "| cut -d " " -f5,8
  • Page:
  • 1
Time to create page: 0.66 seconds

     
    
Home Forum