01-08-2015
Hiya Don,
Thanks for the help
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hai,
i have one directory contains 100 files .each file name like xvb_dateformat.i want find which file names are xvb_lessthan or equal to currentdate.
any one give the solution.
regards (4 Replies)
Discussion started by: mallikarjuna
4 Replies
2. Solaris
Hi, im very newb in Solaris. I have install So10. Now i just try install the first software Midnight Commander and fails. I just do as follow
- i go to Sunfreeware - Freeware Open Source Software for Sun Microsystem's Solaris and get into x86-so10 link ( i use VM ware ) download these packages... (5 Replies)
Discussion started by: tien86
5 Replies
3. Linux
Hi,
My test server slows down at 12:00 midnight every day. I don't have any crons set. But I found that there are some system crons. Are they really important, can they cause any problem at 12 midnigh?
# ls cron*.*
cron.deny
cron.d:
sysstat
cron.daily:
0anacron 0logwatch cups ... (2 Replies)
Discussion started by: shantanuo
2 Replies
4. Shell Programming and Scripting
hii all.
I have to get the date of the 7th day past from the current date.
if i give the current date as sep 3 then i must get the date as 27th of august.
can we get the values from the "cal" command.
cal | awk '{print $2}' will this type of command work.
actually my need is
if today is... (17 Replies)
Discussion started by: ladtony
17 Replies
5. UNIX for Dummies Questions & Answers
When running MC in xterm or gnome-terminal, it doesn't seem to allow the use of Ctrl-enter and Ctr-shift-enter to copy marked files to the command line.
Does anyone know of another way to cause this to happen or a way to enable it under xterm/gnome-term?
With thanks,
Narnie (0 Replies)
Discussion started by: Narnie
0 Replies
6. UNIX for Dummies Questions & Answers
Hello all - I've looked and have not been able to find a "find" command that will list the last modified date of files within a specific directory and its subdirectories. If anyone knows of such a command it would be very much appreciated!
If possible, I would like to sort this output and have... (5 Replies)
Discussion started by: MichaelH3947
5 Replies
7. Fedora
We've been having issues for about a year, although thankfully they are in-frequent and randam. Meaning it happened a couple of times within a 3 month period, then stopped for a couple of months and then started again. It has happened twice now in the last month. At the stroke of midnight, ... (5 Replies)
Discussion started by: graybeard
5 Replies
8. Shell Programming and Scripting
Hi ,
In my directory , i have many days file but i want to see all those which are of todays date.
i tried this but it gives all the files
mtime -0 |ls -ltr
I tried the below option as well.
19635 find -iname "*.LOG" -mtime
19636 ls -ltr *.LOG -mtime -1
19637 ls -ltr *.LOG... (7 Replies)
Discussion started by: guddu_12
7 Replies
9. Shell Programming and Scripting
Hi Guys,
I am having a brain freeze....
I want to monitor a directory for a time stamped file on a sol 10 system in bash or ksh, the files will come in looking like this..
randomfile.DDMMYY.rpt
The problem i am having is the file can come in before or after midnight, the file will... (5 Replies)
Discussion started by: twinion
5 Replies
LEARN ABOUT DEBIAN
approx-gc
APPROX-GC(8) System Manager's Manual APPROX-GC(8)
NAME
approx-gc - garbage-collect the cache of Debian archive files
SYNOPSIS
approx-gc [OPTION]...
DESCRIPTION
approx-gc scans the cache created by approx(8) and finds files that are corrupted or no longer needed. With no options specified, these
files are listed on standard output and removed from the cache.
A corrupted file is one whose size or checksum does not match the value specified in the Packages or Sources file.
An unneeded file is one that is not referenced from any distribution's Packages or Sources file.
approx-gc may take several minutes to finish.
OPTIONS
-c file, --config file
Specify an additional configuration file. May be used multiple times.
-f, --fast
Don't perform checksum validation.
-k, --keep, -s, --simulate
Don't remove files from the cache.
-q, --quiet
Don't print file names.
-v, --verbose
Print the reason for removal of each file.
EXAMPLES
To remove all unneeded or corrupted files from the cache:
approx-gc --quiet
This is run as a weekly cron(8) job.
To list the files that would be removed from the cache, without actually doing so:
approx-gc --keep
FILES
/etc/approx/approx.conf
Configuration file for approx and related programs.
/var/cache/approx
Default cache directory for archive files.
SEE ALSO
approx.conf(5), approx(8), cron(8)
AUTHOR
Eric Cooper <ecc@cmu.edu>
May 2011 APPROX-GC(8)