In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge of this "Linux mktemp command how to use" article, so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "Linux mktemp command how to use" article.
Linux commonly used command mktemp command is used to create a temporary file, a temporary file established by mktemp for use by shell script.
Syntax mktemp [- qu] [file name parameter] parameter:
If an error occurs during execution, no information will be displayed.
-u temporary files will be deleted before the end of mktemp.
[file name parameter] the file name parameter must be in the format "Custom name .XXXXXX".
When an instance uses the mktemp command to generate a temporary file, the file name parameter should be given in the form of "file name .XXXX", and mktemp will create a temporary file based on the file name parameter. Enter the following command at the command line prompt:
Mktemp tmp.xxxx # generate temporary files after using this command, you can use dir or ls to look at the current directory and get the following results:
Cmd@cmd-desktop:~$ mktemp tmp.xxxx # generates a temporary file cmd@cmd-desktop:~$dir # View the current directory file test testfile testfile1 tmp.3847 # generates tmp.3847, which shows that the temporary file generated is tmp.3847, where the "XXXX" in the filename parameter is replaced by four randomly generated characters.
The above is about the content of this article on "how to use Linux mktemp commands". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.