9 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Hi,
On server there is an one folder . which contains sub folder
Eg - TEST folder contains
test1, test2, execr ,tt (folder). also includes some text file like abc.txt psp.txt gg.log.
here iwant to create tgz file for all the folders and file in one time.
I know the command... (1 Reply)
Discussion started by: aish11
1 Replies
3. UNIX for Advanced & Expert Users
A report needs to come some what similar to this
No of elements Stream Batch No Load time
A B C D
A,B,C im able to get quite easily
wc -l /usr/local/intranet/areas/prod/output/SRGW_0?/*/MESSAGE_T.dat
O/P of above command.
A B C ... (1 Reply)
Discussion started by: peckenson
1 Replies
4. Shell Programming and Scripting
Hello all!
I'm looking to list directories and sub-directories of a path, on this forum I found this command:
find $path -type d -exec ls -ld {} \;
The issue I have is that with a simple ls, the list is listed by name, and using -t I get it by time.
How could I list directories and sub... (5 Replies)
Discussion started by: nomadvisuals
5 Replies
5. AIX
Hi guys,
Can anyone tell me how to delete hundreds of directories of particular dates at a time?
By the below command I am able to list all particular date directories but unable to delete those,
ls -ltr | sed -n '/Oct 07/p'
Please reply ASAP, thanks :) (4 Replies)
Discussion started by: teddy2882
4 Replies
6. Shell Programming and Scripting
Hi,
Can anyone please help me.
How to write shell script for taking time difference between two files which are in two different folders.
Example:
Folder1 is having sample_1_*.txt with the time 13:10 hours
Folder2 is having sample_1_*.txt with the time 13:17 hours
Now i need the time... (6 Replies)
Discussion started by: SanjayPasum
6 Replies
7. Shell Programming and Scripting
I have a file called "library" with the following content
libnxrdbmgr.a
libnxrdbmgr.so
libnxtk.a
libnxtk.so
libora0d_nsc_osi.so
I am trying to locate if these libraries are on my machine or not. find command runs for about few seconds and hangs after this.
Can someone please help me and... (3 Replies)
Discussion started by: knijjar
3 Replies
8. Shell Programming and Scripting
How do i collect Date & Time from Different Directories in a script
The script iam using for a single directory is :
ls -l | grep awk '{print $8}' (2 Replies)
Discussion started by: laknar
2 Replies
9. UNIX for Dummies Questions & Answers
Another Unix question. How would I copy multiple directories at the same time? Right now I do:
cp -r -f /directory1/ ../backup/directory1/
I do that for each directory one at a time. But there are multiple directories I'd like to copy. So instead of sitting there and doing one at a time, is... (9 Replies)
Discussion started by: JPigford
9 Replies