newbie shell script question

Alexander Skwar listen at alexander.skwar.name
Tue Jun 27 08:32:47 UTC 2006


Ken N9VV wrote:
> Hi, in a shell script, how do you create a filename with today's date 
> appended at the end of the filename?

By using the date command. See "man date" for the formats that
you can use. Eg. "date +%Y%m%d". "man date" will explain you,
what this means.

Alexander Skwar
-- 
The profession of book writing makes horse racing seem like a solid,
stable business.
		-- John Steinbeck
	[Horse racing *is* a stable business ...]




More information about the ubuntu-users mailing list