Basic File Operations
ls | List files in a directory |
cp | Copy a file |
mv | Rename (“move”) a file |
rm | Delete (“remove”) a file |
ln | Create links (alternative names) to a file |
One of the first things you’ll need to do on a Linux system is manipulate files: copying, renaming, deleting, and so forth.
Get Linux Pocket Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.