11

Using any file in folder as command input

view full story
linux-howto

http://www.unix.com – Hi all, I have a command I need to run on a large number of folders. It needs only one input, namely one of the 150 files in the folder (doesn't matter which one): Code: command filename The problem is that the names of the files are random, so I was trying to just get the first file by using list and inputting this by making a shell variable of it, but I've had no success as a 4-month Unix newbie... Thanks for any tips! (HowTos)