Comments on Linux mktemp Command Tutorial for Beginners (5 Examples)

Creating temporary files or directories is a common task that many Linux command line users do. But there's a dedicated command line tool - dubbed mktemp - that lets you do this.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: costica irinel

I am a linux system admin for tge past 10 years and I never needed to create a temp file. I also never used the mktemp command. when you say that mktemp is often used, you scare away normal users.

Listen here normal linux users: mktemp is almost never needed for day to day linux usage.

By: Sale

Nice and short. Thanks.

By: tlemeron

I find it hard to believe that a linux SA has never created a temp file. Speaking as an admin for 20+ years, tmp files are a daily requirement. You only know this if you work on the command line I guess.  Working in a GUI, you probably aren't aware of what is happening on the backend.

By: Jacques Pelletier

How to use the created temp file?