Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Finding the modified timestamp of files from the piped output of du command Post 302821125 by kraljic on Friday 14th of June 2013 05:45:53 AM
Old 06-14-2013
Finding the modified timestamp of files from the piped output of du command

Version Info
+++++++++++++++

RHEL 5.4


Since ls command lists file sizes in Bytes which can be long I use du command like below.

I have run the du command for the below files as shown below.
But I want pipe this output to ls command just to see the modified timestamp for these files.
How can I do this ?




Code:
$ du -sh *.dmp
1.4G    expdp_src_message_01.dmp
1.5G    expdp_src_message_02.dmp
1.5G    expdp_src_message_03.dmp
9.7M    exp_metadata_2013_05_10.dmp
1.5M    exp_OAT_270513_01.dmp
1.7G    exp_OAT_270513_02.dmp
456M    exp_OAT_270513_03.dmp
1.3G    exp_OAT_2705131_01.dmp
57M     exp_OAT_2705131_02.dmp
902M    exp_OAT_2705131_03.dmp
372K    RFDNS_BRNT_HK_OAT_01-codes.dmp
388K    RFDNS_BRNT_HK_OAT_01-TABLES-CodeSJune7.dmp
1.7M    RFDNS_BRNT_HK_OAT_01-TABLES.dmp
1.7M    RFDNS_BRNT_HK_OAT_01-TABLESNV.dmp
151M    TABLES-CodeSJune7.dmp

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Finding modified files

Last week I was using the command: ' find /directory -mtime -2 -print' and it showed all the files modified within that period. However, now it only displays the directories and not the files modified. The only thing that changed is that I was granted access to some files. Thanks (2 Replies)
Discussion started by: rhayabusa
2 Replies

2. Shell Programming and Scripting

Finding out the last modified time for files

I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS. Thanks in Advance, Kiran (3 Replies)
Discussion started by: kumariak
3 Replies

3. Solaris

Finding list of modified files for a particular time duration

Hi , I am trying to find out the List of files modified or added aftter installation of any component on SUN solaris box . But i am not able to do it using ls or find command . Can somebody help me out ? Thanks Sanjay Gupta (2 Replies)
Discussion started by: sanajyg_mnit
2 Replies

4. Shell Programming and Scripting

Finding files which are modified few mins ago

Hi All, I have a requirement to find out the files which are modified in the last 10 minutes. I tried the find command with -amin and -mmin options, but its not working on my AIX server. Can anyone of you could help me. Thanks in advance for your help. Raju (3 Replies)
Discussion started by: rajus19
3 Replies

5. Shell Programming and Scripting

How to get a filename modified by attaching modified timestamp

Hi, I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10). For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies

6. Shell Programming and Scripting

Can't Output Piped Perl In-line command to a File

Hello, I'm pretty stumped, and I don't know why I am not able to redirect the output to the 'graphme' file with the command below in Fedora 18. tcpdump -l -n -t "tcp == 18" | perl -ane '($s,$j)=split(/,/,$F,2); print "$s\n";' > graphme In case you're wondering, I was following the example... (2 Replies)
Discussion started by: ConcealedKnight
2 Replies

7. Shell Programming and Scripting

How to read and write last modified timestamp to files?

Need help reading file last modified date in format: Filename (relative path);YYYYMMDDHHMMSS And then write it back. My idea is to backup it to a text file to restore later. Checked this command but does not work: Getting the Last Modification Timestamp of a File with Stat $ stat -f... (5 Replies)
Discussion started by: Tribe
5 Replies

8. UNIX for Dummies Questions & Answers

Find all files containing string not following symlinks CAT (modified) output content to /filename

This should recursively walk through all dirictories and search for a specified string in all present files, if found output manicured content (eg some regex) with CAT into a specified directory (eg /tmp/) one by one, keeping the original names This is what I have so far, which seems to... (1 Reply)
Discussion started by: lowmaster
1 Replies

9. Shell Programming and Scripting

Use cut output as variable piped awk command

Hi, I would like use the output of my cut command as a variable in my following awk command. Here's what I've written. cut -f1 info.txt | awk -v i=xargs -F'' '{if($6 == $i) print $20}' summary.txt Where obviously the 'xargs' doesn't do what I want. How can I pass my cut result to my awk... (3 Replies)
Discussion started by: heyooo
3 Replies
VTE(4)							   BSD Kernel Interfaces Manual 						    VTE(4)

NAME
vte -- Vortex86 RDC R6040 Fast Ethernet driver SYNOPSIS
vte* at pci? dev ? function ? Configuration of PHYs is necessary. See rdcphy(4). DESCRIPTION
The vte device driver provides support for RDC R6040 Fast Ethernet controller which is commonly found on Vortex86 System On a Chip (SoC). The RDC R6040 has integrated 10/100 PHY for 10/100Mbps support in full or half-duplex. The controller supports interrupt moderation mecha- nism, a 64-bit multicast hash filter, VLAN over-size frame and four station addresses. The vte device driver uses three station addresses out of four as perfect multicast filter. SYSCTL VARIABLES
The following variables are available hw.vte.vte<x>.int_rxct Maximum number of packets to fire RX completion interrupt. The accepted range is 0 (disable interrupt moderation) to 15, the default is 0. hw.vte.vte<x>.int_txct Maximum number of packets to fire TX completion interrupt. The accepted range is 0 (disable interrupt moderation) to 15, the default is 0. SEE ALSO
ifmedia(4), mii(4), netintro(4), vlan(4), ifconfig(8) DM&P Electronics Inc. Vortex86, http://www.dmp.com.tw. HISTORY
The vte driver was written for FreeBSD by Pyun YongHyeon <yongari@FreeBSD.org> and ported to NetBSD by Manuel Bouyer <bouyer@NetBSD.org>. The vte device driver first appeared in NetBSD 6.0. BSD
January 23, 2011 BSD
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy