Mar 6, 2002 #1 Tison Programmer Joined May 12, 1999 Messages 216 Location CH If I type a command (ls *) I get this message ; ksh: /usr/bin/ls: 0403-027 The parameter list is too long. Without limiting my search, how can I stop this error ?
If I type a command (ls *) I get this message ; ksh: /usr/bin/ls: 0403-027 The parameter list is too long. Without limiting my search, how can I stop this error ?
Mar 6, 2002 #2 mrn MIS Joined Apr 27, 2001 Messages 3,993 Location GB You'll have to chop it up, use ls a* or the like Mike -- | Mike Nixon | Unix Admin | http://www.instantflashshop.com---------------------------- Upvote 0 Downvote
You'll have to chop it up, use ls a* or the like Mike -- | Mike Nixon | Unix Admin | http://www.instantflashshop.com----------------------------
Mar 6, 2002 #3 rickbee MIS Joined Dec 26, 2001 Messages 3 Location US Have you tried xargs? Try - echo * | xargs ls -l This should get you what you need, or if displaying to a terminal, throw another pipe on the end followed by pg for pagination. Rick Upvote 0 Downvote
Have you tried xargs? Try - echo * | xargs ls -l This should get you what you need, or if displaying to a terminal, throw another pipe on the end followed by pg for pagination. Rick
Mar 8, 2002 #4 LHLTech MIS Joined Nov 15, 2001 Messages 50 Location GB another way is to do find ./ -name "*" -ls Gives slightly different information... LHLTech IBM Certified Specialist - AIX System Support Halfway through CATE exams! Upvote 0 Downvote
another way is to do find ./ -name "*" -ls Gives slightly different information... LHLTech IBM Certified Specialist - AIX System Support Halfway through CATE exams!