Afterstep xpms

R. David Whitlock ryandav at u.washington.edu
Mon Aug 7 11:38:36 PDT 2000


>From the man page:

NAME
       which - show full path of commands
SYNOPSIS
       which progname ...
DESCRIPTION
       Which  takes a series of program names, and prints out the
       full pathname of the program that the shell would call  to
       execute it.  It does this by simulating the shells search-
       ing of the $PATH environment variable.

It doesn't appear that "which" does any regex search for the name, so you
will need to get at least that part right.  Locate, however, does indeed
search for the given expression in any filename or directory.  Locate uses
a locally generated db to search through which is usually updated via a
nightly cron job.  If you just installed something, however, the necessary
entry won't be in the db.  In this case, you can either do the more CPU
intensive real-time search with "find", or you can (as root) "updatedb",
which takes longer, at least in my experience...

"find" is _really_ useful for solving your own problems.  I highly
recommend reading the man page for it and learning a little regex.

later,
 David

	      "All of a sudden, I found myself in love with the world
   		          So there was only one thing that I could do
 		        Was ding a ding-dang my dang a long ling-long..."
 		         	     -Ministry, Jesus Built My Hotrod

On Mon, 7 Aug 2000, 'The Pho Man' Doug McLean wrote:

> With 'which' that will spit out anything this with that search string, but
> does locate search for that specific string, or will will it look for
> anything?
> 
> --Doug "The Pho Man" McLean
> 
> "People who want to share their religious views with you almost never
> want you to share yours with them."                 - Dave Barry
> 
> On Mon, 7 Aug 2000, R. David Whitlock wrote:
> 
> > If you are looking for an unfamiliar directory, and you suspect it's
> > hiding somewhere on your system but don't know where, like "GNUstep" in
> > this case, try
> > "locate GNUstep"
> > if you didn't just add the package somewhere.  Alternatively, 
> > "find / -name "*GNUstep*" -print"
> > should work as well...
> > 
> > Later, 
> >  David
> > 
> > 	      "All of a sudden, I found myself in love with the world
> >    		          So there was only one thing that I could do
> >  		        Was ding a ding-dang my dang a long ling-long..."
> >  		         	     -Ministry, Jesus Built My Hotrod
> > 
> > On Mon, 7 Aug 2000, Brett G. Monroe wrote:
> > 
> > > Look in:
> > > 
> > > /usr/X11R6/lib/GNUstep/
> > > 
> > > or
> > > 
> > > ~/GNUstep/
> > > 
> > > As for xpms, look in:
> > > 
> > > /usr/local/share/afterstep/desktop/icons/8bpp
> > > 
> > > and
> > > 
> > > /usr/local/share/afterstep/desktop/icons/16bpp
> > > 
> > >  )  |o)____               ) Dept. Microbiology		 )
> > > (   |0)re||  |\/|        (  HS K443B     616-4285	(
> > >  )           |  |onroe    ) bmonroe at u.washington.edu	 )
> > > (							(
> > >  )  I think we should partition Microsoft into an OS	 )
> > > (   company (called "C:") and an apps company ("D:").	(
> > >  )  Then we should blow away both partitions.		 )		
> > > (   			--Doug Steinfeld		(
> > > 
> > > On Mon, 7 Aug 2000, 'The Pho Man' Doug McLean wrote:
> > > 
> > > > Where are they stored on linux?  It says they are at some folder called
> > > > /GNUstep/....  but I have no clue where that is.
> > > > 
> > > > 
> > > > 
> > > > --Doug "The Pho Man" McLean
> > > > 
> > > > "People who want to share their religious views with you almost never
> > > > want you to share yours with them."                 - Dave Barry
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 



More information about the Linux mailing list