Linux touch Command
What is Linux touch Command?
In this tutorial we learn how to use touch
command in Linux. touch
command is touch - change file timestamps.
touch Syntax
touch [OPTION]... FILE...
touch Examples
touch Command Manual / Help
We can use man
and info
command to see the manual page of touch
command. touch
command also have --help
option to show list of options.
To open man page for touch
command we can use command below. To exit man or info page you can press q
.
man touch
To open info page for touch
command we can use command below.
info touch
To open help page from touch
command we can run command below.
touch --help
Linux touch Command Source Code
You can find touch
command source code from the folowing repositories:
- touch source code on GitHub
- touch source code on GNU Savannah cgit
- touch source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use touch
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.