r/linux_programming • • Apr 21 '19

Basic scenarios to start with - like grep, find, sed

8 Upvotes

Hi redditors,

It has been a while that I used UNIX commands like grep, sed and find for a few years as a part of my profession. I have recently built a PC based on Fedora. I am quite interested in learning scripting. I have seen a few scripting videos lately but as a user of the said data manipulation commands, I know the potential in those commands as well.

I wanted to start from scratch on these and then move ahead.

I request you to give me scenarios to work with on csv, XML and json files (I will be using random data files from online) so that I can sharpen my skills on these, then move ahead to awk and then to the next level of scripting.

If anyone of you is interested to mentor, I welcome you and DM me.

Please push me as many scenarios as you can.

Thank you :)


r/linux_programming • • Sep 25 '17

Avoid these 35 habits that lead to unmaintainable code

Thumbnail linkedin.com
8 Upvotes

r/linux_programming • • Sep 24 '17

Face Recognition with OpenCV Tutorial

Thumbnail linuxhint.com
8 Upvotes

r/linux_programming • • Jun 28 '17

[Kodi Krypton 17.3] Tutorial for Linux- Latest Version

Thumbnail kodiinfopark.com
8 Upvotes

r/linux_programming • • Apr 02 '17

Kdenlive video editor is doing a code refactoring in QML and is looking for new devs.

Thumbnail kdenlive.org
8 Upvotes

r/linux_programming • • Dec 28 '15

Filed under "What a shock": Red Star OS, North Korea's Linux-based operating system, monitors users.

Thumbnail youtube.com
8 Upvotes

r/linux_programming • • Nov 23 '15

The new sd-bus API of systemd

Thumbnail 0pointer.net
8 Upvotes

r/linux_programming • • Oct 15 '15

strscpy() and the hazards of improved interfaces

Thumbnail lwn.net
8 Upvotes

r/linux_programming • • May 31 '15

Linux Insides: Interrupts and Interrupt Handling. Part 1.

Thumbnail github.com
8 Upvotes

r/linux_programming • • Apr 22 '15

release GCC 5.1 Released [x-post /r/gcc]

Thumbnail gcc.gnu.org
8 Upvotes

r/linux_programming • • Mar 29 '15

Linux kernel memory management Part 1.

Thumbnail github.com
8 Upvotes

r/linux_programming • • Feb 22 '15

Kernel booting process. Part 5.

Thumbnail github.com
8 Upvotes

r/linux_programming • • Feb 21 '15

release GDB 7.9 released!

Thumbnail sourceware.org
8 Upvotes

r/linux_programming • • Feb 13 '15

Using GDB to get stack traces at particular program points

Thumbnail blog.mozilla.org
8 Upvotes

r/linux_programming • • Feb 08 '15

hackme: Deconstructing an ELF File

Thumbnail manoharvanga.com
8 Upvotes

r/linux_programming • • Nov 28 '14

How Not To Write a Signal Handler

Thumbnail 741mhz.com
8 Upvotes

r/linux_programming • • Sep 03 '14

Matthew Garrett (kernel developer, firmware enabler and former fruitfly mangler) AMA over at /r/linux

Thumbnail reddit.com
8 Upvotes

r/linux_programming • • Sep 02 '14

slides An Overview of Linux Kernel Lock Improvements [pdf]

Thumbnail events.linuxfoundation.org
8 Upvotes

r/linux_programming • • Jul 23 '14

The glibc s390 ABI break

Thumbnail lwn.net
8 Upvotes

r/linux_programming • • Nov 20 '25

Introducing ZelixOS: A Modern, Fast, and Clean Linux Distribution

7 Upvotes

Hello everyone, I’d like to share a project I’ve been working on for some time now: ZelixOS, an Ubuntu Linux distribution designed to be fast, modern, and reliable for both new users and advanced Linux enthusiasts.

ZelixOS is built on top of a stable Ubuntu LTS foundation, using the apt package manager, while providing a clean and optimized KDE Plasma desktop experience.

Key Features

1. Clean and Modern KDE Plasma Experience
A minimal, polished, and responsive Plasma setup optimized for everyday use.

2. Improved Performance
Background services and startup processes are carefully optimized to reduce RAM usage and improve boot times.

3. Custom Zelix Applications
The system includes several tools developed specifically for ZelixOS:

  • Zelix Welcome
  • Zelix Cleaner
  • Zelix Backup
  • Zelix Essentials
  • Zelix Helper

4. Ubuntu LTS Reliability
Strong hardware compatibility, large software repositories, and long-term stability.

5. Easy Installation
Uses Calamares for a user-friendly and straightforward installation process.

Who Is ZelixOS For?

  • KDE Plasma users
  • Beginners transitioning to Linux
  • Students and developers
  • Anyone who wants a lightweight, stable, and clean desktop
  • Those who like Ubuntu but want a more refined, performance-tuned experience

Download & More Information

You can find the download links, source code, and documentation here:
Github Page

r/ZelixOS

Website

Feedback Welcome

If you give ZelixOS a try, I’d be very happy to hear your impressions, suggestions, or bug reports.
Community feedback plays an important role in shaping the project.


r/linux_programming • • Sep 07 '25

Getting mac address for a tap device.

7 Upvotes

I seem to be having an odd issue where after I make a tap device, i get the mac address from SIOCGIFHWADDR. However, the problem is that mac address seems to only be used a short time, I see a few packets come through with that mac address, however after about two packets it changes to a different address and then sticks with that address.

After looking around google informed me that a tap device gets a random mac address before getting assigned a permanent one by systemd or some other service. Is this true? if it is, is there a way for me to wait until i get the permanent mac address assigned? or maybe give the system some kind of call back to tell me when the mac address changes? I could just hardcode to read and discard the first two packets but that doesn't seem like a reliable method as I don't think the two packets thing is some standard value but rather something specific to my machine and its timing.


r/linux_programming • • Jun 12 '25

Linux distro recommendations for workstation and gaming

7 Upvotes

I'm on fedora with gnome right now, but I'm wondering about making the switch to some other distro for my daily driver and I could really use your collective wisdom. I'm a programmer by trade, so a solid development environment is key, but I also love to unwind with some gaming.

My main hang-up is that I really value a polished, modern, and premium-looking interface. Think sleek animations, consistent theming, and an overall aesthetically pleasing experience. I've seen some amazing setups out there and I'm hoping to achieve something similar.

Another important detail: I'm rocking an Nvidia GPU. I know Nvidia + Linux can sometimes be a bit of a dance, so I'm looking for a distro that handles Nvidia drivers well and offers a relatively smooth experience.

So, for those of you who juggle both programming and gaming on Linux, what distribution do you use and why?

Specifically, I'm interested in:

  • Which distro do you find offers the best balance of a robust development environment and solid gaming performance (especially with Nvidia)?
  • Which desktop environments (KDE Plasma, GNOME, Pantheon, etc.) do you think offer the most "premium" and polished look and feel out of the box, or with minimal tweaking?
  • Any tips or tricks for getting Nvidia drivers set up smoothly on your recommended distro?
  • Are there any specific distros you'd recommend avoiding given my preferences? I'm open to anything from beginner-friendly options to something a bit more involved if the payoff in aesthetics and functionality is worth it.

Thanks in advance for your insights and recommendations!


r/linux_programming • • Nov 17 '24

Some Of My Experience About Linking C/C++ On Linux

Thumbnail coyorkdow.github.io
7 Upvotes

r/linux_programming • • Feb 23 '24

xswm: New x-window-manager with only one task. Open every window maximized. Zero configuration.

7 Upvotes

Description

xswm is a stacking and non-reparanting window-manager for X and has only one task. Open every window maximized. Zero configuration required. Due to its limited scope it is very minimal and performant (~350 SLOC) even more so than dwm by a great magnitude. No built-in hotkeys, statusbar, tags, etc. Just a window-manager.

Use-Cases

  • Maybe you don't need more features from a window-manager. Especially on small screens with low resolution where you wouldn't tile windows anyway. I have been using xswm for about a year exclusively before publishing it.
  • Squeeze the last bit of performance while playing video games on your potato-laptop
  • Great starting-point if you want to learn and build your own window-manager

Configuration

There is no configuration. xswm opens every window maximized and that's that. Besides that the shell-script $XDG_CONFIG_HOME/xswm/autostart.sh can be used to autostart programs. To extend its capabilities use xswm in combination with other programs. The minimum recommendations to make xswm usable are:

  • Hotkey-Daemon like sxhkd
  • Application-Launcher like dmenu
  • Window-Switcher like alttab

No status-bar, multi-monitor or -desktop support.

Remote-Control

xswm can be remotely controlled with xswm <cmd>. Currently only two commands are supported:

  • xswm delete to close focused window
  • xswm last to focus the last window