this post was submitted on 21 Nov 2026
96 points (98.0% liked)

linuxmemes

33509 readers
720 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] akunohana@piefed.blahaj.zone 3 points 7 hours ago* (last edited 6 hours ago) (5 children)

    What's a dotfile? 🫣

    Edit: I see. I don't. Open your .bashrc (or /etc/profile if you want the settings to apply to all users) with your favorite text editor and add unset HISTFILE to disable automatic saving of command history. Similarly, add history -c to .bash_logout (or to /etc/bash.bash_logout for system wide). Reboot or logout/login or source the above files to apply immediately.

    [–] one_old_coder@piefed.social 6 points 7 hours ago* (last edited 6 hours ago) (3 children)

    A dotfile is your next rabbit hole!

    You know that dotfiles (files that begin with a dot) like .zshrc or .bash_logout can contain important scripts or configuration for your system(s). Same with all the configuration files that can be scattered in directories like .config/ or .gnome/.

    The "modern" dotfile means a configuration file that has been saved somewhere so that you can make a backup, or have the same dotfiles on all your machines.

    It's usually saved in git and on GitHub, but crazy people have written whole applications to handle those files (https://wiki.archlinux.org/title/Dotfiles#Tools). I like chezmoi, written in Go, but you have others like stow for example. Those applications handle diffs (when a file has been changed, you see the diff, you can save it or reset it), templates, multiple machines, upload to git, etc. Some applications use a hidden git repository for your files, others use hard-links. Last but not least, you can say "here are the files for Windows, and others files for Linux" if you have different machines.

    At my last job I stored on GitLab all the ZSH configuration files, CLI applications configuration, and even macOS configuration files that were in my HOME directory. If my machine ever crashed, I would have been able to restore it in a few minutes thanks to chezmoi, like: format computer, install chezmoi and git, reapply all the dotfiles as if nothing happened.

    If you want examples of what can be done, a lot of people store theirs on GitHub: https://github.com/search?q=dotfiles&type=repositories
    And this: https://github.com/webpro/awesome-dotfiles

    [–] akunohana@piefed.blahaj.zone 7 points 6 hours ago (2 children)

    Jesus Christ πŸ˜… I knew what they are, then, without knowing what they're called. But what on earth is all this managing enthusiasm surrounding them?! πŸ˜… Would one have a 100 versions of the same dotfile or what? Mind you I have three computers, manually manage a handful of dotfiles + having a backup of them. Please explain a scenario where I would need one of those honking management tools. πŸ₯Ή

    [–] Novi@piefed.social 8 points 6 hours ago

    Practice, paranoia, obsession.

    dealer's choice

    load more comments (1 replies)
    load more comments (1 replies)
    load more comments (2 replies)