String in Python (Examples)

Example : A Python program to Reverse each character of the String word. Example : A Python program to Reverse each word of the String Sentence. Example : A Python program to check the String is Palindrome or Not. Example …

Loading

Regular Expression in Python

Definition Regular expressions (regex) are a powerful tool in Python that are used for matching desired patterns in strings/text. Features regex allow to search, match, and manipulate strings based on patterns.  We can test our regex patterns using tools like regex101.com. …

Loading

String in Python

Definition In Python, a string is a sequence of characters enclosed within single (‘ ‘), double (” “), or triple quotes (”’ ”’ or “”” “””). Strings are immutable, i.e. they cannot be changed after creation. Strings in Python are …

Loading

Daily Use IT Hacks

Slno Descriptions Links Remarks ## To Convert, Edit, Resize, Crop, Merge and Compress pdf Link1  Link2  Link3  — ## To Remove Password From a Protected pdf Link1  Link2  Link3 — ## To Type Names, Words, Sentences etc. in Hindi/Other Languages …

Loading

Class and Object (Examples)

Example : A Python program to display the Message/Values using Class and Object. Example : A Python program to display the sum of two values using Class and Object. Example : A Python program to display the sum of two …

Loading

Configuring a Firewall in Linux

Firewalls are critical for securing Linux systems by controlling incoming and outgoing network traffic based on predefined rules. A firewall is a security system that monitors and controls network traffic. Linux firewalls operate at the kernel level using Netfilter, a …

Loading

Configuring DNS Server

DNS DNS(Domain Name System) is a hierarchical system used to translate human-readable domain names (e.g., example.com) into their respective machine-readable IP addresses (e.g., 192.0.2.1). In other words, a DNS Server resolves domain names into IP addresses and vice versa. Structure/Components of …

Loading

Managing Disk Partitions

Partitioning is essential for organizing disk storage in Linux. It allows us to efficiently allocate space for the operating system, swap, data storage, and other purposes.  Disk Storage and Devices Storage devices in Linux are represented by device files: HDD/SSD: …

Loading

Permission Management

Linux permissions are a fundamental aspect of system security and user management. Basic Linux Permissions Linux employs a three-tiered permission system to control access to files and directories. Each file or directory has three main permission types: Permission Types Read …

Loading