4 ms·
It includes hostname too. You can only get a collision if you do all of the following within one second: 1. Start an interactive shell. 2. Enter a command you
by michaelhoffman 11y ago
It includes hostname too. You can only get a collision if you do all of the following within one second:
1. Start an interactive shell.
2. Enter a command you want saved.
3. Exit this shell.
4. Start another shell.
5. Be unlucky such that the new shell has the same PID as the previous one.
This is not something to worry about.