We need more information about where you are running this command. Is it from a console or terminal? Or from within an application (like Octave) that allows you to use shell commands. If it is from a console, do
to verify that you are using /bin/ls
to see if it segfaults. Are you doing ls on local files or on remotely mounted files.
"Never let the task you are trying to accomplish distract you from the study of computers."