I need a small help. It would be great if you can provide an answer.
I need to embed one unix system command inside another system command in a single line. I cant use "system" command, but i can only use the charaters (`) and i cant use variables for assigning.
Here is how i want :
`echo /tmp/filename.date +%Y%m%d`
I want to print the file name which has today's date suffixed to it. I'm not able to expand the inside data command
Just found the answer after posting this thread.
`echo /tmp/filename.\`date +%Y%m%d\``
Please ignore this thread.