11-18-2010
stat command
Take a look at the stat command for more data that can be determined about a file. Not available in all unix flavors, but there are about 30 or so options that can be inquired.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to write a script which has to list all the files which are created before six months from now.
kindly help on this ... (7 Replies)
Discussion started by: amirthraj_12
7 Replies
2. UNIX for Dummies Questions & Answers
hi,
please give me adivse .how to find the folder size with created created date .
eg:
i have directore and in that sub directoties and so on..
/home/mud/abc/dcb/
for this i want output like this
path size date
-------------------------------------------... (3 Replies)
Discussion started by: muddasani
3 Replies
3. Shell Programming and Scripting
Hi,
I have an application which creates some directories while running. I want to delete these directories which are 4 days older.
i tried
find . type d -mtime +1 -print
And it is working fine..
but
find . type d -mtime +4 -print
is not giving any results which are 4 days... (6 Replies)
Discussion started by: Tuxidow
6 Replies
4. Shell Programming and Scripting
Hi,
I need to create new directory by increasing the number by 1 of extracted lastly created directory.
e.g.
Log\out_log_1\
Log\out_log_2\
Log\out_log_3\
become
Log\out_log_1\
Log\out_log_2\
Log\out_log_3\
Log\out_log_4\
Can anyone help how to do it in c-shell... (3 Replies)
Discussion started by: Andre_2008
3 Replies
5. Shell Programming and Scripting
Hi All,
We are copying all the files into ARCHIVE directory after we process them. We are doing this process from last 2 years, now we have a lot of files in ARCHIVE directory.
Now I need to find when the first file is copied into this directory?
If I Issue,
ls -l /ARCHIVE/*.* | tail -1... (3 Replies)
Discussion started by: Raamc
3 Replies
6. Shell Programming and Scripting
Dear All,
I want a Hp Ux command to find out the files created today in a particular directory or mountpoint.
Kindly help.
Thanks
Bhaskar (10 Replies)
Discussion started by: sudiptabhaskar
10 Replies
7. Shell Programming and Scripting
Hi All,
I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command.
find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat"
The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed.
... (3 Replies)
Discussion started by: ace_friends22
3 Replies
8. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
9. Shell Programming and Scripting
I have this situation
/u03/app/banjobs> ls -ltr icg*
82 Jun 12 10:37 iicgorldi_2419186.log
56810484 Jun 17 10:35 icgorldi_2421592.xml
2859 Jun 17 10:35 icgorldi_2421592.lis
- 125 Jun 17 10:35 icgorldi_2421592.log
82 Jun 12 10:37 iicgorldi_2419187.log
... (8 Replies)
Discussion started by: Bernardo Jarami
8 Replies
10. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
LEARN ABOUT DEBIAN
pinentry-curses
PINENTRY-CURSES(1) General Commands Manual PINENTRY-CURSES(1)
NAME
pinentry-curses - PIN or pass-phrase entry dialog for GnuPG
SYNOPSIS
pinentry-curses [OPTION...]
DESCRIPTION
pinentry-curses is a program that allows for secure entry of PINs or pass phrases. That means it tries to take care that the entered
information is not swapped to disk or temporarily stored anywhere. This functionality is particularly useful for entering pass phrases
when using encryption software such as GnuPG or e-mail clients using the same. It uses an open protocol and is therefore not tied to par-
ticular software.
pinentry-curses implements a PIN entry dialog using the curses tool kit, meaning that it is useful for users working in text mode without
the X Window System. There are other flavors that implement PIN entry dialogs that use an X tool kit. If you have installed any of the
latter programs then this program is not necessary because the X flavors automatically fall back to text mode if X is not active.
pinentry-curses is typically used internally by gpg-agent. Users don't normally have a reason to call it directly.
OPTIONS
--version
Print the program version and licensing information.
--help Print a usage message summarizing the most useful command-line options.
--debug, -d
Turn on some debugging. Mostly useful for the maintainers. Note that this may reveal sensitive information like the entered pass
phrase.
--enhanced, -e
Ask for timeouts and insurance, too. Note that this is currently not fully supported.
--no-global-grab, -g
Grab the keyboard only when the window is focused. Use this option if you are debugging software using pinentry-curses; otherwise
you may not be able to to access your X session anymore (unless you have other means to connect to the machine to kill pinen-
try-curses).
--parent-wid N
Use window ID N as the parent window for positioning the window. Note, that this is not fully supported by all flavors of pinentry.
--display STRING, --ttyname STRING, --ttytype STRING, --lc-type STRING, --lc-messages STRING
These options are used to pass localization information to pinentry-curses. They are required because pinentry-curses is usually
called by some background process which does not have any information on the locale and terminal to use. Assuan protocol options
are an alternative way to pass these information.
SEE ALSO
pinentry-gtk-2(1), pinentry-qt4(1), gpg(1), gpg-agent(1)
The full documentation for pinentry-curses is maintained as a Texinfo manual. If the pinentry-doc package is installed, the command
info pinentry
should give you access to the complete manual.
AUTHOR
This manual page was written by Peter Eisentraut for the Debian project.
27 Jan 2005 PINENTRY-CURSES(1)