Linux - Reddit – Telegram
Linux - Reddit
761 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
iTunes Linux Clone.

Is there any iTunes clone for Linux because i have an iPod touch 4, and i am forced to use Windows to use iTunes.
I wanted to know if is there any clone of iTunes.
I wanted to use Linux and keep using my iPod.
Can you guys help me?

https://redd.it/mmc95u
@r_linux
JC v1.15.0 released - JC converts command output to JSON

Today marks a huge release for jc. Version 1.15.0 now includes a 70 parsers and dozens of new features and parsers. New parsers include: acpi, upower, /usr/bin/time, dpkg -l, rpm -qi, finger, and dir (Windows).

https://github.com/kellyjonbrazil/jc

jc JSONifies the output of many CLI tools and file-types for easier parsing in noscripts. This allows further command-line processing of output with tools like jq by piping commands:
ls -l /usr/bin | jc --ls | jq '.[] | select(.size > 50000000)'
{
"filename": "docker",
"flags": "-rwxr-xr-x",
"links": 1,
"owner": "root",
"group": "root",
"size": 68677120,
"date": "Aug 14 19:41"
}

or using the alternative "magic" syntax:
jc ls -l /usr/bin | jq '.[] | select(.size > 50000000)'
{
"filename": "docker",
"flags": "-rwxr-xr-x",
"links": 1,
"owner": "root",
"group": "root",
"size": 68677120,
"date": "Aug 14 19:41"
}


https://redd.it/mmetob
@r_linux
Get this error when shutting down (tried multiple distros)

Anyone have any ideas to fix this issue? This is with Popos. Everything works including restarts, sleep etc... but when you shut it down this happens? Thought it might just be because of PopOS so I tried Elementary OS, Manjaro and Linux Mint and all have the same/similar shut down issue. Any insight would be appreciated.

Computer is an Alienware Alpha R1

https://i.imgur.com/XKqcqsD.jpg

https://redd.it/mmfi8f
@r_linux
Linux switch simulating a network outage

Hey r/linux

I have a switch running Linux with multiple devices connected to it.

I'm attempting to simulate a network outage on one of the ports. Say the port is swp1.

I've tried with both tcand iptables

tc qdisc add dev swp1 root netem loss 100%

and

iptables -A INPUT -i swp1 -p all -j DROP

However, packets coming from and going to the device aren't dropped.

Any idea on how I can force packets going to the device on interface swp1 to drop?

https://redd.it/mmix39
@r_linux
64GB Ram on my Ryzen 7 4800h SLIMBOOK PRO X 15 is almost full with docker
https://redd.it/mmkfd6
@r_linux
xinetd on any server?

i have a tool called usbredirserver which opens and listens on a port xy. unforunatelly it doesnt support inetd. can i wrap around software which can serve xinetd? my goal is that the server loads and unloads on disconnect. i read about tools like netcat, socat which would kind of "bridge" xinetd and server, but i don't know how excatly.

any help is greatly appreciated!

https://redd.it/mmmdvf
@r_linux
Linux has a interested history. This is one of early emails from Linus that started Linux as a hobby project, now it's running on 95% of servers and phones.
https://redd.it/mmmlh3
@r_linux
I created an app to automatically track your time. (Logs the active process and app name every second). It saves into a local sqlite3. It was a school project, but I expanded upon it. Is anyone interested in me polishing it and releasing it? I do not know of any free/open alternative.
https://redd.it/mmn6nc
@r_linux
Even Apple posting april fools jokes!
https://redd.it/mmovfk
@r_linux
OMG! Pop!OS' PopShop is actually elementary AppCenter itself and not a fork of it!

Today i was browsing the system monitor and found something quite strange...

The process' name was io.elementary.appcenter, but I was running Pop!OS and moreover the icon was of PopShop too!

​

https://preview.redd.it/jxc18z4v6xr61.png?width=1366&format=png&auto=webp&s=70514048e59e9f142d0388c7a05d45e7cb9adce4

https://redd.it/mmo8g4
@r_linux
This paper used algorithm to find copypaste bug in Linux, what is the bug?

Hi I found a paper discussing a tool to find bugs introduced by copy pasting code. And they show an example (Figure 1.) where the tool has found a potential problem and marked the buggy line, but I can't see what is wrong.

Do you guys have any idea? http://opera.ucsd.edu/paper/OSDI04-CPMiner.pdf


{
...
for(iter=0; iter<numregs; iter++) {
prom
phystotal[iter].startadr = promregmemlistiter.physaddr;
prom
phystotal[iter].numbytes = promregmemlistiter.regsize;
prom
phystotal[iter].theresmore = &promphystotaliter+1;
}
...
for(iter=0; iter<numregs; iter++) {
prom
promtaken[iter].startadr = promregmemlistiter.physaddr;
prom
promtaken[iter].numbytes = promregmemlistiter.regsize;
prom
promtaken[iter].theresmore = &promphystotaliter+1; // bug
}
...
}

https://redd.it/mmrthq
@r_linux
Auto moderator is out of control

I saw a post I liked last night so I commented "nice!" Because, well.. I thought it was a good thing. I wake up this morning to a message saying my comment was removed for being inappropriate. So let me reiterate this. I respond to a post with a positive reply because I would like to see more stuff like that in the sub and it gets removed because for some reason it has been deemed "inappropriate". What in the blue hell? Do you WANT people to leave your sub? If I can't comment on something without being removed for a logical reason, why would I continue to post here? Why would anyone?

https://redd.it/mmuwit
@r_linux
Just received a spiral bound copy of the LFS installation manual from the local print shop. Got to love open source materials, super happy! Must remember to donate to the project. Anyone else got a hard copy?
https://redd.it/mmw6c3
@r_linux