Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

Needed touch command to create a file in the following format

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-18-2012
hemanthsaikumar hemanthsaikumar is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 13 March 2015, 7:57 AM EDT
Posts: 93
Thanks: 13
Thanked 1 Time in 1 Post
Needed touch command to create a file in the following format

needed touch command to create a file in the following format


touch a_yyyymmdd_hhmmss
Sponsored Links
    #2  
Old Unix and Linux 12-18-2012
Scott's Unix or Linux Image
Scott Scott is offline Forum Staff  
Administrator
 
Join Date: Jun 2009
Last Activity: 4 July 2015, 5:46 AM EDT
Location: Zürich
Posts: 8,570
Thanks: 337
Thanked 1,080 Times in 938 Posts
You could easily answer this yourself by reading the manual page for touch, even though the filename and file timestamp are not related in this instance.
The Following User Says Thank You to Scott For This Useful Post:
rbatte1 (12-18-2012)
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Conversion of below Tabs Tex file into CSV format file : shell script needed sreenath1037 Shell Programming and Scripting 7 04-29-2011 06:53 AM
to create format file for bcp in Arunprasad UNIX for Advanced & Expert Users 3 04-08-2009 04:51 AM
How to format or create a matrix report from file manas_ranjan Shell Programming and Scripting 3 12-24-2008 08:38 AM
Help to Create this file format structure enigma_83 Shell Programming and Scripting 4 04-29-2008 03:22 AM
command 'touch -c file/dir' zp523444 UNIX for Advanced & Expert Users 1 11-20-2005 01:11 PM



All times are GMT -4. The time now is 10:42 PM.