The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
ls command format display
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
ls command format display
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
04-22-2009
mnmonu
Registered User
Join Date: Feb 2009
Posts: 32
Quote:
Originally Posted by
Franklin52
With ksh:
Code:
set -A arr $(ls)
Or:
Code:
ls | while read file do i=$(($i+1)) arr[i]="$file" done
Regards
It also works well.........
Thaks for your support..............
mnmonu
View Public Profile
Find all posts by mnmonu
Find mnmonu's past nominations received
Find mnmonu's present nominations given