Computing.Net > Forums > Unix > ksh - create filelist

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ksh - create filelist

Reply to Message Icon

Name: ling_k82
Date: January 17, 2006 at 01:24:22 Pacific
OS: unix
CPU/Ram: -
Comment:

how do i create a filelist containing filename of first ten files out of 20 files in the directory? and second filelist for the rest.

thanks in advance for the help. as i never do a script b4.



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: January 17, 2006 at 06:17:38 Pacific
Reply:

ls -1 | head -10

have a look at

wc -l
and
tail

for the rest of your question.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: ksh - create filelist

unable to login HELP!!! www.computing.net/answers/unix/unable-to-login-help/5672.html

Modifying a file in KSH www.computing.net/answers/unix/modifying-a-file-in-ksh/3456.html

files to configure ksh www.computing.net/answers/unix/files-to-configure-ksh/5659.html