Systems | Development | Analytics | API | Testing

Linux

Mastering the sed Command in Linux: A Comprehensive Guide

The sed command in Linux is a stream editor and a versatile text-processing tool. It allows users to efficiently transform text by parsing and modifying data from files or input streams. Whether you need to replace words, remove lines, or handle patterns, sed simplifies repetitive tasks and boosts productivity. In this blog, we will explore the basics of sed command, understand its syntax, and share practical examples to show how it makes text processing easier.

Top Linux Commands: 11 You Need to Know

If you’re a software developer, you can’t avoid Linux. Created by Linus Torvalds, Linux is the preferred OS for most servers and the environment in which many popular development tools run best. While you don’t need to know everything about Linux, learning the top Linux commands is a valuable investment of your time. With this post, you’ll have a handy guide to the Linux commands most often used.

Using Tc-Bpf Program To Redirect Dns Traffic In Docker Containers

The adoption of eBPF (Extended Berkeley Packet Filter) has revolutionized high-performance applications, tracing, security, and packet filtering within the Linux kernel. Specifically, TC-BPF, a type of eBPF program attached to the Traffic Control (TC) layer, has emerged as a powerful tool for packet manipulation in both ingress and egress. This blog delves into the practical application of TC-BPF to redirect DNS queries in a Docker environment.

Managing Go Processes

While working on an application that required executing a command to run a blocking program, such as a TCP/HTTP server, I encountered an interesting challenge. I needed a way to stop the application and its child processes when a signal was sent to the main program, such as SIGINT (Ctrl+C) or SIGTERM. This blog post shares my journey and the solutions I found to manage processes effectively in a Go application, focusing on Linux environments.

EBPF, Service Mesh And Sidecar

The operating system is like the boss of your computer, handling security, networking, and keeping an eye on what’s happening. But tweaking or improving the core part of the operating system, called the kernel, is a bit tricky because it’s mainly focused on keeping things stable and secure. Most cool new stuff usually happens outside the core system, in what we call the user space. That’s where people add extra features or functions.

Chat with Devs | Episode 1 - Kernel and Network Tracing with eBPF |

eBPF is the kernel technology for a new generation of networking, observability and security tools. This will give attendees knowledge of how eBPF can be used to trace every action taken on a running system and know what is happening inside the kernel. The main advantage of using eBPF for tracing is that you can access almost any piece of information from the Linux kernel and your applications.

How to Empty, Delete, or Rotate Log Files in Linux?

Do you know that log files in Linux can quickly consume disk space if not managed properly? This can lead to performance issues and even system crashes. Log files? What exactly are they, and why should they matter to anyone using Linux-based systems? Log files are essential components of any Linux-based system. They are text files that contain information about system events, including errors, warnings, and other important messages.

Introducing nsuv

Here at NodeSource we are focused on fixing issues for the enterprise. This includes adding functionality and features to Node.js that are useful for enterprise-level deployments but would be difficult to upstream. One is the ability to execute commands remotely on Worker threads without the addition of running the inspector, such as capturing CPU profiles or heap snapshots.