Sponsored Content
Full Discussion: whereis ls
Top Forums UNIX for Dummies Questions & Answers whereis ls Post 10190 by guest100 on Friday 9th of November 2001 08:50:00 AM
Old 11-09-2001
Does this work with you?? Because the /bin seems to be appearing in the PATH

Code:
<pre>

isgsi01(root)7: echo $PATH
/usr/openwin/bin:/usr/openwin/bin/xview:/usr/bin/X11:/usr/bin:/usr/ucb:<B>/bin<B>:/usr/sbin:/etc:/usr/etc:/usr/sccs:/usr/ccs/bin:/usr/opt/SUNWmd/sbin:/opt/SUNWhsm/sbin:/jumpstart/admin/bin:.

isgsi01(root)9: whereis ls
ls: /usr/bin/ls /usr/ucb/ls
isgsi01(root)10: 


</pre>

but still does not show up using 'whereis'
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

difference of find,locate and whereis

hi guys, may i know the difference of find,locate and whereis ? (3 Replies)
Discussion started by: cromohawk
3 Replies

2. Homework & Coursework Questions

Help with find/whereis C Shell Script

Use and complete the template provided. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a C Shell Script called "hunt" that takes a filename as it's single parameter and displays the full pathname of every file name that matches,... (1 Reply)
Discussion started by: new2C
1 Replies
ld(1B)						     SunOS/BSD Compatibility Package Commands						    ld(1B)

NAME
ld - link editor, dynamic link editor SYNOPSIS
/usr/ucb/ld [options] DESCRIPTION
/usr/ucb/ld is the link editor for the BSD Compatibility Package. /usr/ucb/ld is identical to /usr/bin/ld (see ld(1)) except that BSD libraries and routines are included before the base libraries and routines. OPTIONS
/usr/ucb/ld accepts the same options as /usr/bin/ld, with the following exceptions: -Ldir Add dir to the list of directories searched for libraries by /usr/bin/ld. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y LU,dir Change the default directory used for finding libraries. This option can have unexpected results, and should not be used. FILES
/usr/lib /usr/lib/libx.a /usr/ucblib /usr/ucblib/libx.a ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ar(1), as(1), cc(1B), ld(1), lorder(1), strip(1), tsort(1), attributes(5) SunOS 5.11 28 Jun 2007 ld(1B)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy