Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls
From: Alan Coopersmith (alanc_at_alum.calberkeley.org)
Date: 07/30/04
- Next message: K7MEM: "Re: Chaninging network settings from OK prompt"
- Previous message: Dave: "Re: Laserjet printer"
- In reply to: Sunjit: "/usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Next in thread: Paul Eggert: "Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Reply: Paul Eggert: "Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 21:55:54 +0000 (UTC)
sunjit@gmail.com (Sunjit) writes in comp.unix.solaris:
| Whats the difference between the above ls commands.
/usr/bin/ls & /usr/ucb/ls come with the OS. The man page explains
the differences (/usr/bin uses the SysV flags, /usr/ucb uses the ucb
flags - they're not compatible, for instance -g on /usr/ucb/ls means
"add group name to -l format", while on /usr/bin/ls it means "remove
group name from -l format").
/usr/local/bin/ls does not come with the OS, so it's whatever you've
installed locally (likely GNU ls).
-- ________________________________________________________________________ Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/ Working for, but definitely not speaking for, Sun Microsystems, Inc.
- Next message: K7MEM: "Re: Chaninging network settings from OK prompt"
- Previous message: Dave: "Re: Laserjet printer"
- In reply to: Sunjit: "/usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Next in thread: Paul Eggert: "Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Reply: Paul Eggert: "Re: /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]