Search Results

Search: Posts Made By: igidttam
19,375
Posted By igidttam
who or finger only give me the users that are...
who or finger only give me the users that are currently on the system.
I need all users who are and aren't logged in at this time.
I need their last login date whether it is today or a year ago.
19,375
Posted By igidttam
last login date and time for all users
I need a command [or script] that will list all the users and their last login date & time. I was trying the last command and the who command, but can't get exactly what I need.
I just need the...
Forum: Filesystems, Disks and Memory 05-16-2007
31,160
Posted By igidttam
this works for me. I appreciate your help. ...
this works for me.
I appreciate your help. ThankYou
Forum: Filesystems, Disks and Memory 05-16-2007
31,160
Posted By igidttam
yes this gives me the directories. I just need...
yes this gives me the directories. I just need the file names.
thanks
Forum: Filesystems, Disks and Memory 05-16-2007
31,160
Posted By igidttam
I tried this and receiveed an error messge that...
I tried this and receiveed an error messge that stated bad option -printf

find /sasdb -printf "%s:%p\n"| sort -kin| tail -50
Forum: Filesystems, Disks and Memory 05-16-2007
31,160
Posted By igidttam
find the 5o largest files in a directory
I'm trying to find the 50 largest file in a directory named /sasdb and its' subdirectories. I'm using the find command and a pipe to awk
Not sure if I'm actually getting the largest files from...
5,641
Posted By igidttam
Thank you. this is a big help!!! I appreciate...
Thank you. this is a big help!!!
I appreciate it!
19,101
Posted By igidttam
delete files using awk
The code below works for finding files created in 2005 that are compressed.
How do I delete these files?
Do I substitute rm -f for the print $0 ?

here's the code that finds the 2005 compressed...
5,641
Posted By igidttam
how do I remove only those files tha I captured...
how do I remove only those files tha I captured using that command?
do I substitute rm -f for the print $0
5,641
Posted By igidttam
That worked! Thank you
That worked! Thank you
5,641
Posted By igidttam
delete compressed files from year 2005
I'm trying to delete files that were created/modified in the year 2005 that we compressed and have the .Z extension on them. I tried using the awk utility but the syntax is incorrect. I don't know...
6,970
Posted By igidttam
I ran your code and received the results by year....
I ran your code and received the results by year. It doesn't look correct.
I see years 2004 - 2006 have the same value. This couldn't be correct.

find . -type f -ls | nawk -v yearNOW=$(date...
6,970
Posted By igidttam
yes I realize that now. Do you know how I can...
yes I realize that now. Do you know how I can accomplish this?
6,970
Posted By igidttam
I tried your code and it doesn't total by year. ...
I tried your code and it doesn't total by year. It does it by month.
Looks like it's all the same. There should be a different number of total bytes per year


> find . -type f -ls | nawk...
6,970
Posted By igidttam
If I use this, I get the total at the end. This...
If I use this, I get the total at the end. This worked for 2003 files

ls -rRl | awk '$8=="2003" ' | du -k -a
6,970
Posted By igidttam
I'm close but I don't have it right yet. The...
I'm close but I don't have it right yet.
The code below prior to the pipe du -ks gives me all the files for 2002.
I just want the total bytes for those files for 2002

ls -rRl | awk '$8=="2002" '...
6,970
Posted By igidttam
calculate directory size by year of file
I need to calcualte the size of a directory [and all it's subdirectories] by the year the files in that directory were created [or last accessed].
For example the script will sum up, by year, the...
67,388
Posted By igidttam
I go t it to work. I needed the ls -lR. ...
I go t it to work. I needed the ls -lR.

Thanks Jim
67,388
Posted By igidttam
Thanks Jim! This works, but only gives me the...
Thanks Jim! This works, but only gives me the largest files in that directory [in my example the /cep directory]. I'm also looking for the largest files within each of the subdirectories of that...
67,388
Posted By igidttam
I changed the code a little to this find /cep...
I changed the code a little to this
find /cep -type f -print | ls -l | head
It worked, but not sure I have all the files in the subdirectories.
Can someone help me here?

Thanks
igidttam
67,388
Posted By igidttam
ZB I'm getting an error. xargs| Child...
ZB

I'm getting an error. xargs| Child killed with signal 13.
How would I get around this?
Thakn You for your help!
igidttam
67,388
Posted By igidttam
list largest files in a directory & its subdirectories
I need to find the largest files in a directory & it's subdirectories.
I'm not sure what options on ls -l will work to give me this. or is there another way to do this?
Thanks,
igidttam
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 10:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy