This winter holiday season, give a precious gift to your career by upgrading your skills. | Get Flat 15 - 20% OFF on All Courses | Save Today

[iqquestion id=145]

3 thoughts on “Unix : File Systems Commands Discussion 9

  • Serge Izgorodin

    Make a copy in the same directory:
    cp_oldfilename_newfilename

    Make a copy in a different directory:
    cp_filename_destinationfolder

  • Ed Nartey

    cp filename1 filename2
    Copies files in the same directory

    cp filename1 dir1
    Copies the contents of filename1 (into a file named filename1) inside of directory dir1

    cp path of filename1 path of destination directory.

  • ranjan

    to copy file in same directory:
    cp filename newfilename

    to copy in different directory:
    cp filename foldername

Leave a Reply