Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: ls vs. dir
Date: Thu, 28 Apr 2011 00:14:05 +0000 (UTC)
Organization: Rincon Research Corp
Lines: 1
Message-ID: <ipabgd$9n7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1303949645 9959 172.30.248.37 (28 Apr 2011 00:14:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 28 Apr 2011 00:14:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2235717
Xref: news.mathworks.com comp.soft-sys.matlab:724177

I don't know what changed, but I'm on 2010b under Linux and the "ls" command seems to have stopped working.  When I use it I always get the contents of my unix home directory regardless of which directory matlab actually claims I'm in.  The file listing on the matlab desktop is correct, the path is working as expected, and "dir" lists out the correct files, but "ls" does not.  If I type "!pwd" it always shows my home directory, so maybe "ls" is following that.  Any ideas, besides writing a script called "ls" with "dir" inside it?