[root@rocky9 ~]# rpm -qi coreutils Name : coreutils Version : 8.32 Release : 34.el9 Architecture: x86_64 Install Date: Tue Apr 9 11:18:00 2024 Group : Unspecified Size : 5966362 License : GPLv3+ Signature : RSA/SHA256, Mon Apr 24 07:30:21 2023, Key ID 702d426d350d275d Source RPM : coreutils-8.32-34.el9.src.rpm Build Date : Mon Apr 24 07:25:45 2023 Build Host : pb-b87dc2e4-4d0e-4d7e-a608-9273f3ddebe5-b-x86-64 Packager : Rocky Linux Build System (Peridot) <releng@rockylinux.org> Vendor : Rocky Enterprise Software Foundation URL : https://www.gnu.org/software/coreutils/ Summary : A set of basic GNU tools commonly used in shell scripts Description : These are the GNU core utilities. This package is the combination of the old GNU fileutils, sh-utils, and textutils packages.
[root@rocky9 ~]# which cp alias cp='/usr/local/bin/gcp -g' /usr/local/bin/gcp [root@rocky9 ~]# which mv alias mv='/usr/local/bin/gmv -g' /usr/local/bin/gmv
[root@rocky9 ~]# cp --help Usage: /usr/local/bin/gcp [OPTION]... [-T] SOURCE DEST or: /usr/local/bin/gcp [OPTION]... SOURCE... DIRECTORY or: /usr/local/bin/gcp [OPTION]... -t DIRECTORY SOURCE... Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
Mandatory arguments to long options are mandatory for short options too. -a, --archive same as -dR --preserve=all --attributes-only don't copy the file data, just the attributes --backup[=CONTROL] make a backup of each existing destination file -b like --backup but does not accept an argument --copy-contents copy contents of special files when recursive -d same as --no-dereference --preserve=links --debug explain how a file is copied. Implies -v -f, --force if an existing destination file cannot be opened, remove it and try again (this option is ignored when the -n option is also used) -g, --progress-bar add a progress bar. Note that this doesn't work with reflink, reflink will be automatically disabled -i, --interactive prompt before overwrite (overrides a previous -n option) -H follow command-line symbolic links in SOURCE -l, --link hard link files instead of copying -L, --dereference always follow symbolic links in SOURCE -n, --no-clobber (deprecated) silently skip existing files. See also --update -P, --no-dereference never follow symbolic links in SOURCE -p same as --preserve=mode,ownership,timestamps --preserve[=ATTR_LIST] preserve the specified attributes --no-preserve=ATTR_LIST don't preserve the specified attributes --parents use full source file name under DIRECTORY -R, -r, --recursive copy directories recursively --reflink[=WHEN] control clone/CoW copies. See below --remove-destination remove each existing destination file before attempting to open it (contrast with --force) --sparse=WHEN control creation of sparse files. See below --strip-trailing-slashes remove any trailing slashes from each SOURCE argument -s, --symbolic-link make symbolic links instead of copying -S, --suffix=SUFFIX override the usual backup suffix -t, --target-directory=DIRECTORY copy all SOURCE arguments into DIRECTORY -T, --no-target-directory treat DEST as a normal file --update[=UPDATE] control which existing files are updated; UPDATE={all,none,none-fail,older(default)}. -u equivalent to --update[=older]. See below -v, --verbose explain what is being done --keep-directory-symlink follow existing symlinks to directories -x, --one-file-system stay on this file system -Z set SELinux security context of destination file to default type --context[=CTX] like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX --help display this help and exit --version output version information and exit