Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! I was wonderwing if you could help me how to measure the time needed for Ubuntu to copy a file from one place to another. Thank you very much....
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    Copy-Paste speed

    Hi! I was wonderwing if you could help me how to measure the time needed for Ubuntu to copy a file from one place to another.

    Thank you very much.

  2. #2
    Just Joined!
    Join Date
    May 2007
    Posts
    72
    Hi, and welcome,
    There is a command called time.
    Code:
    time cp /home/fred/bigfatfile /home/mabel
    should do the trick.
    There is another command called apropos
    Code:
    apropos <keyword>
    is often a quicker way of finding a useful command than asking in the forums.
    You can also
    Code:
    ls /bin | less
    and likewise for /sbin, /usr/bin and /usr/sbin to give yourself an idea of what commands are available. Then do man <command> to see what the command does.
    Code:
     man man
    is one you should do to understand the syntax of the manual pages. Most commands also have an option --help.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Use the 'time' command, as in time cp source-file-name target-file-or-dir-name
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...