*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.
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%
Why is /usr/local/bin not writable by default? You're suposed to place there your scripts, aren't you? How do I make it writable? "sudo chmod 755 /usr/local/bin" doesn't seem to work, I can't create a new directory there, copy files, etc...
Luis Murphy
Get a normie gf and convert her. Your scripts belong to ~/bin.
Aiden Garcia
If you set the time via the date command, does it default to 12 or 24 hour time?
Gabriel Sanders
The output of date without options depends on your locale.
Josiah Hill
What If I intend to use them with more than one user?
Juan Scott
24 is standard
Eli Butler
sudo mv
Liam Taylor
i dont like girls anonn
Jeremiah Barnes
Okay.
Nathaniel Harris
if [ -e $2/"$FILE" ] then cp $FILE $2/"$FILE.JPG" echo "Duplicate Filename: $FILE" >> $2/duplicates-$timestamp.txt
This code snippet is meant to check if the file exists in the destination directory before copying, if it does, it's meant to append ".JPG". Is anyone able to spot why this condition never gets met?
James Watson
Why do I usually see people recommend using a compositor like Compton to fix screen tearing when you can enable TearFree in xorg.conf?
Adrian Ortiz
>want to completely switch to GNU/Linux >can't do it because it doesn't run important software
Seriously, all I want is to use Ansys software without any hassle. Matlab already is wonderful on GNU/Linux, why doesn't HFSS and Ansoft Designer run as well?
Welp, back to Windows.
Aiden Ortiz
Let's say I download the CentOS 6.9 ISO when systemd wasn't implemented yet and I do a yum update, does it replace the init or I'm good. Unrelated but I'm only intrested to use CentOS for web development and C# for now.
Jayden Howard
-f
Gabriel Morris
>CentOS for web development and C# It's time to turn off your computer.
Connor Long
Why?
Aaron Morris
>C# Wrong OS bruh
Mason Powell
OpenRC, SysVinit, Upstart or runit?
I know... systemd is bad.
Bentley White
>why I avoid systemd you ask? >idk man, I just think it's what clever nerds are doing these days
Henry Diaz
The last time I checked you could program C# in Linux just the same, besides that wasn't my question.
I don't want to promote it. I'm just autistic like that, but convince me, what's a good systemd OS for "work".
Currently reading the 1st edition of how linux works by brain ward. I just stumbled on "System V' Was System V any good? Apparently it was the most used init system in 2003
Colton Harris
get a better book
Bentley Price
Funtoo vs Gentoo?
David Lewis
Why though it is pretty good
Daniel Butler
System V is a registered trademark of SCO. Anyone mentioning System V must pay $699 to SCO to license use of their intellectual property. Sincerely, SCO.
>tfw none of you kids will have any idea what I'm talking about
Aaron Roberts
ahaha yeah why would the kids here have any idea about my obscure secret hipster referencing baka they dont even watch rick & morty
Dominic Green
>SCO I remember when they tried to sue Linux developers for stealing Unix code. They unironically payed some people to compare Unix and Linux code, just to come to the conclusion that Linux is basically just a kernel. heh
Christian Price
how can you even "steal" code when the source isn't available
Gabriel Edwards
If it is so bad name a good alternative
Joseph Bennett
how can you even steal if a door is locked
Adrian Jones
Publishers and lawyers like to describe copyright as “intellectual property”—a term also applied to patents, trademarks, and other more obscure areas of law. These laws have so little in common, and differ so much, that it is ill-advised to generalize about them. It is best to talk specifically about “copyright,” or about “patents,” or about “trademarks.”
The term “intellectual property” carries a hidden assumption—that the way to think about all these disparate issues is based on an analogy with physical objects, and our conception of them as physical property.
When it comes to copying, this analogy disregards the crucial difference between material objects and information: information can be copied and shared almost effortlessly, while material objects can't be.
To avoid spreading unnecessary bias and confusion, it is best to adopt a firm policy not to speak or even think in terms of “intellectual property”.
Gabriel Gonzalez
Something about Stallman's little laptops seem really comfy.
Aaron Ortiz
source?
James Gutierrez
Back in the day, the owners of commercial Unix (AT&T, Novell, SCO at various points) would license it to hardware makers to produce their own versions. Thus Sun had Solaris, IBM had AIX, etc.
The allegation was that IBM took Unix code meant for AIX and diverted it into Linux. This was complete bullshit, but it did keep SCO in the news for another couple of years after commercial Unix failed completely.
Novell owned unix at the time. SCO purchased a license and then argued in court that they had purchased unix.
Sebastian Wilson
I have a problem where my Ubuntu (17.10 right now, but it's been doing it for several releases) freezes when I write to my SSD disk, and I need to find out whether it's a software problem or if my SSD is dying on me.
I've tested the read speed like this: $ sudo hdparm -Tt /dev/mapper/sda5_crypt
/dev/mapper/sda5_crypt: Timing cached reads: 9228 MB in 2.00 seconds = 4618.04 MB/sec Timing buffered disk reads: 1190 MB in 3.00 seconds = 396.46 MB/sec
That looks like decent numbers to me, let's try writing to the disk: $ LC_ALL=C dd if=/dev/zero of=~/out.bin bs=100M count=1 1+0 records in 1+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 16.882 s, 6.2 MB/s
Wow, this is slow. It shouldn't take this long despite it being an encrypted (512 bit aes-xts-plain64) partition, right? I can't do anything while I write to the disk. I can't even move the mouse pointer.
I'm using the deadline scheduler: $ cat /sys/block/sda/queue/scheduler noop [deadline] cfq
I want to verify that this is a hardware problem, so that I don't waste money on a new SSD + adapter (ASUS connector to M.2). How do I determine the root cause?
David Peterson
chmod'ing a directory will not chmod it's contents. A directory is basically a file (which is a list of files)
Zachary Wilson
boot into a livecd environment that isn't ubuntu and run the same tests
Michael Cooper
Gentoo
Never use those recycled "but but but I know it better I promise" distros.
Carter Clark
Who owns it?
Leo Lewis
What particular live CD would you suggest?
Nicholas Garcia
>Why is /usr/local/bin not writable by default? It is, for root. >You're suposed to place there your scripts, aren't you? No, you are not supposed to put personal shit there, only system wide. >How do I make it writable? you don't. >sudo chmod 755 /usr/local/bin Jesus.
Aiden Davis
puppy is nice
Nathan Bailey
I'm planning to finaly buy a SSD, and to reinstall my OS. I'm currently using Windows Server 2008 R2 (because I was planning to use some of the functionnality). I've setup a Win10 LTSB on a small server at work, and a lot of things make me want to change completely. I have Xubuntu LTS on my laptop, it's ok but there is a lot of small things lacking (I've got a lot of problem to setup the sound for HDMi).
Almost all my program got a version for Ubuntu and Fedora, so now my only question remaining is which DE will be the less painfull to use ? Or should I just reinstall a Win7 ?
Noah Foster
lxde is ok xfce is ok too
Logan Harris
Thanks. I'll need to locate my USB stick before I can test it (fucking USB sticks, I've already bought 4 because I've misplaced the previous ones), but let's assume that I get the same results from the Puppy live CD. Is there anything else I can do to test it in that case?
Thomas Powell
stat -c '%a %A %n' /* stat -c '%a %A %n' /usr/local/bin/*
Jaxson Roberts
But he's the maker of Gentoo? Shouldn't he know better
Eli Wright
-f?
Ryder Wood
Put empty code tags before the -l. That way you can circumvent that error.
Carson Bailey
If his ideas were really better, he could have made them in Gentoo, not in another distro.
Owen Lewis
how many ppl itt actually use gentoo???
Easton Rogers
Gentoo got the ideas of Funtoo downstream (git for example).
Josiah Price
What's a good cpu for compilation? I am basically only going to use it for compilation. I have $250-350.
explain to me the pros/cons of bleeding edge vs stable Trying to decide between debian and fedora for my second machine
Andrew Morales
0
Tyler Robinson
install gentoo
Leo Watson
Firefox using Sup Forums x has been raping my computer for a couple of weeks now, even on firefox 56. When i refresh the catalog or open a new thread CPU usage and temperature spike and the page freezes for a couple of seconds. Any one else experiencing that?
Tyler Young
Install debian testing.
Joseph Rodriguez
Install Debian Sid
Adrian Smith
>systems such as debian and ubuntu edit the software - if software in a distro is 'upstream' it has minor or no edits from the maintainers of the distro - gentoo being an example of a system that is 'close to upstream'
So does this mean that gentoo will, for example, have better-optimized display drivers, or newer versions of OpenGL/Vulkan? I might switch eventually but I don't know if going full-on gentoo for my first switch is a good idea.
Andrew Johnson
usr local bin then
Benjamin James
no
Chase Martinez
Stallman's got the right idea.
Robert Howard
What does /fglt/ think about systemd?
Juan Long
>one binary to rule them all.
It sucks. It doesn't encourage newfags to read and understand shell scripts and takes away a lot of the fun of using Linux.
Bentley Wood
If I start out with just stock Ubuntu, how hard is it to completely replace Unity with XCFE or MATE or something?
Sebastian Gonzalez
Do you hide threads/posts manually? If yes, try cleaning those hidden posts (4chanx settings->filter->there is a button). If you have hundreds of those that can rape your FF hard.
David Torres
As hard as installing xubuntu-desktop (or just xfce4 xfce4-goodies) or ubuntu-mate-desktop metapackages, logging out and on the login screen selecting xfce/mate rather than unity.
PROTIP: tasksel is your friend
Ayden Robinson
On a scale from 1 to 10, I'd say 9.
Joseph Carter
GNU/Linux*
Zachary Hall
...
William Anderson
I would appreciate help from someone who's good with command line text editing. Say I have two files. File 1: This is the First line This is the Second line This is the Third line This is the Fourth line This is the Fifth line File 2: This is the Third line This is the Fourth line This is the Fifth line This is the Sixth line This is the Seventh line This is the Eighth line
How could I combine them to say File 3: This is the First line This is the Second line This is the Third line This is the Fourth line This is the Fifth line This is the Sixth line This is the Seventh line This is the Eighth line
Cooper Brooks
That isn't a his t60 is it? What laptop is he using on the picture
Jordan Ramirez
I don't understand your question completly. Are 3,4,5 duplicates? Do you want to omit them? Are the first 2 lines if file 2 empty lines?
Elijah Stewart
Stallman currently used librebooted T60, previously he has been using China-made Yeelong Lemote with China made MIPS CPU that had free as in freeedom firmware/bios
Elijah Evans
$ cat file1 This is the First line This is the Second line This is the Third line This is the Fourth line This is the Fifth line $ cat file2
This is the Third line This is the Fourth line This is the Fifth line This is the Sixth line This is the Seventh line This is the Eighth line $ sed -n 1,5p < file1; sed -n 6,8p < file2 This is the First line This is the Second line This is the Third line This is the Fourth line This is the Fifth line This is the Sixth line This is the Seventh line This is the Eighth line
Nolan Hughes
That's a nice font. Which is it?
Julian Brown
My apologies, I forgot to mention that the number of lines and the number of duplicates are arbitrary and it should just cut out all duplicates from the middle. I'm trying to pull chunks of text at a time from the amazon online reader and then combine the HTML files together.
James Wright
okay so I tried to copy Luke Smith his I3 rice and I find that a lot of stuff isn't working. I've decided to hell with it and I'm just going to build my own and dissect the handful of things I like out of his rice and what major I3 does. I already have KDE Plasma installed on this Arch system and I've always been fond of KDE so I'd like to integrate KDE software into i3, starting with Konsole because I find it very easy to change colors and can easily switch between a transparent and solid background (this would be nice for playing roguelikes.)
Is it possible to instruct i3 to launch Konsole as its terminal emulator but with a specific profile with the menu bar hidden? I tried to web search but a bunch of noobs asking how to hide the menu bar in Unity.
Chase Torres
How do I install Ubuntu on a disk where Windows 10 is already installed without grub overwriting the MBR? If I ever uninstall Ubuntu I still want to be able to boot Windows without having to fix the MBR.
Lucas Bailey
Download the alternate install ISO/mini.iso and use that. From there you can select not to install GRUB or install it to a partition or another disk rather than your main disks MBR. Just say "no" when it asks that.
You do have a plan to boot ubuntu right?
Luis Hall
>You do have a plan to boot Ubuntu right? Uhh... I don't know what that means.
Henry Nguyen
ignore that it doens't matter you said you wanted to boot windows, but said nothing on using ubuntu so made a dumb joke
Jace Sullivan
--profile file
Start Konsole using the specified profile instead of the default profile.
> t. first result of DuckDuckGo Haven't used Konsole in ages but I assume it's there in the profile options
Jayden Sullivan
You said you want to install ubuntu but don't want to install GRUB as a default bootloader for you PC. This is why I asked if you have some alternate method in mind to start Ubuntu/GRUB, and not just don't install grub then come back here crying "I installed Ubuntu without grub, now it cannot boot LOONIXTARD?!"
David Johnson
Somthing like this? $ awk '!hugebenis[$0]++' file1 file2 This is the First line This is the Second line This is the Third line This is the Fourth line This is the Fifth line This is the Sixth line This is the Seventh line This is the Eighth line