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
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 |
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 |
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 |
what is linux utilities and editor
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
Explain shift command of linux?
How do I find the umask value in linux?
How do I run a bash script in linux?
If you have saved a file in linux. Later you wish to rename that file, what command is designed for it?
How do I start ms dos?
How would you check the available disk space on a Linux system?
What are different command to check ram, process and hdd of linux machine?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
How do I permanently delete linux history?
What Command used to lock user password?