/fglt/ - Friendly GNU/Linux Thread

Previous: Welcome to /fglt/ - Friendly GNU/Linux Thread.

Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
3) Go balls deep and replace everything with GNU/Linux.

Resources:
Your friendly neighborhood search engine.

$ man %command%
$ info %command%
$ help %command%
$ %command% -h
$ %command% --help

Don't know what to look for?
$ apropos %something%

Check the Wikis (most troubleshoots work for all distros):
wiki.archlinux.org
wiki.gentoo.org

Sup Forums's Wiki on GNU/Linux:
wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux

>What are some cool programs?
wiki.archlinux.org/index.php/list_of_applications
directory.fsf.org/wiki/Main_Page

>What are some cool terminal commands?
commandlinefu.com/
bropages.org/

>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/

>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html

>How to break out of the botnet?
prism-break.org/en/categories/gnu-linux

/t/'s GNU/Linux Games: /fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

Other urls found in this thread:

without-systemd.org/wiki/index.php/Arguments_against_systemd
without-gnu.org/wiki/index.php/Arguments_against_GNU
without-you.org/wiki/index.php/Arguments_against_(You)
without-redhat.org/wiki/index.php/Arguments_against_Red_Hat
bash.academy/
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/
tldp.org/LDP/Bash-Beginners-Guide/html/index.html
docs.xfce.org/xfce/thunar/hidden-settings
youtube.com/watch?v=wMvyOGawNwo
0pointer.de/blog/projects/the-biggest-myths.html
twitter.com/NSFWRedditVideo

First for friendly.

Good thread

good post

better post

good reply

best post

does it even matter what distro you use?

yes
thats why multiple distros exist

thanks for clarifing

no problem, that's why we're here

Stop lowercase posting.

oK.

Install systemd

Varg, what is your opinion on Gentoo?

Why do people hate SystemD? It works fine for me

...

Red Hat Enterprise Linux is the best distro

see

I don't know if this is the right thread for this, but what are some things I can do with my VPS? At the moment it just runs OpenVPN and H@H, and I feel like I'm not getting my money's worth.

Lennart Pottering is a good go- I mean guy.

Not bait, the systemD hate seems like another unsubstantiated g meme

>t. (((Red Hat)))

>buys vps without planning its use properly

without-systemd.org/wiki/index.php/Arguments_against_systemd

without-gnu.org/wiki/index.php/Arguments_against_GNU

I needed it for a static IP address that no one else used and that's what I use it for.

without-you.org/wiki/index.php/Arguments_against_(You)

without-redhat.org/wiki/index.php/Arguments_against_Red_Hat

Reminder to read pro-systemd articles and opinions occasionally.

I wanna suck Stallman's 12 inch penis

Think I'm gonna install Solus to learn bash/the terminal. What is some entry level reading?

bash.academy/
??
didn't really take much googling

>>Where can I learn the command line?
>mywiki.wooledge.org/BashGuide
>grymoire.com/Unix/

Also
tldp.org/LDP/Bash-Beginners-Guide/html/index.html

>bash.academy/
Sorry that I wasn't specific but I'm looking for a book since I commute a decent amount without access to the internet

Yes, I know. enspbl2asldp is more
>predictable
than eth0, anything else?

>mywiki.wooledge.org/BashGuide
This has a PDF version thanks!

Distro: Xubuntu 16.04
Is there a way I can run a .sh file containing a program by clicking on it instead of having to type sh ./.sh into the terminal?

did you put the shebang at the top? if so you don't need to run 'sh filename.sh'

>shebang at the top
Please explain yourself

top of the script write '#!/bin/sh' then it can be just invoked as ./file.sh or through the file manager, you must do 'chmod +x file.sh' also

You're not alone.

chmod +x script.sh

doubleclick

Maybe I worded it badly. The problem here is that I can open the sh file when I click on it, but I can't launch the program unless I type sh ./ in the terminal. Also I should say that this sh file is in a cdrom (which is supported by Linux).

>shebang
but thats the hash bang

to execute it directly it must have a shebang and be made executable via chmod +x
are you sure you've done these steps?

>I should say that this sh file is in a cdrom
if it's a read-only media obviously you can't chmod +x, and therefore you'll need to use `sh ./script.sh'

autismo/10

sha-bang

it's systemd, not systemD
and yeah, it's a blessing

Ah, in that case it's dependant on your file manager. Since it's Xubuntu, I assume you are using Thunar. There is a setting for what you want.
Take a look here:
docs.xfce.org/xfce/thunar/hidden-settings
Seems you want this:
xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true

If "works fine for me" is actually a valid argument for you then do you mind if I ask why you're even using GNU/Linux in the first place?

it's a bunch of bullshit and a collection of shitty blogposts, you know it don't you
take the "Systemd mounted efivarfs read-write, allowing motherboard bricking via 'rm' " in the "poor design" section. It literally wasn't a systemd bug but an UEFI bug, exploitable even from windows (!)
you faggots are going to blame systemd even for the poop in your pants

It's "magic characters".

The system has been changed so that if a file being executed
begins with the magic characters #! , the rest of the line is understood
to be the name of an interpreter for the executed file.
Previously (and in fact still) the shell did much of this job;
it automatically executed itself on a text file with executable mode
when the text file's name was typed as a command.
Putting the facility into the system gives the following
benefits.

1) It makes shell scripts more like real executable files,
because they can be the subject of 'exec.'

2) If you do a 'ps' while such a command is running, its real
name appears instead of 'sh'.
Likewise, accounting is done on the basis of the real name.

3) Shell scripts can be set-user-ID.

4) It is simpler to have alternate shells available;
e.g. if you like the Berkeley csh there is no question about
which shell is to interpret a file.

5) It will allow other interpreters to fit in more smoothly.

To take advantage of this wonderful opportunity,
put

#! /bin/sh

at the left margin of the first line of your shell scripts.
Blanks after ! are OK. Use a complete pathname (no search is done).
At the moment the whole line is restricted to 16 characters but
this limit will be raised.

not him, but what kind of question is even this? what kind of answer do you expect?

fuck off retard

Watch this youtube.com/watch?v=wMvyOGawNwo and you know once-for-all the problems with systemd without any memes.

this is cool, thanks linux torvalds

Dennis Ritchie*

...

I was hoping it would show that people have 1 standard for software they directly use on a daily basis, and another standard for software they don't ever actually use much only caring if it "just werks" regardless of well its actually coded or how elegant/flexible it is.

But maybe I'm talking to people who have no standards other than "just werks" for ANY software.
My mistake user, it won't happen again

dumb frogposter fo back to pleddit

Linux*

GNU/Linux*

maybe you were projecting too much in your loaded question, it's clear that it wasn't a "it just werks, get macOS/systemd poorfags" but a "I fail to see any issues here, it works just fine and I don't see the problem" (too often scaremongering revolving around systemd involves FUD about interoperability with old init scripts and whatnot)
rather than attacking him with passive/aggressive question you could have answered HIS question, making a point. And you failed
>won't happen again
I hope so. Take care

It's a flaw in UNIX, nothing systemd could fix.

good video

what's his end-game?

Doesn't it sound good?

Are you a hacker?

>alice: man, "a bag of shit"?, seriously?
>bob: well, I mean, yeah, I'll fix that

What are the benefits of Systemd?

> shell scripts can be suid
Whoops!
Further from that it has always been the case that the kernel looks at the first few bytes of a file to try and discover what type of file it is (eg, elf executables have ELF written there), the shebang is another insurance of this with some additional logic around grabbing the interpreter.
You can register new binary formats and their interpreters at run time using the binfmt sys files

so the nsa knows you arent a terrorist
duuh

SYSTEMD MEMES DEBUNKED
SYSTEMD MEMES DEBUNKED
SYSTEMD MEMES DEBUNKED

0pointer.de/blog/projects/the-biggest-myths.html

>listening to Lennart's propaganda

>pöttering's own site

im new to linux
what is systemd and why do people hate it?

>systemd
botnet

Systemd is about choice; it's an alternative for diversity and flexibility.

to*
You're the reason why nobody takes arguments against systemd serious.

You're the only one who doesn't

Why aren't you using Tinfoil Hat Linux?

Why Gantoo when you can use FreeBSD?

why freebsd when you can netbsd

What are some cool security utilities?

rkhunter

Firejail

>looking at the Creator's website for his reply is wrong
>looking at shitty blogposts is right and unbiased
k

systemd sux dud
just give it up already

>let's disprove something I think bad and biased with otherwise bad and biased shit

Ever heard of the "other side of the horse" think kid? Because this is exactly that. Wanna try to prove those "shitty biased" blogs wrong? Come back with unbiased, quality 3rd party opinions or go home.
PROTIP: you won't because you can't.

Because netbsd is a toy operating system.

systemd was an init system some time ago, but now it's a huge pile of garbage soft, like journald with it's binary logs, dns daemon that doesn't work properly and probably a lot more, and on top of that, the main developer is an asshole that is aparently can't understand he made a mistake or is just too lazy to fix it

>"other side of the horse"
? No, shitty and blogposts debunked countless times don't amount to anything.
>kid
k
>unbiased, quality 3rd party opinions
literally any and all major upstream is using systemd and find nothing wrong with it, that's a bunch of unbiased, quality 3rd party "opinions"

>huge pile of garbage soft, like journald with it's binary logs, dns daemon that doesn't work properly and probably a lot more
>main developer is an asshole
memes and FUD.

It's not though.

Try harder and maybe someone will believe you

sorry to burst your bubble but I got trips+dubs.

Lennart being an asshole is genuinely true, though. I imagine most systemd critics would (eventually) calm themselves down if some rational and truly knowledgeable people took over the project, even if its scope was still as big as it is now.

dub+trips checked.
I've met and talked to him, he and Kay are definitively not assholes.

wget