Vigyata.AI
Is this your channel?

How To Create And Delete Files In Terminal Touch And Rm (FULL Guide)

7 views· 4:07· May 10, 2026

🛍️ Products Mentioned (11)

Learn the developer productivity stack I use here: https://mattbusiness.com/resources/developer-starter-toolkit/ Learn how to create and delete files in Terminal using touch and rm commands. Mastering these basic commands can significantly enhance your efficiency when working on a Mac. Stay tuned for more Terminal tutorials coming your way! #TerminalCommands #MacTips #FileManagement Timestamps: 0:00 - Introduction 0:40 - Opening Terminal 1:20 - Using Touch Command 2:40 - Using RM Command 3:30 - Final Thoughts I’ve also written this up as an article here: https://mattbusiness.com/how-to-create-delete-files-terminal-touch-rm/ ▬▬▬▬ Links & Resources ▬▬▬▬ SUBSCRIBE to my YouTube channel! ► https://www.youtube.com/@mattcrawfordentrepreneur?view_as=subscriber?sub_confirmation=1 Our huge thanks to those who continue to support the channel. If you want to help out, feel free to use my links below: 🎥 My Main Camera – https://amzn.to/3UoRxYo 🖥️ My Monitor – https://amzn.to/4a5LsWw 🎙️ Top Microphone – https://amzn.to/4bPoHcw 🔆 Key Light – https://amzn.to/3Wpw04k 💡 Softbox – https://amzn.to/3w9XlNv 🔅 Fill Light – https://amzn.to/3UoIWov 🎯 Want 7 Side Hustles You Can Start Right Now? Free guide here – https://mattbusiness.com/7-side-hustles/ 📚 The 160 Books That Changed My Life: Free eBook – https://mattbusiness.com/must-read-books ▬▬▬▬ Follow Me & Keep In Touch ▬▬▬▬ Twitter – https://twitter.com/MattACrawford Instagram – https://www.instagram.com/mattcrawfordcreator/ LinkedIn – https://www.linkedin.com/in/mattacrawford/ My personal site – https://mattbusiness.com/ ▬▬▬▬ Video Transcript ▬▬▬▬ Hey everyone, it’s Matt, and today I’m diving into how to use the Terminal for some basic tasks, specifically focusing on the touch and rm commands. If you’re not familiar with Terminal, don’t worry—I’ll guide you through it step by step. First things first, let’s get Terminal open. On your Mac, just click on the apps at the bottom of your dock and type in “Tur” or “Term” to find it. Once you see it pop up, go ahead and open it. Now that Terminal is open, I’m currently in a working directory called logos. I navigated here by changing directories; I first cded into the desktop and then into the logos folder. To check where I am, I used the pwd command, which prints the working directory. This is a handy way to confirm your current location in the file system. Next, I used the ls command to list all the files and folders in my current directory, which is another way of saying the folder. Now, let’s jump into the main topic: using the touch command to create files. To create a file, type in “touch” followed by the name of the file you want to create. For example, I’ll create a text file called file_name_1.txt. Just hit return, and voila! The text file is created in this directory. If you want to create multiple files at once, you can do that too. Just type “touch” followed by the names of the files, separated by spaces. For instance, I can create file_one.txt, file_two.txt, and file_three.txt all in one command. Now, let’s move on to the rm command, which stands for remove. If you want to delete a file, you’ll type “rm” followed by the exact name of the file. For example, to remove file_name_1.txt, just type “rm file_name_1.txt” and hit return. That will delete the file. You can also remove multiple files at once using the rm command. Just list the file names after the rm command, and it will delete them all in one go. It’s important to be careful with this command since it permanently deletes files without sending them to the trash. This video gives you a basic understanding of how to navigate the Terminal, create files, and remove them. There’s so much more you can do with Terminal, and I have plenty more videos lined up to explore those options. Using the command line can really streamline your workflow and make tasks easier. Thanks for watching! If you found this video helpful, please give it a like and subscribe for more tips and tricks.

🎬 More from Matt Crawford