Linux - Reddit – Telegram
Linux - Reddit
751 subscribers
4.17K 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
Macchina - A basic system information fetcher (written in Rust)
https://redd.it/m21ro1
@r_linux
ffmpeg vs SD capture card

I'm trying to set up an SD capture card, and figure out the right flags to watch VHS tapes through ffplay. I'm able to use ffplay to play back audio and video separately with:

$ ffplay -f alsa -i hw:CARD=CX23885:DEV=0

and

$ ffplay -f v4l2 -i 0

but I can't for the life of me figure out the command line flags to read from both devices at once. Does anyone have any tips?

https://redd.it/m26chm
@r_linux
Linux Engineer job candidates: Am I to picky with my questions ?

Hello everyone

I'm in a fight at my job with various persons (HR, other departments, Boss etc.) regarding job interview questions for a position as a Linux Engineer (SENIOR position).

I deal almost daily with environments from small to gigantic (12 - 36k+ Server/Hosts). What I mainly do is implement a monitoring solution, patching, troubleshooting, noscripting (Ansible + BASH), develop new monitoring plugins, maintain and be responsible for MySQL/MariaDB productive server, various web server and application server, security auditing, tshoot network problems etc. etc. etc.My job is typical for a consult --> many customers !

Almost 75% is direct work with Linux, 10 % organizational tasks and 15 % I deal with physical devices like 19" Servers, SAN's, NAS, Firewalls, Switches and various other stuff.

However, to get a new team member we try to hire a new Linux Engineer (not a junior).Each candidate must solve some (IMHO) base questions regarding linux and networking...specially those people who give me a feeling that they constantly lie in their CV. ...I struggle mainly with candidates who describe themselves as highly experienced gurus who can do everything on Linux and also can code in BASH, Python, PHP etc. but in reality know NOTHING (not even an if statement in whatever language) ...

Among my 15 questions (which our apprentice can solve easily) are 2 subnetting questions...

I need some basic skills in networking...like understanding vlans, tshoot IP address issues etc.I do not ask anything about vlans...I do not ask anything deep...I just want to know if a person can read a subnet mask and can (without help of any online app) calculate the ID, BC and the valid amount of hosts...I only use simple subnets like /30 or /27.

From 7 candidates, NO ONE were able to solve them (among almost everything else like SGID, what is the app behind port 3306 (people who claim they are MySQL aces)...many candidates pretend they are LPIC-1 or LPIC-2 (both do have network topics on the curriculum).

Let me show you guys my 2 subnetting q's and please give me your opinion...'cuz some folks argue with me (I say they play games with me) that my questions are to picky...(while they admit they haven't used subnetting in the last 20 years....)

Q 1:You ordered a public available IPv4 subnet. The provider assigned you the subnet 111.111.222.0/30 .How many hosts can you use in this subnet ? What is the ID and what is the BC address ?Please write down the mask in a non CIDR way.

​

Q2:

You configure a bare metal server with an IPv4 address...however, the cli complains about a bad mask error. The mask of /27 is correct ...what is the problem here and how can you solve it ?

Server-1(config-if)# ip address 209.165.200.224 255.255.255.224

Bad mask /27 for address 209.165.200.224

https://redd.it/m23b7d
@r_linux
How to port forward virtual machine created from the snap Sosumi?

Hello,

I'm running a mac virtual machine under sosumi on SolusOS. I would like to turn on port forwarding for this VM but I don't know where to begin or what commands to write. After all, I am a linux noob. I would greatly appreciate any help!

https://redd.it/m2f87j
@r_linux
Does anyone else hate building packages from source?

I swear every time someone mentions linux they say something about how you "get to" build packages from source and how it's somehow superior to downloading pre-built binaries. Usually I try to install packages from package managers, a non-insignificant amount of the time the things I want to install are 6+ months out of date. I would love to build everything from source, but EVERY time I have ever built a package from source it invariably involves manually managing a bunch of minor versions of dependencies that conflict with other installed packages, not to mention a whole slew of non-denoscriptive error messages every time the build fails. I think the MINIMUM time it has ever taken me to build something from source has involved 30+ minutes of troubleshooting. But maybe if I'm really lucky, the package will have a barely-used IRC channel where I can ask a question and after waiting two days the only response will be from someone calling me an idiot for asking.

Am I alone here? Am I doing something wrong? Does building from source always have to be a such a tedious process?

https://redd.it/m2g06w
@r_linux
vizex/vizexdf - a terminal tool to visually display disk usage and directory information (Python)

I just added a new feature to my terminal program vizex. It graphically displays disk usage and now displays directory data in the terminal by calling vizexdf and allows you to sort data, show hidden files, create an alias of your current call, and output data as CSV or JSON file.

​

Check it out, and please report if you encounter any bugs. Any feedback and contribution are appreciated!

https://redd.it/m2fudi
@r_linux
Linux Distro project I'm working on. I want to add what desktop enviroment is used for each and package manager, along with which are primarily used. Things to add welcome in the comments, I'm treating this as an open source project(I can provide the raw inkscape file,but I'll comments to file)
https://redd.it/m2ifio
@r_linux
Whatever happened to the likes of KHTML and Goanna?

Recently I've been looking to ditch Chromium and mainline Firefox, due to my disagreement with the parent companies. As it stands however, basically everything is directly forked from one of these two companies. I remember lots of work being done though for the open source community to create their own, corporate-detached web engines, the one I was most excited for being KHTML. However, there was also the semi-hard fork of Gecko with Goanna.

Whatever happened to these? Are the just slowly developing in the background? Did everyone lose interest and decide to just stick to Gecko/Servo/Blink? Even the likes of Opera dropped their in-house webengine. This concerns me because I feel that Google and Mozilla both are not above using their open source projects as bludgeons to beat those they don't like, and we've already seen Google do it. And Mozilla recently put out a post stating "We need more than deplatforming." and frankly, with their status and the arbiters of Gecko, that just doesn't bode well to me.

https://redd.it/m2i7nv
@r_linux
Can I have 2 os?

I have a laptop with Windows 10
I would like to try Linux to have a better security and privacy, bit I DO NOT want to loose my licence.
Like if I realise that I hate Linux or something, and I want to go back
Can I go back ti Windows and keep my oroginal licence?
Or even have 2 os to boot in

https://redd.it/m2m8ik
@r_linux
Just finished installing and customizing Arch Linux!

Here there's my [final result](https://imgur.com/a/fuDF83u) !

u/Joker_513 thanks for the help!

[Installation Tutorial](https://www.youtube.com/watch?v=PQgyW10xD8s)
[Customization Tutorial](https://www.youtube.com/watch?v=86ro5Q0Fi34)

https://redd.it/m2mhn3
@r_linux
Optimal first actions in personal use linux

Hey there, do you think this stuff makes sense to do after you install a linux for personal use? Feel free to contribute more in the comments!

Already in the installation procedure, if you are concerned about physical safety, then consider doing a full disk encryption "FDE" in the installation process.

Make a strong password including numbers and capitals.

Enable the firewall sudo ufw enable Restart the pc. Confirm it with sudo ufw status It should say "active".

Update the OS sudo apt update and sudo apt upgrade

Definitely use Firefox if you are concerned about privacy, and install "Ublock origin", and "HTTPS everywhere" add-ons, and max out the privacy settings in Firefox settings. Use Startpage for your search engine, and disable all the Google stuff within the browser, such as safebrowsing, the attibrutes related to Google, and also telemetry included in Firefox in the "about:config".

In case you did not do the FDE, you can still encrypt your home folder now after installation, or just use password SHA256 protected zip files to hide your sensitive intel.

Please don't use this intel to do anything stupid, rather just exercise your right for personal privacy and security.

Hope you like these, happy computing! \^\^

https://redd.it/m2nf4a
@r_linux
Know any good photo management software similar to google photos?

Just downloaded Ubuntu yesterday , and instantly fell in love . Over the last 7 hours I've been moving all my stuff from google (notes , drive , password manager, etc) , but I cant find a program that groups my photos threw faces and doggos . It also has to be easy to backup images on my phone. If it has cloud storage would be a plus , but not necessary . I also have long family videos (some in .ISO)

(sorry for the bad English)

https://redd.it/m2mdpg
@r_linux
debug linux

Any idea what's the most reasonable way to get an entire Linux install where all binaries are built with debugging symbols, not stripped, basically as much debugging enabled as possible? Seems like it would make a fun vm, or second box for exploration and testing.

https://redd.it/m2bcsr
@r_linux
Linux Mint Update Policies: LM Should Blame Themselves, Not Their Users (opinion)

Linux Mint is one of the most popular Linux distributions. From the beautiful user interface, the ease of use, it’s keeping with Ubuntu’s original installer choice of allowing users to install proprietary drivers, etc. so a novices’ system will run out of the box with little effort, and of course, it’s large selection of default software is awesome too, since it allows new users to have most everything they need right out of the gate with a new install.

I was once a long term user of Linux Mint and I also installed it on family members’ computers because of that ease of use and it’s lovely layout. It seemed to be an easy choice for new users of Linux and, even though I didn’t always agree with LM’s policies, I still recommended it to new users of Linux because of those reasons.

Well, it now seems that those policies and early decisions are coming to bite LM in the butt.

There has been some recent news about Linux Mint users failing to update and upgrade their systems, leaving them vulnerable to various exploits. (Link: https://www.ghacks.net/2021/03/01/linux-mint-team-wants-users-to-upgrade-may-enforce-some/) The creators of Linux Mint implored their users to update their computers in a recent blog post, making the very good case that these updates are necessary, which is absolutely true. But what about for all of those years Linux Mint literally scared their users out of updating their computers and made upgrading difficult if not impossible unless you were familiar or comfortable with the command line?

For those of you who don’t remember, Linux Mint for years scared their users with screens that warned their users about system instability should they update their computer.

Take this as an example. The Preferences in the Update Manager used language that would cause casual computer users to worry about what they were installing, such as updates having an “impact” on their system or “apply with caution,” and how these updates can have an “impact on sensitive parts of the system” without giving any details about what all this could mean.

I recently installed Linux Mint 18.3 in Virtualbox to take a look back at exactly what their users were greeted with. And the language is clearly meant to dissuade their users from trusting updates. And I saw the reaction first hand from people I installed LM for. They told me they were scared to apply updates out of fear that it would break something, and given LM’s verbiage I can’t blame them. I assured them that it would be OK, that I update everything and have for years, and have rarely faced any issues. So a few updates shouldn’t hurt, but my assurances didn’t seem to help much. They were still worried.

Updating the system is important but so are upgrades, which seemed to me to be the most complicated on any Linux distribution that I’ve tried. All of them had a nice graphical installer that would walk them through the process of upgrading to a newer version, but for all the years I used Linux Mint they always wanted their users to use the command line. I could never figure out why. If they are trying to target newer users, why make upgrading this complicated? Unless the goal, as with the scary language, was to dissuade their users from upgrading? I honestly can’t see any other reason to do it that way. Every other part of the system had lovely GUI components, but not the upgrade utility. You had to type a number of commands into the Terminal and remembering what it was like for me as a new Linux user, that was intimidating as hell. So it’s no wonder that so many of their users haven’t upgraded in years. Here is the upgrade process as laid out in this article: https://www.tecmint.com/upgrade-to-linux-mint-19/

I just went through all of the steps of upgrading in the virtual environment. I had to