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
Operating System Articles
Page 48 of 171
AppArmor vs. SELinux Comprehensive Comparison
In the world of cybersecurity, there are two commonly used tools for enforcing mandatory access control (MAC) policies on Linux systems: AppArmor and SELinux. Both of these tools provide a layer of security by limiting actions that a particular process or application can take on a system. In this article, we will be taking a comprehensive look at both AppArmor and SELinux and compare their features and capabilities. Overview of AppArmor and SELinux AppArmor and SELinux are both Linux Security Modules (LSMs) that can be used to protect a system from various security threats. They are designed to ...
Read MoreAptik – A Tool to BackupRestore Your Favourite PPAs and Apps in Ubuntu
If you are a fan of Ubuntu, you know how frustrating it can be to reinstall your favorite applications and PPAs after a fresh installation. Thankfully, there is a solution to this problem. Meet Aptik − a backup and restore tool that makes reinstalling your favorite apps and PPAs a breeze. In this article, we'll explore Aptik and how you can use it to backup and restore your favorite applications and PPAs. What is Aptik? Aptik is a free, open-source tool that allows you to backup and restore your installed applications and PPAs. The tool is designed to ...
Read MoreDifference between ZFS and UFS
The file systems ZFS (Zettabyte File System) and UFS (Unix File System) are both used in Unix-based operating systems. While both have been designed to manage and store data, they have numerous fundamental differences in architecture, features, and capabilities. ZFS is a modern file system that prioritizes data integrity and provides advanced levels of data protection through features such as checksumming, snapshots, and RAID-Z. UFS is an older, traditional file system developed in the early days of Unix that focuses on simplicity and reliability but lacks many of ZFS's advanced features. What is ZFS? ZFS (Zettabyte File ...
Read More10 ‘Avconv’ Commands to Record, Convert and Extract Videos & Audios from Linux Terminal
Are you a Linux user who frequently works with video and audio files? If so, you'll want to learn about the versatile avconv tool. Avconv is a command-line utility that can record, convert, and extract videos and audios from Linux terminals. In this article, we'll explore 10 essential avconv commands that you can use to accomplish a variety of multimedia tasks. Record a Video The first avconv command we'll look at is how to record a video. This is useful when you need to capture a video of your screen or webcam. Here's the command − ...
Read More10 7zip (File Archive) Command Examples in Linux
If you're a Linux user, you probably deal with file archives frequently. Whether you're sending files to someone, backing up data, or just organizing your files, compressing them into a single file archive can save a lot of space and make things easier to manage. One tool you can use for this purpose is 7zip. In this article, we'll cover 7zip command examples in Linux that you can use to compress and extract files in various ways. What is 7zip? 7zip is a free and open-source file archiver, similar to WinZip or WinRAR on Windows. It was developed ...
Read More10 Basic Interview Questions with Answers on Linux Networking
Linux is a widely used operating system, and networking is a crucial aspect of it. The ability to understand and troubleshoot Linux networking is a valuable skill for any IT professional. In this article, we will cover some basic interview questions on Linux networking, along with their answers and examples. What is the purpose of the ifconfig command, and how is it used? The ifconfig command is used to configure and manage network interfaces on Linux. It can be used to view the current network configuration, assign IP addresses, configure network interfaces, and set other network-related parameters. Here ...
Read MoreBuild complete path in Linux by concatenate two strings?
In Linux systems, path concatenation is a common task when building complete file paths from separate directory and filename components. This process involves joining two or more path segments while handling special cases like trailing slashes, empty strings, and relative paths. Basic String Concatenation for Paths The simplest approach to combine paths is using variable substitution. Let's examine a practical example: $ my_home_dir="/home/shubh/baeldung/" $ repo_path="tutorials/linux-bash/command-line-arguments/src/main/bash" $ file_path="$my_home_dir$repo_path" $ echo $file_path /home/shubh/baeldung/tutorials/linux-bash/command-line-arguments/src/main/bash However, this basic approach can create issues with multiple consecutive slashes: $ file_path="$my_home_dir/$repo_path" $ echo $file_path /home/shubh/baeldung//tutorials/linux-bash/command-line-arguments/src/main/bash While Linux ...
Read MoreCopy a directory to an existing directory Linux?
Copying directories is one of the most common operations in Linux system administration. The cp command is typically used for this purpose, but copying a directory into an existing directory requires specific techniques to handle content merging properly. This article explores different methods to recursively copy directory contents into an existing target directory, both with and without overwriting existing files. Understanding the Problem When copying a directory to an existing directory, we need to distinguish between two scenarios: Copying directory contents − Merge files from source into target Copying the entire directory − Create a ...
Read MoreKylin Operating System
An operating system (OS) is a group of programs that controls computer hardware resources and offers standard services to software applications. The Operating System (OS) serves as a conduit between you and the computer components when you first use a computer system. The operating system is actually a type of low-level software known as a "system software, " which powers a computer's fundamental operations like memory management, task scheduling, and peripheral control. Overview and History of Kylin OS The National University of Defense Technology (NUDT) in China created the Linux-based operating system known as Kylin. Since its initial ...
Read MoreLinked List for Dynamic Partitioning
A linked list is made up of nodes, each containing a data element and a pointer to the next node in the list. In dynamic partitioning, each node represents a memory block that can be allocated to processes. The linked list initially represents the entire available memory as a single large block. Dynamic Partitioning in Memory Management Dynamic partitioning is a memory management technique that divides memory into variable-sized segments to accommodate multiple processes simultaneously. Unlike fixed partitioning, it allocates exactly the amount of memory each process needs, minimizing waste. Dynamic Memory Partitioning ...
Read More