The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
assign a command line argument and a unix command to awk variables sweta_doshi Shell Programming and Scripting 0 08-08-2008 06:54 AM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr HP-UX 1 10-16-2006 04:16 PM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr Shell Programming and Scripting 0 09-19-2006 09:44 PM
What does this Unix command do? athri UNIX for Dummies Questions & Answers 2 07-20-2006 09:54 AM
wc command help.... and other unix command....... urgent dashi2k UNIX for Dummies Questions & Answers 1 01-20-2005 06:39 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-06-2009
Usha Shastri Usha Shastri is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 13
unix command

hi..

I want to know where 'ls' or any binary for that matter is residing, how do I?
please tel me
  #2 (permalink)  
Old 03-06-2009
gauravacl gauravacl is offline
Registered User
  
 

Join Date: Jan 2009
Location: India
Posts: 17
Hi,

The command is

which

you can try
which ls
hope this helps
  #3 (permalink)  
Old 03-06-2009
binny binny is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
Do following

which ls

or
which <command name>
  #4 (permalink)  
Old 03-06-2009
Usha Shastri Usha Shastri is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 13
it works.
thanks.
  #5 (permalink)  
Old 03-06-2009
pintu pintu is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 6
Hey,

I tried the which comand doesnt work all the time. For example..I have the zip utility residing in some other directory so when I did which zip it said no zip in ....list of directories(mentioned in the path).

Is there anyway of finding out if there is a particular utility on the UNIX server and how do I find it ?

Thanks !
  #6 (permalink)  
Old 03-06-2009
ce9888 ce9888 is offline
Registered User
  
 

Join Date: Aug 2008
Location: Montreal, Qc, CA
Posts: 98
Try this :

Code:
$ type ls
  #7 (permalink)  
Old 03-06-2009
pintu pintu is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 6
[not set]# which zip
no zip in .....etc etc

[not set]# type zip
zip not found.

But I know zip is there because we use it ! Now we want to use PKZIP..just cant figure out how/where to find it
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0