10-26-2009
One of the directories might be NFS mounted from a different host that has an incorrect system clock.
9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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
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
7. 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
8. 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
9. 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
LEARN ABOUT MOJAVE
showmount
SHOWMOUNT(8) BSD System Manager's Manual SHOWMOUNT(8)
NAME
showmount -- show remote NFS mounts on host
SYNOPSIS
showmount [-Ae36] [-a | -d] [host]
DESCRIPTION
showmount shows status information about the NFS server on host. By default it prints the names of all hosts that have NFS file systems
mounted on the host. See NFS: Network File System Protocol Specification, RFC 1094, Appendix A, and NFS: Network File System Version 3
Protocol Specification, Appendix I, for a detailed description of the protocol.
-A Search for NFS servers advertised via Bonjour.
-a List all mount points in the form: host:dirpath
-d List directory paths of mount points instead of hosts.
-e Show the host's exports list.
-3 Use mount protocol Version 3, compatible with NFS Version 3.
-6 Use only IPv6 addresses to contact servers.
SEE ALSO
mount(1), mountd(8), nfsd(8), mDNSResponder(8)
BUGS
The mount daemon running on the server only has an idea of the actual mounts, since the NFS server is stateless. showmount will only display
the information as accurately as the mount daemon reports it.
HISTORY
The showmount utility first appeared in 4.4BSD.
4th Berkeley Distribution September 26, 2010 4th Berkeley Distribution