A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

April 26, 2011

Select with long list

Forums: 

I'm writing a command line script, where I want the user to select a file name. The select command almost does the job, but the list of files is rather long, about 150.

Anyone know of a way of throwing something like less into the mix, to enable the user to scroll around the list before selecting?

Cheers.

Click Here!