this post was submitted on 21 Nov 2023
695 points (97.7% liked)

Linux

48229 readers
962 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 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 year ago (6 children)

Yup. Took me weeks to figure out why I explicitly need to use sudo nvim for my nginx config on my Pi, while on my server my little helper script could automatically use sudo for me. Turns out, I chmoded the sites-available and sites-enabled on my pi to 644 but left them untouched on my server.

I still don't know what numbers would be 644 but with execute permissions, but in the end, idc.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

For those that don't know, you can use three numbers, zero through eight, with the chmod command. it takes the binary of each digit to set the permissions.

$ chmod 644
 6  |  4  |  4
110 | 100 | 100
rw- | r-- | r--
[–] [email protected] 3 points 1 year ago

with the chmid command

Nah, that command just makes the file below average quality. It's a new command added by Gen Z.

load more comments (4 replies)