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
Make a directory, not a file.
Fail silently in case of error. Useful to prevent error output from being sent to standard error.
Generate the temporary file in the specified directory.
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.
Operate in "unsafe" mode and unlink the temporary file before mktemp exits. Use of this option is not recommended.
Print version information and exit.
Przykłady mktemp działanie w Słownik polecenie M
- Przykład MKTEMP użycie :
- Jak użyć System administration command. Format device as a Linux Second Extended Filesystem. You may specify the number of blocks on the device or allow mke2fs to guess co to jest.
- Przykład MKTEMP użycie :
- Jak użyć Display information about an MS-DOS filesystem. See mtools for more information definicja.
- Przykład MKTEMP użycie :
- Jak użyć ISO9660/Joliet/HFS filesystem for writing to a CD with a utility such as cdrecord . (HFS is the native Macintosh Hierarchical File System.) mkisofs takes a snapshot of a directory tree and generates co znaczy.
- Przykład MKTEMP użycie :
- Jak użyć System administration command. Display a formatted report of the current sendmail mail statistics słownik.
- Przykład MKTEMP użycie :
- Jak użyć Label an MS-DOS filesystem (maximum of 11 characters), first displaying the current label if there is one. See mtools for more information. If no label is specified, prompt the user for one znaczenie.