Linux command
Quickly backup a file
文件
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Quickly backup a file
cp file{,.bak}
说明
Useful Linux one-liner
FAQ
What is the cp command used for?
Useful Linux one-liner
How do I run a basic cp example?
Run `cp file{,.bak}` in a terminal, then adjust file names, paths, flags, or remote targets for your system.