Co robi MKTEMP użycie. Konsola template, which may be any filename with at least six Xs appended (e.

Czy przydatne?

Polecenie mktemp

Wykonanie, użycie: Generate a unique temporary filename for use in a script. The filename is based on the specified template, which may be any filename with at least six Xs appended (e.g., /tmp/mytemp.XXXXXX). mktemp replaces the Xs with the current process number and/or a unique letter combination. The file is created with mode 0600 (unless -u is specified), and the filename is written to standard output. With no template specified, the default file tmp.XXXXXXXXXX is created and the -t option is implied

Opcje wykonania mktemp w konsoli

-d

Make a directory, not a file.

-q

Fail silently in case of error. Useful to prevent error output from being sent to standard error.

-p directory

Generate the temporary file in the specified directory.

-t

Generate a path to the file rooted in a temporary directory. The directory is taken from the TMPDIR environment variable if it is set, or from the -p option. If neither is set, /tmp is used.

-u

Operate in "unsafe" mode and unlink the temporary file before mktemp exits. Use of this option is not recommended.

-V

Print version information and exit.

Przykłady mktemp działanie w Słownik polecenie M

Przykład MKTEMP użycie :
Jak użyć Mount an MS-DOS filesystem, passing the mount-arguments to mount . If no mount-arguments are specified, the device name is used. See mount and mtools for more information co znaczy.
Przykład MKTEMP użycie :
Jak użyć files and directories. The source (first column) and target (second column) determine the result (third column): Source Target Result File name (nonexistent) Rename file to name . File Existing file krzyżówka.
Przykład MKTEMP użycie :
Jak użyć administration command. Prepare swapspace on device : a disk partition or a prepared file. This command can create old and new style swap areas. The older style provides backward compatibility with 2 co to jest.
Przykład MKTEMP użycie :
Jak użyć file (a file that can send or receive data). Special files can be character files (read one character at a time), block files (read several characters at a time), or FIFO pipes (see mkfifo ). To słownik.
Przykład MKTEMP użycie :
Jak użyć targets according to dependency instructions in a description file in the current directory. By default, this file is called makefile or Makefile . Options, targets, and macro definitions can be in czym jest.