Saturday, January 17, 2015

how to have the "ll" alias in matlab (linux/osx version)


Below  simple mfile implementing the "ll" alias normally available in linux/osx.
The check on nargin if to set optional the argument "target".



function ll(target)
% like ll in unix

if nargin<1
    target='';
end

eval(['ls -l ', target]);
return;
%---------------------------------------------------


uses:

ll .

ll <folder_name>


No comments: