The UNIX and Linux Forums  


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
Command not found manna UNIX for Dummies Questions & Answers 20 01-10-2008 11:29 AM
cc command not found mishra_sk_in UNIX for Dummies Questions & Answers 4 08-14-2007 06:00 AM
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 07:38 PM
sh: Hello: command not found coolboarderguy Shell Programming and Scripting 2 06-24-2006 05:27 AM
xlf: command not found!!!! mzzt AIX 2 01-05-2006 05:19 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-08-2008
BigTool4u2 BigTool4u2 is offline
Registered User
  
 

Join Date: Nov 2002
Location: London
Posts: 31
Command not found

Hi guys,
I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a | grep inet'. When I issued the command I got the command not found message. I know that is a valid command because I have issued it on my Mac OSX as well as issued it as root and it works fine.
Can someone tell me why I am getting this message whenever I issue the command?

As an aside, I generally get that sort of message if I issue the locate command if I am issuing the command as a user and not as admin???? Why is this happening.

Any comments would be appreciated.
  #2 (permalink)  
Old 03-08-2008
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
In Solaris, it's ifconfig, not ipconfig

ifconfig -a |grep inet

If it doesn't find the command (valid commands), check your path - it may be different between accounts.
  #3 (permalink)  
Old 03-08-2008
BigTool4u2 BigTool4u2 is offline
Registered User
  
 

Join Date: Nov 2002
Location: London
Posts: 31
I should have typed ifconfig...my mistake. How do I check the path to ensure it's the right one?
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 05:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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