03-02-2009
find /admin//dump -type f -newer t.tmp -print -exec ls -lt {} \; | pg
This looks good but I am not able to understand this command...can you explain it?
:?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to list all files that were created since 3 month ago.
it exist a unix command to do it ?
thank you (8 Replies)
Discussion started by: yacsil
8 Replies
2. Shell Programming and Scripting
Hello people,
I want to list the files & folders created/modified since a particular date say June 2006. I know I can list recursively thru the folders and use awk to extract the date column to get the desired output.
Just wanted to check whether there is an easier way to do this. Please... (2 Replies)
Discussion started by: tipsy
2 Replies
3. Shell Programming and Scripting
Hi I need to write a script to list files in a directory created within specific date and time for eg list files created between Apr 25 2007 11:00 to Apr 26 2007 18:00. and then i have to count them
Any suggestions pls ? (3 Replies)
Discussion started by: jazjit
3 Replies
4. Filesystems, Disks and Memory
Hi,
Would like to ask, which command is used to list all the files for specific date (says 1st May) and its size, for all files (including its subdirectory), in a mounted NFS disk to HP-UX.
I would like to check for the total files came into my disk on 1st May.
Very much appreciating your... (2 Replies)
Discussion started by: Draculla
2 Replies
5. Solaris
Can you please let me know the command to list the files that are created before some date, this we want to use for the following
Eg: Move all the files that got created before 2006 to new folder in Solaris (3 Replies)
Discussion started by: csreenivas
3 Replies
6. Shell Programming and Scripting
Our nightly updates run in the evening and finish around 8am. My boss wants the current log files kept on the server for 2 days, but wants anything created before noon, 2 days prior archived. I was thinking of using touch to set a temporary file with a date of today-2 and a time of noon, then... (3 Replies)
Discussion started by: prismtx
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
Discussion started by: meetusha.b
4 Replies
8. Shell Programming and Scripting
Hi,
I need a script that can search a word "Error" in last 10 Hrs generated logs in /log/App1 and /log/App2 folder..
Note these directories have massive log files ...actually our application generate 100 Log files of size 2MB in just a min so script must be fast enough to cater this I... (9 Replies)
Discussion started by: Mujtaba khan
9 Replies
9. Linux
Hi, ALL
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Best regard
MEROUAN
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies
10. Shell Programming and Scripting
Dear Gurus,
I want to check if file got created in less than 10 hrs in .ksh.
Here is my requirement
In $var5 : I'm storing file name
In $var4 I have stored : select to_char(sysdate,'YYYYMMDDHH:MM:SS') from dual;
If that file date time is less than 10 hrs, then I need to check
if less... (1 Reply)
Discussion started by: thummi9090
1 Replies
KTUTIL(8) BSD System Manager's Manual KTUTIL(8)
NAME
ktutil -- manage Kerberos keytabs
SYNOPSIS
ktutil [-k keytab | --keytab=keytab] [-v | --verbose] [--version] [-h | --help] command [args]
DESCRIPTION
ktutil is a program for managing keytabs. Supported options:
-v, --verbose
Verbose output.
command can be one of the following:
add [-p principal] [--principal=principal] [-V kvno] [--kvno=kvno] [-e enctype] [--enctype=enctype] [-w password] [--password=password] [-r]
[--random] [-s] [--no-salt] [-H] [--hex]
Adds a key to the keytab. Options that are not specified will be prompted for. This requires that you know the password or the
hex key of the principal to add; if what you really want is to add a new principal to the keytab, you should consider the get
command, which talks to the kadmin server.
change [-r realm] [--realm=realm] [--a host] [--admin-server=host] [--s port] [--server-port=port]
Update one or several keys to new versions. By default, use the admin server for the realm of a keytab entry. Otherwise it will
use the values specified by the options.
If no principals are given, all the ones in the keytab are updated.
copy keytab-src keytab-dest
Copies all the entries from keytab-src to keytab-dest.
get [-p admin principal] [--principal=admin principal] [-e enctype] [--enctypes=enctype] [-r realm] [--realm=realm] [-a admin server]
[--admin-server=admin server] [-s server port] [--server-port=server port] principal ...
For each principal, generate a new key for it (creating it if it doesn't already exist), and put that key in the keytab.
If no realm is specified, the realm to operate on is taken from the first principal.
list [--keys] [--timestamp]
List the keys stored in the keytab.
remove [-p principal] [--principal=principal] [-V -kvno] [--kvno=kvno] [-e -enctype] [--enctype=enctype]
Removes the specified key or keys. Not specifying a kvno removes keys with any version number. Not specifying an enctype removes
keys of any type.
rename from-principal to-principal
Renames all entries in the keytab that match the from-principal to to-principal.
purge [--age=age]
Removes all old versions of a key for which there is a newer version that is at least age (default one week) old.
SEE ALSO
kadmin(8)
HEIMDAL
April 14, 2005 HEIMDAL