Linux mktemp Command
Categories:
What is Linux mktemp Command?
In this tutorial we learn how to use mktemp command in Linux. mktemp command is mktemp - create a temporary file or directory
mktemp Syntax
mktemp [OPTION]... [TEMPLATE]
mktemp Examples
mktemp Command Manual / Help
We can use man
and info
command to see the manual page of mktemp command.
mktemp command also have --help
option to show list of options.
To open man page for mktemp command we can use command below. To exit man or info page you can press q
.
man mktemp
To open info page for mktemp command we can use command below.
info mktemp
To open help page from mktemp command we can run command below.
mktemp --help
Linux mktemp Command Source Code
You can find mktemp command source code from the folowing repositories:
- mktemp source code on GitHub
- mktemp source code on GNU Savannah cgit
- mktemp 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 mktemp in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.