Linux Terminal: Create, Move, and Delete Files with Commands
HardReset.InfoDecember 16, 20253 min9 views
3 connections·4 entities in this video→Creating Files in Linux
- 💡 Use the
touchcommand followed by the desired filename to create a single file. - ⚡ To create multiple files at once, list their names after the
touchcommand, separated by spaces (e.g.,touch file1 file2 file3).
Moving Files with the mv Command
- 🚀 The
mvcommand is used to move files or directories from a source to a destination. - 🎯 Specify the source file and the destination directory (e.g.,
mv file.txt documents/). - 🧩 You can move multiple files at once using wildcards; for example,
mv *.txt documents/will move all files ending with.txtto thedocumentsdirectory.
Deleting Files with the rm Command
- 🗑️ The
rmcommand is used to remove files. - ⚠️ To delete a single file, type
rmfollowed by the filename (e.g.,rm file.txt). - 💥 Similar to
mv, wildcards can be used withrmto delete multiple files, such asrm *.txtto remove all files ending with.txt. - 🛡️ Always double-check your commands, especially when using wildcards, to avoid accidental data loss.
Knowledge graph4 entities · 3 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover · drag to explore
4 entities
Chapters2 moments
Key Moments
Transcript14 segments
Full Transcript
Topics11 themes
What’s Discussed
LinuxTerminalFile ManagementCreate FilesMove FilesDelete Filestouch commandmv commandrm commandWildcardsCommand Line Interface
Smart Objects4 · 3 links
Media· 1
Concepts· 3