Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How to move jobs to the background in the Linux system?
To move foreground jobs to the background in a Linux system, we use the bg command. This is particularly useful when you have a running process that you want to continue executing without blocking your terminal. bg (background) − The bg command resumes execution of a suspended process in the background. When a job is moved to the background, it continues running but no longer occupies the foreground of your terminal session. If no job is specified, the bg command works on the most recently suspended job. Syntax The general syntax of the bg command is as ...
Read MoreWhat is the abstract view of the components of a computer system?
A computer system consists of many resources like hardware and software, which are useful to complete a task. The common required resources are input/output devices, memory, file storage space, CPU etc. The operating system acts as a manager for all the above resources and allocates them to specific programs and users, whenever necessary to perform a particular task. Therefore, the operating system is the resource manager that means it can manage the resources of a computer system internally. The resources are processor, memory, files, and I/O devices. An operating system is the interface between the user and the ...
Read MoreWhat is the purpose of the command interpreter?
Command interpreters (also known as command-line interfaces or CLI) allow users to interact with a computer system by typing text commands. They were the primary interface until the 1970s, when graphical user interfaces became more common. However, command interpreters remain essential tools in modern computing for their power, efficiency, and flexibility. Purpose of Command Interpreters Command interpreters serve several important purposes and offer advantages over graphical interfaces in specific scenarios: Speed and Efficiency − Command interpreters provide access to a vast range of commands and operations. Typing commands is often faster than navigating through menus and ...
Read MoreHow to Use 'cat' and 'tac' Commands with Examples in Linux
The cat command is a fundamental Linux utility that reads files sequentially and displays their contents to standard output. The name is derived from its function for concatenating and listing files. The tac command (which is "cat" spelled backwards) performs a similar function but displays file contents in reverse order, printing the last line first. Basic cat Command Usage The simplest usage of cat is to display file contents: $ cat text.txt I love tutorialspoint.com This command reads the file and displays its content to stdout (standard output) on your terminal. ...
Read MoreWhat is the LD_PRELOAD Trick on Linux?
LD_PRELOAD is a powerful and advanced feature in the Linux dynamic linker that allows users to preload shared object files into the address space of a process before it starts executing. This can be used to override certain functions in the process with custom implementations or to inject additional code into the process at runtime. LD_PRELOAD is often used for debugging and testing purposes, but it can also be used for malicious purposes, such as injecting malware into processes. How LD_PRELOAD Works The LD_PRELOAD environment variable specifies a list of shared object files that the dynamic linker should ...
Read More5 Tools to Scan a Linux Server for Malware and Rootkits
As a Linux server administrator, ensuring your system remains secure from malware and rootkits is critical for protecting sensitive data and maintaining system integrity. Malicious software can compromise your server's security, steal information, or create backdoors for attackers. This article explores five essential tools that help detect and eliminate security threats on Linux servers. ClamAV ClamAV is an open-source antivirus engine designed for detecting viruses, trojans, and other malicious software. It's lightweight, regularly updated, and supports multiple file formats including compressed archives and email attachments. Installation and Basic Usage # Install ClamAV (Ubuntu/Debian) sudo apt ...
Read MoreHow to overwrite a file to hide file contents, and make original contents unrecoverable in Linux?
To overwrite file contents and make them unrecoverable in the Linux system, we use the shred command through the terminal. Unlike the standard rm command which only removes file entries from the filesystem, shred performs secure deletion by overwriting the actual data multiple times. shred − The shred command is used to securely delete files and devices. This command overwrites a file to hide its contents and optionally deletes the file, making it extremely difficult to recover using any software recovery tools in Linux/Unix systems. When we remove files using the rm command, the file data remains on ...
Read MoreHow to remove old Docker containers?
Docker allows you to remove old and stale containers that are no longer needed. You can use the docker rm or docker container rm commands to accomplish this. However, before removing containers, ensure that none are actively running, as Docker will throw an error for running containers. There is a workaround for this − you can remove Docker containers forcefully using the --force option. The Docker remove commands allow you to remove one or more containers together by specifying their container IDs or names. If you want to delete all Docker containers simultaneously, you can achieve this using sub-commands. ...
Read MoreOpen Source Operating Systems
Open Source operating systems are released under a license where the copyright holder allows others to study, change, and distribute the software to other people for any reason. These systems provide transparency, community collaboration, and freedom from licensing fees, making them popular choices for developers, researchers, and organizations. Types of Open Source Operating Systems Desktop and General-Purpose Systems Cosmos Cosmos (C# Open Source Managed Operating System) is an open source operating system written primarily in C#. Rather than being a fully-fledged operating system, Cosmos serves as a toolkit that allows developers to easily build their own ...
Read MoreCrucial Linux ls Commands to Know
When working with the Linux operating system, one of the most fundamental skills is navigating and managing files and directories. The ls command is essential for listing directory contents and forms the backbone of file system navigation. This article explores the most crucial ls commands that every Linux user should master to work more efficiently and effectively. Basic ls Command The ls command is the most basic and commonly used command in Linux. When executed without any options, it simply lists the contents of the current working directory. $ ls file1 file2 ...
Read More