answersLogoWhite

0

Using the `cp' command. It works in two modes, `cp source dest' for when you want to change the name of the file and `cp source... destdir/' for when you want to move the file to a different directory while keeping it's name.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Without using cp command you copy file to another file in unix?

The easiest way would be: cat file1 > file2


What are five unix commands?

cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...


What is back up and restoring in Unix?

Backup is the process of making sure there is another copy of each file in case there is a disaster. Restoring is the process of bringing back a copy of a file or directory, etc., from the backup media.


The Unix file contains which kinds of fields?

The Unix file contains which kinds of fields?


What does the acronym UUCP stand for?

Unix To Unix Copy Protocol


Option cp -p in unix commands?

To copy the file from source to target as well as preserve the permissions by writing next to cp '-p'


What is the system file in Unix?

There is no the system file. There are many files necessary to create a working Unix system.


Where would you find a host file on a unix server?

The host file in Unix is usually located in the /etc directory.


Which protocol is used to transfer files between Unix and Linux systems?

There are several protocols that could be used, depending on how you wanted to transfer the file. There are, for example:FTP - file transfer protocolTFTP - trivial file transfer protocolNFS - Network file system transferSMTP - via emailrcp - remote copy protocolSFTP - Secure File Transfer Protocolscp - secure copy


Is Unix a web browser?

Unix is a text file, not a web browser. :)


What has the author Douglas W Topham written?

Douglas W. Topham has written: 'A system V guide to UNIX and XENIX' -- subject(s): UNIX System V (Computer file), XENIX (Computer file) 'The first book of UNIX' 'UNIX and XENIX' -- subject(s): UNIX (Computer file), XENIX


How do you open a read only file in Unix?

You can open any read-only file in Unix assuming that you have the read permission. Any utility or program that can get access to that file in read mode can open it, which would include programs such as 'more', 'less', 'vi', 'cat', etc. Read-only merely means you can't change it; but you could copy it or look at it.