Two Simple Questions

Posted on 2005-04-30
Last Modified: 2010-04-20
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.

Question by:ronnie_bobo
    LVL 1

    Assisted Solution

    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.


    Author Comment

    thanks for your good comments.

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

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

    LVL 14

    Accepted Solution

    2.1 yes

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

    2.2 hmmmmmmm

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


    Author Comment



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now