TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Linux commands

touch Linux Command

Overview

In this tutorial, we will learn about touch Linux command. This command is often used in shell scripts to create files and to modify the timestamps of the file.

touch command

touch Linux command is used to create and modify timestamps of a file on Linux systems. This command creates an empty file.

To know more about the command line switches of the command, issue the man command in the Terminal.

$ man touch

Examples

$ touch sample.txt 

This command will create an empty sample.txt file. The file would be created in the present working directory. We can specify the file path in the command.

touch create file

 

–

Linux Basic Commands Tutorial page:

https://www.testingdocs.com/linux-basic-commands-tutorial/

More Information on Ubuntu Linux:
https://ubuntu.com/

Related Posts

sudo auth log entry

Linux commands /

sudo Linux Command with Examples

Common File Commands in Linux

Linux commands /

Common File Commands in Linux

su linux command

Linux commands /

su Linux Command

ls linux command

Linux commands /

ls Linux Command with Examples

change directory Linux

Linux commands /

cd(Change Directory) Linux Command with Examples

‹ cd(Change Directory) Linux Command with Examples› ls Linux Command with Examples

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle
  • Draw Parallel Lines using Flowgorithm Graphics

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version