when I tried to run /usr/local/bin/date +%s in my unix(SUNOS) I am getting “bash: /usr/local/bin/date: No such file or directory” but in other unix machine it is working.
Below things done by me:
- compared the PATH in both the machines and found they have same.
- date +%s is not showing the output but in other machine it is showing output.
When entered :which date
output:/usr/bin/date (not working machine)
How can we add date in /usr/local/bin.
Request you to help me out. Thanks in advance