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 |
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
How did you do the Health check in Linux?
what are the linux boot files?
How do you sort cpu in top command?
I want to see how many interfaces(ethernet cards) are working using single command?
Which are the linux directory commands?
What does the 'cd' command do in Linux?
What is ulimit command?
I know ssh, telnet, dns,apache all are worked on TCP/UDP but i want to know any one service which are working on UDP only?
How do I change shell in linux?
What command you execute to display the last five commands you have entered?
in redhat Linux wat is the command to check at ahich date and time file was created?