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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command do you type to find help about the command who?

544


Who am I command in linux?

564


Does cp overwrite?

569


What does uname do in linux?

543


How do I run a script in linux?

545






What is $@ in makefile?

564


In order to display the last five commands you have entered using the fc command, you would type?

522


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

520


What is tty in linux process?

512


How do you sort cpu in top command?

539


Which command will show you free/used memory?

562


What command should you use to check the number of files and disk space used and each user’s defined quotas?

588


Why is linux cpu usage so high?

541


How do I check storage on linux?

527


What is ulimit command?

613