• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

Two Simple Questions

Hi,
Some Simple Questions:
1-What is the mean of 8 in  mount(8) command ?
2- How can i copy multiple files(located on various locations) to multiple locations with a "cp" command?

Please bring a Example for second Question.

Thanks
0
ronnie_bobo
Asked:
ronnie_bobo
  • 2
2 Solutions
 
apsivamCommented:
for you first question,
unix man pages are catgorized as follows

CAT 1 - general commands (tools and utilities)
CAT 2 - system calls and error numbers
CAT 3 - libraries
CAT 4 - devices and device drivers
CAT 5 - file formats
CAT 6 - games
CAT 7 - miscellaneous information pages
CAT 8 - system maintenance and operation commends
CAT 9 - system kernel interfaces

so 8 in the mount(8) refers that mount is categorized under system maintenance. Certain keywords may present in more that one category like printf, which presents under category 1 and 3. when issuing man printf you will get the category 1 of the printf manual if you want to see the other one you have to enter "man 3 printf". To see a list of available man pages you can use apropose command.

Regarding the second issue I hope its not possible AFAIK.

--
Cheers,
Sivam
www.emmeskay.com
0
 
ronnie_boboAuthor Commented:
thanks for your good comments.

for 2:
is this work possible
1:From Various locations to one location
or
2: From one location to various location

if yes plz bring a Example?
it have another points.



0
 
DonConsolioCommented:
2.1 yes

cp /dir1/file1 /dir2/file2 /dir3/* /destination/dir/

2.2 hmmmmmmm

for X in /dest1/name1 /dest2/name2 /dest3/name3
do
   cp /sourcedir/sourcefile $X
done



0
 
ronnie_boboAuthor Commented:
Thanks

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now