The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I modify the .bashrc file instead of .profile file to customize my login? Hyunkel Shell Programming and Scripting 1 09-25-2007 08:37 PM
Filter by modify date. millerdc Shell Programming and Scripting 2 07-29-2007 09:48 PM
Modify a text or xml file zing Shell Programming and Scripting 9 02-13-2004 01:14 AM
modify file using awk nattynatty Shell Programming and Scripting 12 04-19-2002 11:59 AM
modify a file yxiao Shell Programming and Scripting 2 03-26-2002 03:38 PM

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 06-06-2003
tine tine is offline
Registered User
  
 

Join Date: Apr 2003
Location: Amsterdam - the Netherlands
Posts: 40
modify date of a file

I'm trying to find a way to print the date that a file was modified on.
Using ls -l gives me to much information! All i need is the date. There must be a simple way to do this, but i cannot find it anywhere.. can someone give me some advise?
  #2 (permalink)  
Old 06-06-2003
oombera's Avatar
oombera oombera is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
This will display the month and day (e.g. May 28):

ls -l | awk '{print $6 " " $7}'
  #3 (permalink)  
Old 06-06-2003
tine tine is offline
Registered User
  
 

Join Date: Apr 2003
Location: Amsterdam - the Netherlands
Posts: 40
Thanks a lot!
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 02:29 PM.


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