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 75 of 171
Mastering Package Management system with Dpkg
Dpkg is a low-level package management tool for Debian-based Linux systems. It provides direct control over package installation, removal, configuration, and querying through command-line parameters. Unlike higher-level tools like apt, dpkg operates directly on .deb package files and maintains the package database. Every dpkg command consists of one action parameter that tells dpkg what to do, along with optional flags that modify the behavior. Dpkg is the foundation upon which other package managers are built. Getting Help To view all available dpkg options and commands − dpkg --help This displays a comprehensive list ...
Read MoreMastering User Management on Linux
User management is a fundamental skill for Linux administrators. This article covers essential commands for creating, modifying, and deleting user accounts, managing groups, and monitoring user activities in Linux systems. In the examples below, sai is used as the username for demonstration purposes. usermod Command The usermod command modifies existing user account attributes. It allows administrators to change user properties without recreating the account. To get help information about usermod − $ usermod --help Key options include − -c, --comment COMMENT ...
Read MoreHow To Set Up and Configure NFS on Ubuntu 16.04
Network File System (NFS) is a distributed filesystem protocol that allows you to access shared folders from remote systems over a network. NFS enables you to mount remote directories as if they were local, providing a seamless way to share storage space between multiple clients across different locations. To complete this setup, you will need two Ubuntu 16.04 systems with sudo privileges connected via a private network — one acting as the NFS server and another as the NFS client. Installing NFS Server Package On the server machine, install the nfs-kernel-server package which enables directory sharing capabilities. ...
Read MoreHow to Install PlayOnLinux
Wine is a compatibility layer that allows you to run Microsoft Windows applications on Linux and other UNIX-based operating systems (macOS, FreeBSD, Solaris). PlayOnLinux is a graphical frontend for Wine that simplifies the installation and configuration of popular Windows applications and games by automatically setting up Wine environments with the correct settings and dependencies. What is PlayOnLinux PlayOnLinux provides an intuitive interface that eliminates much of the complexity involved in configuring Wine manually. It includes: Automated Scripts − Pre-configured installation scripts for hundreds of Windows applications Multiple Wine Versions − Ability to use different Wine versions ...
Read MoreHow to Install Git on Linux
Git is a popular open-source version control system that tracks changes in files and coordinates work among multiple developers. Unlike traditional version control systems like CVS or SVN, Git uses a distributed model where each developer has a complete copy of the project history. This article covers the basic steps for installing Git on Linux systems, configuring it, and creating your first repository. Git vs Traditional Version Control Systems Traditional version control systems store data as a list of files with changes made to each file over time. Git takes a different approach by thinking of data as ...
Read MoreHow To Install and Configure The Composer on Ubuntu 16.04
In this article, we will learn how to install and configure Composer, a dependency management tool for PHP. Composer facilitates the installation and update of project dependencies while ensuring appropriate versions are maintained for project requirements. Prerequisites Ubuntu 16.04 machine Non-root user with sudo privileges Installing Dependencies Before installing Composer, update your system packages: sudo apt-get update Install the required packages to run Composer: sudo apt-get install curl php-cli git -y Reading package lists... Done Building dependency tree Reading state information... Done git is already ...
Read MoreHow to Format a Hard Disk on Linux OS
In this article, we will learn how to format and configure a hard disk on Linux OS. When a new drive is installed and visible to the BIOS, it is automatically detected by the operating system. Disk drives are assigned device names beginning with hd or sd followed by a letter indicating the device order (e.g., /dev/sda, /dev/sdb). Detecting the New Hard Drive First, verify that the new drive is detected by listing all storage devices: # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 /dev/sdb This output shows that /dev/sda is divided into two partitions (/dev/sda1 ...
Read MoreHow to Find out Linux Version currently Installed on your Machine?
Are you new to Linux or Ubuntu? Do you want to know which version of Linux distribution is currently installed on your machine? This article explains various methods to identify your Linux distribution version and kernel information using simple command-line tools. Method 1: Using /etc/*-release Files The most comprehensive way to get distribution information is by examining the release files. Use the following command − $ cat /etc/*-release The sample output should be like this − DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" ...
Read MoreHow to Copy a File to Multiple Directories in Linux?
Copying a file to multiple directories simultaneously is a common task in Linux system administration. This article demonstrates several efficient methods to copy a file to multiple target directories using command-line tools like cp, xargs, and find. Method 1: Using cp with xargs The most straightforward approach combines echo, xargs, and cp to copy a file to multiple directories in one command. Basic Syntax echo dir1 dir2 dir3 | xargs -n 1 cp file1 This command works by: echo outputs the directory names separated by spaces xargs -n 1 processes one ...
Read MoreReset Kali Linux Password
Kali Linux is a Debian-derived Linux distribution designed for penetration testing and digital forensics, adopted by both hackers and security professionals. Users may find themselves unable to login due to a forgotten password or after installing Kali in a virtual environment or dual boot configuration. This article explains how to reset the Kali Linux password using the built-in recovery options. When locked out of the system, users typically encounter a login prompt where entering incorrect credentials results in access denial. Step-by-Step Password Reset Process Step 1: Access GRUB Boot Menu Reboot your Kali Linux ...
Read More