Linux: Copy/Rename File

By Xah Lee. Date: .

Copy a file/dir

cp fileName newFileName
Copy a file
cp -r dirName newName
Copy a dir

Move/Rename File/Dir

mv fileName newName
Rename file, or move to a diff dir.

Directory and Files

Linux Shell Basics

Directory and Files

Compress, Archive, Download

Text Processing

User, Group, File Perm


Process, Job Control


Linux Desktop