Uruchomienie, wykonanie: cp [options] file1 file2 cp [options] files directory
Jak działa CP, co robi CP: Copy file1 to file2, or copy one or more files to the same names under directory. If the destination is an existing file, the file is overwritten; if the destination is an existing directory, the file is copied into the directory (the directory is not overwritten)
Dostępne opcje, wywołanie CP: Preserve attributes of original files where possible. The same as -dpr. Back up files that would otherwise be overwritten. Do not dereference symbolic links; preserve hard-link relationships between source and copy. Remove existing files in the destination. Prompt before overwriting destination files. On most systems, this flag is turned off by default except for the root user, who is normally prompted before overwriting files. Make hard links, not copies, of nondirectories. Preserve all information, including owner, group, permissions, and timestamps. Preserve intermediate directories in source. The last argument must be the name of an existing directory. For example, the command: cp --parents jphekman/book/ch1 newdir copies the file jphekman/book/ch1 to the file newdir/jphekman/book/ch1, creating intermediate directories as necessary. Copy directories recursively. Set suffix to be appended to backup files. This may also be set with the SIMPLE_BACKUP_SUFFIX environment variable. The default is ~. You need to explicitly include a period if you want one before the suffix (for example, specify .bak, not bak). Make symbolic links instead of copying. Source filenames must be absolute. Handle files that have "holes" (are defined as a certain size but have less data). always creates a sparse file, auto creates one if the input file is sparse, and never creates a non-sparse file without holes. Do not copy a file to an existing destination with the same or newer modification time. Before copying, print the name of each file. Set the type of backups made. You may also use the VERSION_CONTROL environment variable. The default is existing. Valid arguments are: Always make numbered backups. Make numbered backups of files that already have them; otherwise, make simple backups. Always make simple backups. Ignore subdirectories on other filesystems.
- Co znaczy :
- Definicja mode (permissions) of one or more files . Only the owner of a file or a privileged user may change the mode. mode can be numeric or an expression in the form of who opcode permission . who is co znaczy.
- Co znaczy :
- Definicja ownership of one or more files to newowner . newowner is either a user ID number or a login name located in /etc/passwd . chown also accepts users in the form newowner :newgroup or newowner.newgroup krzyżówka.
- Co znaczy :
- Definicja terminal N (that is, switch to /dev/ttyN ). If you have not created /dev/ttyN , it will be created when you use this command. There are keyboard shortcuts for this functionality as well. From a co to jest.
- Co znaczy :
- Definicja Change information about user password expirations. If run without any option flags, chage will prompt for values to be entered; you may also use option flags to change or view information słownik.
- Co znaczy :
- Definicja See gcc czym jest.
Użycie CP zastosowanie komendy na linii poleceńw Słownik C .