5 ms·
What about 'echo *' ? That's usually my last resort when dealing with malfunctioning ls.
by mml 15y ago
What about 'echo *' ? That's usually my last resort when dealing with malfunctioning ls.
- joblessjunkie 15y agoThe shell will attempt to expand '*' into arguments before it spawns the 'echo' process. The shell cannot handle long argument lists, so this will fail rather quickly.
- smackfu 15y agoYep, this is usually the first point of failure for commands acting on somewhat large directories, that drives people to use find and exec.