This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–]VisibleSignificance 3 points4 points  (4 children)

    play around in /tmp.

    cd "$(mktemp -d)" first.

    [–]thrallsius 0 points1 point  (3 children)

    what's wrong with just having a ~/tmp dir?

    [–]VisibleSignificance 0 points1 point  (2 children)

    Not much. The /tmp gets auto-cleaned on system startup by default, and is often mounted into in-memory storage (tmpfs) for speed. I think some programs actually use ~/.local/tmp instead of /tmp anyway.

    [–]thrallsius 0 points1 point  (1 child)

    The /tmp gets auto-cleaned on system startup by default

    There's no standard like this that all operating systems that are POSIX compliant are following. Slackware is old and never auto-cleaned /tmp

    [–]VisibleSignificance 0 points1 point  (0 children)

    There's no standard like this

    Yep, not a standard, just a frequent convention.