Satish Kumar has Published 1040 Articles

Append Lines to a File in Linux

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:29:30

18K+ Views

Introduction In Linux, files are often used to store data that is either created by a program or generated by user. It is common for users to append new lines of data to existing files rather than creating new ones from scratch. This article will explain how to append lines ... Read More

Recursively List All Files in a Directory Including Symlinks

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:28:57

1K+ Views

Introduction When it comes to managing files and directories in any operating system, being able to list all files in a directory is an essential task. However, it becomes a bit more complicated when you need to recursively list all files in a directory, including symlinks. This is particularly important ... Read More

Repeat a Linux Command at a Given Interval

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:25:57

10K+ Views

Linux is a powerful operating system that offers a wide range of command-line tools for executing various tasks. One of tasks that often need to be performed is repeating a command at a given interval. This feature can be useful for several reasons, such as monitoring system performance, running scheduled ... Read More

Recursive Search and Replace in Text Files in Linux

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:25:11

2K+ Views

One of most basic and frequently performed tasks in any operating system is search and replace. This becomes even more crucial when working with text files, where multiple instances of same word or phrase may be scattered throughout document. In such cases, manually editing each instance can be both time-consuming ... Read More

Save Modifications In-Place with AWK

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:24:37

515 Views

Introduction The awk command is a versatile tool used in Unix and Linux environments for text processing and manipulation. One of its key features is ability to modify files in-place, which is particularly useful when working with large datasets. In this article, we will explore how to save modifications in-place ... Read More

CMake configure fails to find Qt5 on Linux

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:22:42

2K+ Views

Introduction CMake is an open-source cross-platform tool used for building, testing and packaging software. It is widely used in industry for its portability and ability to generate build scripts for various build systems such as make, ninja, etc. Qt is a cross-platform application development framework that is widely used in ... Read More

How to investigate which process causes wakeups during laptop sleep-mode in MacOS (or Linux)

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:20:27

1K+ Views

When a laptop goes into sleep mode, operating system tries to conserve power by stopping most processes and putting computer in a low-power state. However, sometimes a process may continue to run or periodically wake up computer, preventing it from entering a deep sleep state. This can lead to increased ... Read More

ELF executable file many zero bytes

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:19:33

346 Views

Introduction In world of computer programming, an ELF (Executable and Linkable Format) file is a binary file format used in Unix-based operating systems such as Linux, FreeBSD, and Solaris. These files contain executable code and data, which are used to launch programs and libraries. In some cases, however, ELF files ... Read More

PDF generation from XHTML in a LAMP environment

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:18:27

227 Views

The LAMP environment is widely used for web development, and it is an acronym for Linux, Apache, MySQL, and PHP. This environment is an open-source platform that is easy to use and deploy. PDF format is commonly used for sharing and exchanging documents over internet. However, generating PDF documents can ... Read More

PHP and Xvfb usage

Satish Kumar

Satish Kumar

Updated on 14-Mar-2023 16:14:56

757 Views

Introduction Xvfb stands for "X Virtual Frame Buffer" which is used to create a virtual display in memory without any attached physical display device. It allows running graphical applications without any actual graphics hardware. PHP is a server-side scripting language widely used for web development. In this article, we will ... Read More

Advertisements