The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Fetching unique values from file shivi707 UNIX Desktop for Dummies Questions & Answers 1 01-09-2009 08:33 AM
Unique values from a Terabyte File Legend986 Shell Programming and Scripting 6 10-25-2008 07:57 PM
split a file with unique sets ChicagoBlues UNIX for Dummies Questions & Answers 8 10-22-2008 06:56 PM
Getting Unique values in a file Legend986 Shell Programming and Scripting 5 10-15-2008 03:36 AM
sorting file and unique commnad.. amon Shell Programming and Scripting 2 02-16-2006 05:19 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-11-2009
spkandy spkandy is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 13
Smile File Name as Unique

Hi all,
Since I need to maintain the file name with time stamp as unique in unix, i need to write script.
Is there any way to capture the milli/micro seconds of unix system.
Please reply me.
  #2 (permalink)  
Old 02-11-2009
dddkiran dddkiran is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 25
It may help you:

date '+DATE: %m%d%y%H%M%S'
DATE: 021109024340
  #3 (permalink)  
Old 02-11-2009
hari_anj hari_anj is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 6
For getting nanoseconds:
date '+%N'

refer man page of date command for more details.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0