On Sat, Sep 17, 2011 at 03:24:12PM +1000, Rob Hurle wrote: > On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote: > > I wonder is it possible to make the terminal recognize > > > > LS or Ls > > > > as > > > > ls > > Become super-user (sudo): > > #cd /usr/local/bin > #ln -s /bin/ls Ls > #ln -s /bin/ls LS > > > only in command line in terminal. > > I'm not sure where else you could use `ls` apart from the command line.
One could conceivably use 'ls' in a script or perhaps even from a program. The .bashrc solution seems good to me as the man page states this is only read by interactive, non-login invocations of bash. -- Darac Marjal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110917165916.gb26...@darac.org.uk