10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
You have a log file as attached in sample input with various operations and time taken by each of them. Write a script to find the min and max time taken for each operation. Sample output is attached.
Sample Input is given as below:
operation1,83621
operation2,72321
operation3,13288... (1 Reply)
Discussion started by: Chandan_Bose
1 Replies
2. Shell Programming and Scripting
I have unix epoch time 1441678454803, Can you please help me to print this time in below format ?
DAY,HOUR,MIN,SEC
Appreciate your help!!!
Thanks,
Prince (7 Replies)
Discussion started by: prince1987
7 Replies
3. Red Hat
My query please:
What I saw how access times of a file and directories work.
1) For a file the access time is the time when I 1st access it after last modification of the file, i.e., if the file is modified at 10 AM and then I access it at 11 AM. After than whenever I access without... (7 Replies)
Discussion started by: ravisingh
7 Replies
4. AIX
Dear All,
I'm working as a DBA and dont have much knowledge at OS level commands.we have requirement that we need find the files which has been last accessed >= apr 2010and also access date <= apr 2010 for a large set of files.Do know some commands likeistat, ls -u.But can anyone provide me the... (4 Replies)
Discussion started by: dbanrb
4 Replies
5. Shell Programming and Scripting
Hi Friends,
I want to the list the files in the folder which was access before 2 hours in Solaris.
Thanks in advance...... (3 Replies)
Discussion started by: natraj005
3 Replies
6. Shell Programming and Scripting
I am redirecting my ping output to a file. The sample output is like this:
64 bytes from xx.xx.xx.167: icmp_seq=4490 ttl=116 3.75 ms 2011Jul12- 15 40 16
64 bytes from xx.xx.xx.167: icmp_seq=4491 ttl=116 5.29 ms 2011Jul12- 15 40 17
64 bytes from xx.xx.xx.167: icmp_seq=4492 ttl=116 4.88 ms... (6 Replies)
Discussion started by: zorrox
6 Replies
7. UNIX for Dummies Questions & Answers
Hey All,
I want to get the access time of files in a directory.
I used ls -lu on a directory and picked a file that had the access time of Mar 1 and used cat to get the contents of the file. Then I used the ls -lu again and the access time changed on that file. Perfect !!
Now if I cat a... (10 Replies)
Discussion started by: vipulgupta0
10 Replies
8. Shell Programming and Scripting
Hi All,
How to get previous 5 min time stamp in hh:mm format ?
suresh (1 Reply)
Discussion started by: suresh3566
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm very new and dumb in linux. What I do is: I use putty to connect to the linux server.
I use auth.komtels.ru as a connection line
root and oP04Koh0 as a password
port 6262, and SSH protocol
now I need to get the list of the files, how could I do it? (1 Reply)
Discussion started by: linuxbeginner
1 Replies
10. HP-UX
Dear Unix Gurus,
I am very very new to UNIX.
Apreciate your advice/guidence on the following.
I have a HPUX machine and i want to copy some files from this machines to a windows shared drive.
I am not sure how to go about it.
To my little knowledge i think it is not straight... (5 Replies)
Discussion started by: nicky88
5 Replies