Hi,
I have been working on Sun Solaris since a long time. Recently I got to work on RH Linux. My Linux version details are:
Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I have a simple command in my shell script:
export BKPTAG=`date +"%Y%m%d_%H%M"`
This command does not get executed at all, and the error message is :
line 44: date: command not found
I tried executing the same command at Linux prompt and it gets executed very well.
my shell is /bin/bash and I have mentioned it as the first line in the shell script:
#!/bin/bash
This is very strange to me, can anyone throw light on this? Thanks in advance.