Software >> OS >> Unix >> Shell >> How to create a file name containing the date today

today="`date +%Y%m%d`"   (date command inside back slant hypen)

file = "somepattern_${today}"