The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • The Hidden Cost of EVs: Why Your Battery Could Cost More Than Your Car in 2026

  • Jensen Huang’s Shock Exit: This Unbelievable Scandal Just Rocked Nvidia and the AI World

  • Big Walk developer House House Confirms ‘Sparing’ Use of Gen AI – Press Start

  • Baffling: How a Cyber Breach at South Korea’s Top Security Watchdog Exposed Millions

  • Wenn Ordnung den Bildschirm beruhigt: Warum klare Abläufe Casino-Unterhaltung einladender machen

  • Reddit AI Reviews: The Quiet Reshaping of Online Opinion

  • The Chilling Truth: Iran Cyberattacks Europe’s Food and Blood Supplies

  • Anthropic’s $3.4 Billion Bet on Gas: The Unseen Cost of AI’s Future

  • Tribit FlyBuds C3 Earbuds: Premium Features at a Budget-Friendly Price

  • Is AuraCam Pro’s Emotional AI a Privacy Nightmare or Security Breakthrough?

Assistive Technology
Home›Assistive Technology›How to Create New Files on Linux Using touch

How to Create New Files on Linux Using touch

By Matthew Lynch
June 6, 2023
0
Spread the love

If you’re new to the world of Linux, creating new files might seem like a daunting task. However, with the touch command, it’s actually quite easy. In this article, we’ll go over how to create new files on Linux using touch.

What is the touch command?

The touch command is used to create new files, as well as modify the modification and access times of existing files. When used to create a new file, touch will simply create an empty file with the specified filename.

Using touch to create a new file

To create a new file using touch, simply open up your terminal and type the following command:

$ touch filename

Replace “filename” with the desired name of your new file. For example, if you wanted to create a file called “example.txt”, you would type:
$ touch example.txt

Once you hit enter, the new file will be created in your current working directory.

Modifying the access and modification times
As mentioned earlier, touch can also be used to modify the access and modification times of existing files. This is useful when you need to set specific timestamps on files.

To modify the access and modification times of a file, use the following command:
$ touch -a -m file

The “-a” option will update the access time of the file, while the “-m” option will update the modification time. Again, replace “file” with the name of the file you want to modify.

Creating multiple files at once

If you need to create multiple files at once, you can use touch in conjunction with a wildcard. For example, let’s say you wanted to create three new files called “file1.txt”, “file2.txt”, and “file3.txt”. You could use the following command:
$ touch file*.txt

This command tells Linux to create any files that start with “file” and end with “.txt”.

In conclusion, using touch is a simple and quick way to create new files on Linux. It’s a useful command to know, and it can save you a lot of time and effort when working with Linux on a daily basis. 

Previous Article

How to Use AutoKey to Automate Repetitive ...

Next Article

What Is Apple’s Freeform App? (And How ...

Matthew Lynch

Related articles More from author

  • Assistive Technology

    How to Change the ‘From’ Name in Your Email

    June 10, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Turn Off Your Phone’s Bluetooth Permanently

    June 8, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Set a Default Printer in Windows 10

    June 10, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Clone Apps on Samsung Phones With Dual Messenger

    June 15, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Use the Concatenate Function in Google Sheets

    June 11, 2023
    By Matthew Lynch
  • Assistive Technology

    How to Block Someone on Snapchat

    June 12, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.