65
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 28 Apr 2025
65 points (97.1% liked)
Linux
53682 readers
753 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
Personally I put scripts in
~/.local/bin/scripts/
instead of just~/.local/bin/
because I like to keep them separate from other binaries. To note: even though~/.local/bin/
is in PATH, it's subfolders are not, so if you do that you need to add thescripts
subfolder to PATH if you want to run the scripts directly.Well actually my scripts are in
mydotfilesrepo/home/.local/bin/scripts
, and I use GNU Stow to symlinkmydotfilesrepo/home
to/home/myuser/
(same formydotfilesrepo/etc/
andmydotfilesrepo/usr/
which are symlinked to/etc
and/usr
), but it's the same result. Stow is pretty cool for centralizing your configs and scripts in one repo !I've never seen
~/bin
before so I can't comment on whether it's a good idea.I dislike having top-level directories in $HOME that aren't storing media or documents. Some linux ports of games are awful for littering your homedir or Documents. Just lazy devs. Put it all in ~/.local please folks!