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%
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.
Leo Sanders
Lennart Pottering is a good go- I mean guy.
Jason Rivera
Not bait, the systemD hate seems like another unsubstantiated g meme
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?
Blake Brown
did you put the shebang at the top? if so you don't need to run 'sh filename.sh'
Andrew Ross
>shebang at the top Please explain yourself
Brody Nelson
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
Josiah Miller
You're not alone.
Levi Young
chmod +x script.sh
doubleclick
Lincoln Adams
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).
Kayden Morris
>shebang but thats the hash bang
Christopher Harris
to execute it directly it must have a shebang and be made executable via chmod +x are you sure you've done these steps?
Liam Jenkins
>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'
Grayson White
autismo/10
Hudson Taylor
sha-bang
Isaiah Cox
it's systemd, not systemD and yeah, it's a blessing
Bentley Collins
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
Christian Myers
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?
Michael Flores
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
Blake Cook
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.
Hunter Gonzalez
not him, but what kind of question is even this? what kind of answer do you expect?
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
Tyler Richardson
dumb frogposter fo back to pleddit
Nathaniel Walker
Linux*
Sebastian Wilson
GNU/Linux*
Brandon Richardson
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
Isaiah Martinez
It's a flaw in UNIX, nothing systemd could fix.
Cameron Rivera
good video
Luke Perry
what's his end-game?
Jordan Torres
Doesn't it sound good?
Mason Taylor
Are you a hacker?
Wyatt Jenkins
>alice: man, "a bag of shit"?, seriously? >bob: well, I mean, yeah, I'll fix that
Owen Gray
What are the benefits of Systemd?
Jaxson Powell
> 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
Easton Foster
so the nsa knows you arent a terrorist duuh
Josiah Cox
SYSTEMD MEMES DEBUNKED SYSTEMD MEMES DEBUNKED SYSTEMD MEMES DEBUNKED
im new to linux what is systemd and why do people hate it?
Joseph Evans
>systemd botnet
Ryder King
Systemd is about choice; it's an alternative for diversity and flexibility.
Josiah Reed
to* You're the reason why nobody takes arguments against systemd serious.
Jonathan Richardson
You're the only one who doesn't
Owen Edwards
Why aren't you using Tinfoil Hat Linux?
Xavier Mitchell
Why Gantoo when you can use FreeBSD?
Christopher Robinson
why freebsd when you can netbsd
Jaxon Cooper
What are some cool security utilities?
Zachary Peterson
rkhunter
Ryan Murphy
Firejail
Adam Ross
>looking at the Creator's website for his reply is wrong >looking at shitty blogposts is right and unbiased k
Jeremiah Williams
systemd sux dud just give it up already
Justin Nguyen
>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.
Justin Allen
Because netbsd is a toy operating system.
Juan Reed
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
Jaxson Hernandez
>"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"
Bentley Cooper
>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.
Dylan Watson
It's not though.
Try harder and maybe someone will believe you
Nicholas Morales
sorry to burst your bubble but I got trips+dubs.
John Campbell
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.
Ryder Young
dub+trips checked. I've met and talked to him, he and Kay are definitively not assholes.