Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Working in Linux/Unix platform, if any command dose not
work, say # ls reports as command not found.
what to do?

Answers were Sorted based on User's Feedback



Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not foun..

Answer / bc

Check whether PATH variable as got the entry /bin

It should be something like this
=========================
[root@bc ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin
=========================

Is This Answer Correct ?    9 Yes 0 No

Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not foun..

Answer / senthil

Check the PATH first

By echo $PATH

2.See the binary is there in that PATH

if not there please install binary

Is This Answer Correct ?    4 Yes 1 No

Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not foun..

Answer / cp

Need to check the path first body ....

Is This Answer Correct ?    5 Yes 3 No

Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not foun..

Answer / vinod thakur

all right as discussed above.but if PATH varible is set
properly and then we facing same problem then we hav to
check whether we hav losted sbin or bin if we have losted
bin we can recover it as whole but if sbin then up to
limited level we can recover it ..

VINOD THAKUR

Is This Answer Correct ?    0 Yes 0 No

Working in Linux/Unix platform, if any command dose not work, say # ls reports as command not foun..

Answer / naresh

reinstall that shell

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Linux Commands Interview Questions

What does umask 022 mean?

0 Answers  


The command ‘umask -S’

0 Answers  


How do I do a whois search?

0 Answers  


What will happen when a system call is encountered in a user program?

0 Answers   Google,


What does the command env do?

0 Answers  


what is work of dns

3 Answers   HCL,


how do you configure linux system as a router?

5 Answers   HP,


How do I know my shell?

0 Answers  


what are the linux boot files?

9 Answers   CSS, Wipro,


What does comm do and how to use it?

0 Answers  


Explain difference between swap partition and swap file?

0 Answers  


Explain getopts command of linux?

0 Answers  


Categories