this post was submitted on 09 Dec 2025
137 points (97.9% liked)

Linux

60426 readers
496 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I realized I always make a source folder under home and then subfolders named after programming languages to organize projects but then I realized I somehow had my own convention for how to store my source code and I have no idea where I got it from

Then I thought. what about other Linux users ?

What sorts of conventions do you have that pertains to folder structure in Linux ?

you are viewing a single comment's thread
view the rest of the comments
[–] Pika@sh.itjust.works 6 points 2 weeks ago (2 children)

I always make a ~/.local/{bin,opt,share} if the distro lacks it. and a ~/bot that I use for my development stuff

[–] RedSnt@feddit.dk 2 points 2 weeks ago (1 children)

Ahh, a ~/.local/opt folder makes so much sense. I'm currently just using a ~/.opt folder, same purpose.

[–] Pika@sh.itjust.works 2 points 2 weeks ago

yea it makes it so much easier since there's only one user in the system anyway so makes no sense for everything to be installed system level

[–] Ricaz@lemmy.dbzer0.com 1 points 2 weeks ago (1 children)
[–] Pika@sh.itjust.works 2 points 2 weeks ago

The majority of my development work is on chat bots or sites so I've always just used bot as the name