10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm usia Raspbian, a Debian subset, and wondering what work would be involved in altering the cp command.
cp at present needs a full path and file name for source and at least full filename for destination. How can I change this so the second parameter isn't needed? So if the destination... (6 Replies)
Discussion started by: MuntyScrunt
6 Replies
2. AIX
I have to list the files of particular directory using file filter like find -name abc* something and if multiple file exist I also want time of each file up to seconds.
Currently we are getting time up to minutes in AIX is there any way I can get file last modification time up to seconds. (4 Replies)
Discussion started by: Nitesh sahu
4 Replies
3. Shell Programming and Scripting
Hi All,
I need to list the files based modification time of the files from a directory, I cannot use "ls -t" as there are lot of files, which "ls" command cannot handle. New files will land there daily. So iam looking for an alternative through "find"command.
All suggestions are welcomed.
... (6 Replies)
Discussion started by: Kesavan
6 Replies
4. Shell Programming and Scripting
Hi All
I am stuck with a problem and i want your help. I have a file in which content of that file looks like-:
<tr>
<td><A HREF="http://333.33.333.33:3333/">Pan Eligibility</A></td>
<td>NNNNNNNN_NS</td>
<td>333.33.333.33</td>
<td>3333</td>
<td><p... (7 Replies)
Discussion started by: parthmittal2007
7 Replies
5. UNIX for Advanced & Expert Users
Hi Experts,
I know my question would be strange but i need to understand how the .bash_history file is logging user actions (the mechanism) and if possible modify it to include also the date/time of every action done by the user.
Sample file:
# more .bash_history
ssh <IP address> -l axadmin... (3 Replies)
Discussion started by: Dendany83
3 Replies
6. Solaris
Dear All,
Some of the users having the same user id and group id in my /etc/passwd file.
Now I want to change the users to have a unique user id and group id.
How can we do that. If I change this will it affect the running applications.
Rgds
Rj (7 Replies)
Discussion started by: jegaraman
7 Replies
7. Shell Programming and Scripting
Hi,
I have a directory made up of many symbolic links to folders multiple file systems.
I want to return folders modified within the last 50 days, but find is using the link time rather than the target time.
find . -type d -mtime -50
Is there a way to either:
a) Make a symbolic link... (1 Reply)
Discussion started by: earls
1 Replies
8. Shell Programming and Scripting
Hi All
I have files contains rows which look like this:
2 20090721_16:58:47.173 JSUD2 JD1M1 20 IAM 966591835270 249918113182 b 3610 ACM b 3614 ACM b 3713 CPG b 3717 CPG f 5799 REL b 5815 RLC b 5817 RLC :COMMA: NCI=00,FCI=6101,CPC=0A,TMR=00,OFI=00,USI: :COMMB: BCI=1234: :RELCAUSE:10:
... (1 Reply)
Discussion started by: zanetti321
1 Replies
9. Shell Programming and Scripting
Hi All,
I would like to know the file modification time till seconds in Unix. So I tried ls -e and it worked fine. This Solaris 5.10
-rw-rw-r-- 1 test admin 22 Sep 12 11:01:37 2008 test_message
But I am not able to run the same command in SOlaris 5.6 and also in AIX/HP
Is there... (3 Replies)
Discussion started by: rahulkav
3 Replies
10. Shell Programming and Scripting
Dear all,
i have a file which contains this lines.
0-0 CC=1
0-01
0-011
0-0111
0-01110 F=500 CC=1 L=15
M=5
TRD=3948... (2 Replies)
Discussion started by: panknil
2 Replies
GFS_UTIMES(3) GFS_UTIMES(3)
NAME
gfs_utimes - set file access and modification times
SYNOPSIS
#include <gfarm/gfarm.h>
char *gfs_utimes (const char * gfarm_url, const struct gfarm_timespec * tsp);
DESCRIPTION
gfs_utimes() sets the access and modification times of the file pointed to by the gfarm_url argument to the value of the tsp argument. The
tsp argument is an array of gfarm_timespec structures. The first array member represents the access time, and the second member represents
the modification time. The gfarm_timespec structure is:
struct gfarm_timespec {
unsigned int tv_sec; /* seconds */
unsigned int tv_nsec; /* nanoseconds */
};
If the tsp argument is a null pointer, the access and modification times of the file are set to the current time.
RETURN VALUES
NULL The function terminated successfully.
GFARM_ERR_GFARM_URL_PREFIX_IS_MISSING
gfarm_url does not start with the gfarm: prefix.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
GFARM_ERR_AUTHENTICATION
User authentication failed when connecting to gfmd(8).
GFARM_ERR_PERMISSION_DENIED
gfarm_url points outside your accessible address space.
GFARM_ERR_NO_SUCH_OBJECT
gfarm_url does not exist.
Others An error except the above occurred. The reason is shown by its pointed strings.
SEE ALSO
gfs_stat(3)
Gfarm 04 December 2003 GFS_UTIMES(3)