Linux Operating System (Linux ऑपरेटिंग सिस्टम)
Learn Linux in simple English and Hindi. This guide introduces Linux, its distributions, desktop interface, software installation, terminal commands, file system, security, backups, and troubleshooting.
आसान अंग्रेज़ी और हिंदी में Linux सीखें। इस लेख में Linux का परिचय, इसके अलग-अलग संस्करण, डेस्कटॉप, सॉफ्टवेयर इंस्टॉल करना, टर्मिनल कमांड, फाइल सिस्टम, सुरक्षा, बैकअप और समस्याओं को ठीक करना समझाया गया है।
- What is Linux? / Linux क्या है?
- Why Linux? / Linux क्यों?
- Why Learn Linux? / Linux क्यों सीखें?
- Linux Distributions / Linux के वितरण
- Linux GUI and Desktop / Linux का ग्राफिकल डेस्कटॉप
- Customizing the Desktop / डेस्कटॉप को कस्टमाइज़ करना
- Built-in Apps / पहले से उपलब्ध ऐप
- Installing Software / सॉफ्टवेयर इंस्टॉल करना
- Terminal Commands / टर्मिनल कमांड
- Linux File System / Linux फाइल सिस्टम
- File and Folder Management / फाइल और फोल्डर प्रबंधन
- Installing Drivers / ड्राइवर इंस्टॉल करना
- Security and Updates / सुरक्षा और अपडेट
- Backing Up Files / फाइलों का बैकअप
- Troubleshooting / समस्याओं को ठीक करना
1. What Is Linux? / Linux क्या है?
Linux is an open-source, Unix-like operating system. Unlike Windows or macOS, Linux is generally free to use, modify, and distribute. It was originally created by Linus Torvalds in 1991. Linux is used on personal computers, servers, smartphones, and supercomputers.
Linux एक ओपन-सोर्स और Unix जैसा ऑपरेटिंग सिस्टम है। Windows या macOS के विपरीत, Linux को सामान्यतः मुफ्त में इस्तेमाल, संशोधित और वितरित किया जा सकता है। इसे Linus Torvalds ने 1991 में शुरू किया था। Linux का उपयोग पर्सनल कंप्यूटर, सर्वर, स्मार्टफोन और सुपरकंप्यूटर में होता है।
Android, Linux kernel पर आधारित है, लेकिन यह सामान्य Linux डेस्कटॉप वितरण जैसा पूरी तरह समान सिस्टम नहीं है।
2. Why Linux? / Linux क्यों?
Open-source: Its source code is available to inspect, customize, and improve.
ओपन-सोर्स: इसका सोर्स कोड देखा, अपनी जरूरत के अनुसार बदला और बेहतर बनाया जा सकता है।
Cost-effective: Many Linux distributions can be used without paying a licence fee.
कम खर्च: Linux के कई वितरण बिना लाइसेंस शुल्क दिए इस्तेमाल किए जा सकते हैं।
Security: Linux provides user permissions and security tools. Like every operating system, it still needs updates and safe usage.
सुरक्षा: Linux में यूज़र परमिशन और सुरक्षा टूल उपलब्ध हैं। दूसरे ऑपरेटिंग सिस्टम की तरह इसे भी अपडेट करना और सुरक्षित तरीके से इस्तेमाल करना जरूरी है।
Flexibility: Linux can be configured for desktop use, servers, development, and many other tasks.
लचीलापन: Linux को डेस्कटॉप, सर्वर, प्रोग्रामिंग और कई अन्य कामों के लिए सेट किया जा सकता है।
3. Why Learn Linux? / Linux क्यों सीखें?
Linux is used in web hosting, embedded systems, cloud computing, and high-performance computing.
Linux का उपयोग वेब होस्टिंग, एम्बेडेड सिस्टम, क्लाउड कंप्यूटिंग और हाई-परफॉर्मेंस कंप्यूटिंग में किया जाता है।
Linux skills can be useful in system administration, software development, cloud support, and cybersecurity. Learning terminal commands also helps you manage a computer more directly.
Linux का ज्ञान सिस्टम एडमिनिस्ट्रेशन, सॉफ्टवेयर डेवलपमेंट, क्लाउड सपोर्ट और साइबर सिक्योरिटी जैसे क्षेत्रों में उपयोगी हो सकता है। टर्मिनल कमांड सीखने से कंप्यूटर को सीधे कमांड देकर मैनेज करना भी आसान होता है।
4. Linux Distributions (Distros) / Linux के वितरण
What is a Distribution? / वितरण क्या है?
A Linux distribution is a complete operating-system package built around the Linux kernel. It usually includes system tools, software installation tools, drivers, and a desktop interface or server software.
Linux वितरण, Linux kernel पर आधारित एक पूरा ऑपरेटिंग सिस्टम पैकेज होता है। इसमें आमतौर पर सिस्टम टूल, सॉफ्टवेयर इंस्टॉल करने के टूल, ड्राइवर और डेस्कटॉप इंटरफेस या सर्वर सॉफ्टवेयर शामिल होते हैं।
Popular Linux Distributions / लोकप्रिय Linux वितरण
Ubuntu: Beginner-friendly, with a large user community and broad software support.
Ubuntu: शुरुआती उपयोगकर्ताओं के लिए सुविधाजनक है। इसके यूज़र समुदाय और सॉफ्टवेयर सपोर्ट काफी बड़े हैं।
Linux Mint: Known for an interface that many Windows users find familiar.
Linux Mint: इसका इंटरफेस कई Windows उपयोगकर्ताओं को परिचित लगता है।
Fedora: Often provides newer technologies and is popular with developers.
Fedora: इसमें नई तकनीकें जल्दी मिल सकती हैं और डेवलपर इसका उपयोग करते हैं।
Debian: Known for stability and widely used as a base for servers and other distributions.
Debian: यह स्थिरता के लिए जाना जाता है और सर्वर तथा दूसरे वितरणों के आधार के रूप में इस्तेमाल होता है।
CentOS: CentOS Linux historically provided a community-built platform related to Red Hat Enterprise Linux. Current CentOS Stream is a rolling development platform, so check the exact version and purpose before choosing it.
CentOS: पहले CentOS Linux, Red Hat Enterprise Linux से संबंधित समुदाय द्वारा बनाया गया सिस्टम था। वर्तमान CentOS Stream एक निरंतर विकसित होने वाला प्लेटफॉर्म है। इसलिए इसे चुनने से पहले इसके संस्करण और उपयोग की जांच करें।
Choosing a Distribution / सही वितरण चुनना
For many beginners, Ubuntu or Linux Mint is a practical starting point because both have user-friendly interfaces and extensive community help.
कई शुरुआती उपयोगकर्ताओं के लिए Ubuntu या Linux Mint से शुरुआत करना उपयोगी है, क्योंकि इनके इंटरफेस आसान हैं और मदद के लिए बड़ा यूज़र समुदाय उपलब्ध है।
5. How to Use the Linux GUI? / Linux GUI का उपयोग कैसे करें?
A Graphical User Interface (GUI) lets you use the computer with windows, icons, menus, and a mouse. Linux desktop environments include GNOME, KDE Plasma, XFCE, and Cinnamon.
Graphical User Interface (GUI) में विंडो, आइकन, मेनू और माउस की मदद से कंप्यूटर चलाया जाता है। Linux में GNOME, KDE Plasma, XFCE और Cinnamon जैसे डेस्कटॉप एनवायरनमेंट उपलब्ध हैं।
Login Screen: After the system starts, sign in with your user account to open the desktop.
लॉगिन स्क्रीन: कंप्यूटर शुरू होने के बाद अपने यूज़र अकाउंट से लॉगिन करें। इसके बाद डेस्कटॉप खुलेगा।
Desktop Interface: The desktop may contain panels or taskbars, icons, application menus, and system indicators. Its appearance depends on the desktop environment.
डेस्कटॉप इंटरफेस: डेस्कटॉप पर पैनल या टास्कबार, आइकन, ऐप मेनू और सिस्टम संकेत दिखाई दे सकते हैं। इनका रूप चुने गए डेस्कटॉप एनवायरनमेंट पर निर्भर करता है।
Common Desktop Environments / सामान्य डेस्कटॉप एनवायरनमेंट
GNOME: A modern, simple interface with an Activities overview; commonly used by Ubuntu.
GNOME: आधुनिक और सरल इंटरफेस है, जिसमें Activities overview मिलता है। Ubuntu में इसका उपयोग आम है।
KDE Plasma: Highly customizable and can provide a traditional desktop layout.
KDE Plasma: इसे बहुत हद तक अपनी पसंद के अनुसार बदला जा सकता है और इसमें पारंपरिक डेस्कटॉप जैसा लेआउट मिल सकता है।
XFCE: Lightweight and suitable for older or lower-resource computers.
XFCE: यह हल्का डेस्कटॉप है और पुराने या कम क्षमता वाले कंप्यूटरों के लिए उपयोगी हो सकता है।
Cinnamon: Offers a familiar, traditional desktop experience and is associated with Linux Mint.
Cinnamon: यह परिचित और पारंपरिक डेस्कटॉप अनुभव देता है। इसका उपयोग Linux Mint में होता है।
LXDE/LXQt: Lightweight desktop environments designed for systems with limited resources.
LXDE/LXQt: ये हल्के डेस्कटॉप एनवायरनमेंट हैं, जो सीमित संसाधनों वाले कंप्यूटरों के लिए बनाए गए हैं।
6. Customizing the Linux Desktop / Linux डेस्कटॉप को कस्टमाइज़ करना
Linux desktop environments offer different layouts and features, and many of them can be personalized.
Linux के अलग-अलग डेस्कटॉप एनवायरनमेंट में अलग लेआउट और सुविधाएँ होती हैं। इनमें से कई को अपनी पसंद के अनुसार बदला जा सकता है।
Themes: Change the appearance of window borders, icons, and other visual elements. Availability depends on the desktop environment.
थीम: विंडो बॉर्डर, आइकन और अन्य दृश्य तत्वों का रूप बदला जा सकता है। उपलब्ध विकल्प डेस्कटॉप एनवायरनमेंट पर निर्भर करते हैं।
Widgets: Widgets such as clocks, weather information, and system monitors can be added where supported. KDE Plasma calls many of its widgets “Plasmoids.”
विजेट: जहाँ सुविधा उपलब्ध हो, वहाँ घड़ी, मौसम और सिस्टम मॉनिटर जैसे विजेट जोड़े जा सकते हैं। KDE Plasma में कई विजेट को “Plasmoids” कहा जाता है।
Icons and Fonts: Appearance settings may let you change icon packs and system fonts.
आइकन और फॉन्ट: Appearance Settings से आइकन पैक और सिस्टम फॉन्ट बदले जा सकते हैं।
Extensions: GNOME extensions can add features such as panels, system monitors, and workspace tools.
एक्सटेंशन: GNOME एक्सटेंशन से पैनल, सिस्टम मॉनिटर और वर्कस्पेस टूल जैसी अतिरिक्त सुविधाएँ जोड़ी जा सकती हैं।
Changing Wallpaper / वॉलपेपर बदलना
Right-click the desktop and choose “Change Background” or “Desktop Settings,” if available.
डेस्कटॉप पर राइट-क्लिक करें और उपलब्ध होने पर “Change Background” या “Desktop Settings” चुनें।
Select a built-in wallpaper or browse for an image saved on your computer.
पहले से दिए गए वॉलपेपर में से चुनें या कंप्यूटर में सेव की गई तस्वीर चुनें।
Some environments allow different wallpapers for different workspaces.
कुछ डेस्कटॉप एनवायरनमेंट में अलग-अलग वर्कस्पेस के लिए अलग वॉलपेपर लगाया जा सकता है।
7. Using Built-in Apps / पहले से उपलब्ध ऐप का उपयोग
Text Editors: Gedit (now commonly named GNOME Text Editor in newer GNOME releases) is suitable for simple text files. Kate is an advanced editor associated with KDE. Nano and Vim are text editors commonly used from the terminal.
टेक्स्ट एडिटर: साधारण टेक्स्ट फाइल के लिए Gedit उपयोगी है; नए GNOME संस्करणों में इसे GNOME Text Editor नाम से जाना जा सकता है। Kate, KDE से जुड़ा एक एडवांस एडिटर है। Nano और Vim ऐसे टेक्स्ट एडिटर हैं जिनका उपयोग टर्मिनल से किया जाता है।
Image Editors: GIMP is a powerful open-source image editor. Shotwell is mainly used to organize photos and offers some basic photo-management features.
इमेज एडिटर: GIMP एक शक्तिशाली ओपन-सोर्स इमेज एडिटर है। Shotwell का मुख्य उपयोग फोटो व्यवस्थित करने और फोटो मैनेजमेंट के लिए होता है।
Terminal: A command-line interface where you type commands to manage the system and run tools.
टर्मिनल: यह कमांड-लाइन इंटरफेस है, जहाँ कमांड लिखकर सिस्टम मैनेज किया जाता है और टूल चलाए जाते हैं।
Package Manager: Graphical tools such as Ubuntu Software, Synaptic, or Discover can help install and manage applications. Terminal tools include
apton Debian-based systems anddnfon Fedora.पैकेज मैनेजर: Ubuntu Software, Synaptic और Discover जैसे ग्राफिकल टूल से ऐप इंस्टॉल और मैनेज किए जा सकते हैं। टर्मिनल में Debian आधारित सिस्टम पर
aptऔर Fedora परdnfजैसे टूल मिलते हैं।
8. Installing and Managing Software / सॉफ्टवेयर इंस्टॉल और मैनेज करना
Linux software can be installed through a graphical software center or a package manager in the terminal.
Linux में सॉफ्टवेयर ग्राफिकल सॉफ्टवेयर सेंटर या टर्मिनल के पैकेज मैनेजर से इंस्टॉल किया जा सकता है।
APT: Used by Ubuntu and Debian-based systems. Example:
sudo apt install package-nameAPT: Ubuntu और Debian आधारित सिस्टम में इस्तेमाल होता है। उदाहरण:
sudo apt install package-nameDNF: Used by Fedora and related systems. Example:
sudo dnf install package-nameDNF: Fedora और संबंधित सिस्टम में इस्तेमाल होता है। उदाहरण:
sudo dnf install package-namePacman: Used by Arch Linux and related systems. Example:
sudo pacman -S package-namePacman: Arch Linux और संबंधित सिस्टम में इस्तेमाल होता है। उदाहरण:
sudo pacman -S package-nameGraphical Software Centers: Ubuntu Software, Discover, and GNOME Software let users browse and install apps using a graphical interface.
ग्राफिकल सॉफ्टवेयर सेंटर: Ubuntu Software, Discover और GNOME Software में ऐप खोजकर ग्राफिकल तरीके से इंस्टॉल किए जा सकते हैं।
Flatpak: A cross-distribution application format. The exact install command depends on the app and configured repositories.
Flatpak: यह कई Linux वितरणों पर ऐप चलाने के लिए इस्तेमाल होने वाला पैकेजिंग फॉर्मेट है। सही इंस्टॉल कमांड ऐप और सेट किए गए रिपॉजिटरी पर निर्भर करता है।
Snap: An application packaging system. Example:
sudo snap install package-name, where Snap is installed and the package is available.Snap: यह ऐप इंस्टॉल करने का एक पैकेजिंग सिस्टम है। उदाहरण:
sudo snap install package-name— यह तभी काम करेगा जब Snap उपलब्ध हो और संबंधित पैकेज मौजूद हो।AppImage: Some applications are distributed as AppImage files that you download and run after making the file executable if required.
AppImage: कुछ ऐप AppImage फाइल के रूप में मिलते हैं। डाउनलोड करने के बाद जरूरत पड़ने पर फाइल को executable बनाकर चलाया जाता है।
9. Navigating the Terminal / टर्मिनल में काम करना
rm, sudo, permissions और ownership से जुड़े commands गलत इस्तेमाल होने पर फाइलें मिटा सकते हैं या सिस्टम में बदलाव कर सकते हैं।कमांड ध्यान से लिखें। खासकर
rm, sudo, परमिशन और ownership से जुड़े कमांड गलत चलाने पर फाइलें मिटा सकते हैं या सिस्टम बदल सकते हैं।File System Navigation / फाइल सिस्टम में आना-जाना
pwd— Shows the current directory path.
वर्तमान डायरेक्टरी का पाथ दिखाता है।ls— Lists files and folders in the current directory.
वर्तमान डायरेक्टरी की फाइलें और फोल्डर दिखाता है।cd directory— Changes to another directory.
दूसरी डायरेक्टरी में जाने के लिए।mkdir directory— Creates a new directory.
नई डायरेक्टरी बनाता है।rm file— Removes a file. Use carefully.
फाइल हटाता है। इसे सावधानी से इस्तेमाल करें।rm -r directory— Removes a directory and its contents; use extreme care.
डायरेक्टरी और उसके अंदर की सामग्री हटाता है; बहुत सावधानी जरूरी है।
Managing Files / फाइल मैनेज करना
cp source destination— Copies files or directories. / फाइल या डायरेक्टरी कॉपी करता है।mv source destination— Moves or renames files and directories. / फाइल या डायरेक्टरी को दूसरी जगह ले जाता है या नाम बदलता है।cat file— Displays a text file's contents in the terminal. / टेक्स्ट फाइल की सामग्री टर्मिनल में दिखाता है।touch file— Creates an empty file if it does not exist, or updates its timestamp. / फाइल मौजूद न हो तो खाली फाइल बनाता है; मौजूद होने पर उसका टाइमस्टैम्प अपडेट कर सकता है।
Permissions / परमिशन
chmod permissions file— Changes file permissions. Example:chmod 755 script.sh. / फाइल की परमिशन बदलता है। उदाहरण:chmod 755 script.sh।chown user:group file— Changes file owner and group; administrative privileges may be needed. / फाइल का मालिक और ग्रुप बदलता है; इसके लिए एडमिन अधिकार की जरूरत हो सकती है।
Running Processes / चल रहे प्रोग्राम
ps aux— Lists running processes. / चल रहे प्रोसेस की सूची दिखाता है।toporhtop— Displays running processes and system resource usage. / चल रहे प्रोसेस और सिस्टम संसाधनों का उपयोग दिखाता है।kill process-id— Sends a signal to a process, commonly to request it to stop. / किसी प्रोसेस को सिग्नल भेजता है; आमतौर पर उसे रोकने के लिए।
10. Understanding Linux File System Hierarchy / Linux फाइल सिस्टम की संरचना
Linux organizes files and directories in a hierarchical tree. The top-level directory is called the root directory and is written as /.
Linux में फाइलें और डायरेक्टरी पेड़ जैसी संरचना में व्यवस्थित होती हैं। सबसे ऊपर की डायरेक्टरी को root directory कहते हैं, जिसे / से लिखा जाता है।
/— Root of the file system./— पूरे फाइल सिस्टम की मुख्य डायरेक्टरी।/home— Usually contains users’ personal directories and files./home— आमतौर पर यूज़र की निजी डायरेक्टरी और फाइलें रखता है।/bin— Contains essential command binaries on systems that use this layout; on some modern systems it may link to/usr/bin./bin— इस संरचना वाले सिस्टम में जरूरी कमांड प्रोग्राम रखता है। कुछ आधुनिक सिस्टम में यह/usr/binसे लिंक हो सकता है।/etc— System-wide configuration files./etc— सिस्टम की कॉन्फिगरेशन फाइलें।/usr— Many installed programs, libraries, and shared data./usr— कई इंस्टॉल किए गए प्रोग्राम, लाइब्रेरी और साझा डेटा।/var— Variable data such as logs, caches, and spool files./var— बदलने वाला डेटा, जैसे लॉग, कैश और स्पूल फाइलें।/mntand/media— Common locations for mounting file systems and removable drives, depending on the system./mntऔर/media— फाइल सिस्टम और बाहरी ड्राइव जोड़ने के सामान्य स्थान; वास्तविक उपयोग सिस्टम पर निर्भर करता है।
11. File and Folder Management / फाइल और फोल्डर प्रबंधन
File Managers: Nautilus (GNOME Files), Dolphin (KDE), and Thunar (XFCE) are common file managers.
फाइल मैनेजर: Nautilus (GNOME Files), Dolphin (KDE) और Thunar (XFCE) सामान्य फाइल मैनेजर हैं।
Basic Operations: Use the file manager to create, copy, move, rename, and delete files or folders.
बुनियादी काम: फाइल मैनेजर से फाइल या फोल्डर बनाना, कॉपी करना, स्थान बदलना, नाम बदलना और हटाना संभव है।
File Paths: A path tells you where a file or directory is located in the directory tree.
फाइल पाथ: पाथ बताता है कि डायरेक्टरी संरचना में कोई फाइल या फोल्डर कहाँ मौजूद है।
Hidden Files: Names beginning with a dot, such as
.bashrc, are usually hidden. In many file managers,Ctrl+Htoggles hidden-file visibility.छिपी हुई फाइलें: जिन फाइलों के नाम की शुरुआत डॉट से होती है, जैसे
.bashrc, वे सामान्यतः छिपी होती हैं। कई फाइल मैनेजर मेंCtrl+Hसे इन्हें दिखाया या छिपाया जा सकता है।
Additional Tips / अतिरिक्त सुझाव
File Permissions: Some system files require administrator privileges, often through
sudo. Do not use elevated privileges unless you understand the command.फाइल परमिशन: कुछ सिस्टम फाइलों को बदलने के लिए एडमिन अधिकार, अक्सर
sudo, की जरूरत होती है। कमांड का काम समझे बिना एडमिन अधिकार का इस्तेमाल न करें।Alt+Tab: Switches between open applications in many desktop environments.
Alt+Tab: कई डेस्कटॉप एनवायरनमेंट में खुले ऐप के बीच स्विच करता है।
Ctrl+Alt+T: Opens a terminal on many Linux distributions; the shortcut can vary.
Ctrl+Alt+T: कई Linux वितरणों में टर्मिनल खोलता है; कुछ सिस्टम में शॉर्टकट अलग हो सकता है।
PrtScn: Often opens a screenshot tool or captures the screen, depending on the desktop and settings.
PrtScn: डेस्कटॉप और सेटिंग के अनुसार स्क्रीनशॉट टूल खोल सकता है या स्क्रीन कैप्चर कर सकता है।
12. Installing Drivers in Linux / Linux में ड्राइवर इंस्टॉल करना
Many Linux distributions include drivers for common hardware. Additional drivers may be needed for some graphics cards, Wi-Fi adapters, or printers.
कई Linux वितरणों में सामान्य हार्डवेयर के ड्राइवर पहले से होते हैं। कुछ ग्राफिक्स कार्ड, Wi-Fi अडैप्टर या प्रिंटर के लिए अतिरिक्त ड्राइवर की जरूरत हो सकती है।
Additional Drivers Tool: Some Ubuntu versions provide a graphical tool to detect and install supported proprietary drivers, including certain NVIDIA drivers.
Additional Drivers टूल: Ubuntu के कुछ संस्करणों में समर्थित proprietary ड्राइवर, जैसे कुछ NVIDIA ड्राइवर, खोजने और इंस्टॉल करने के लिए ग्राफिकल टूल मिलता है।
Terminal Method: Drivers can sometimes be installed through the package manager. The exact package name depends on your Linux version and hardware; check official instructions first.
टर्मिनल तरीका: कुछ ड्राइवर पैकेज मैनेजर से इंस्टॉल किए जा सकते हैं। सही पैकेज का नाम Linux संस्करण और हार्डवेयर पर निर्भर करता है; पहले आधिकारिक निर्देश देखें।
Printer Setup: Open Settings, go to Printers, and follow the setup instructions if your desktop provides this option.
प्रिंटर सेटअप: Settings में जाकर Printers खोलें और दिए गए निर्देशों का पालन करें।
13. Linux Security and Updates / Linux सुरक्षा और अपडेट
Keeping Linux Updated / Linux को अपडेट रखना
Regular updates can fix security issues and improve stability. On Ubuntu/Debian-based systems, use
sudo apt updateto refresh package information andsudo apt upgradeto install available upgrades.नियमित अपडेट से सुरक्षा संबंधी समस्याएँ ठीक हो सकती हैं और सिस्टम की स्थिरता बेहतर हो सकती है। Ubuntu/Debian आधारित सिस्टम में पैकेज जानकारी अपडेट करने के लिए
sudo apt updateऔर उपलब्ध अपडेट इंस्टॉल करने के लिएsudo apt upgradeइस्तेमाल करें।On Fedora systems,
sudo dnf upgradeis commonly used to update installed packages. Read the package manager's confirmation prompt before proceeding.Fedora में इंस्टॉल किए गए पैकेज अपडेट करने के लिए आमतौर पर
sudo dnf upgradeइस्तेमाल किया जाता है। आगे बढ़ने से पहले पैकेज मैनेजर का पुष्टि संदेश पढ़ें।Automatic updates may be available through system settings or tools such as
unattended-upgradeson Ubuntu.सिस्टम सेटिंग या Ubuntu में
unattended-upgradesजैसे टूल से ऑटोमैटिक अपडेट की सुविधा मिल सकती है।
Firewall / फ़ायरवॉल
Linux systems can use firewall technologies such as netfilter/iptables and user-friendly tools such as UFW. On a system where UFW is installed and configured, sudo ufw enable enables it.
Linux सिस्टम में netfilter/iptables जैसी फ़ायरवॉल तकनीकें और UFW जैसे आसान टूल इस्तेमाल किए जा सकते हैं। जिस सिस्टम में UFW इंस्टॉल और कॉन्फिगर हो, वहाँ sudo ufw enable इसे चालू करता है।
Firewall rules can allow or block network traffic. For example, sudo ufw allow PORT or sudo ufw deny PORT are patterns; replace PORT with the correct port number and understand the effect before applying a rule.
फ़ायरवॉल नियम नेटवर्क ट्रैफिक को अनुमति दे सकते हैं या रोक सकते हैं। उदाहरण के लिए, sudo ufw allow PORT या sudo ufw deny PORT कमांड का ढाँचा है। PORT की जगह सही पोर्ट नंबर लिखें और नियम लागू करने से पहले उसका प्रभाव समझें।
14. Backing Up Files in Linux / Linux में फाइलों का बैकअप
Regular backups protect your files and can help recover from accidental deletion or system problems. Back up important files before changing system settings.
नियमित बैकअप आपकी फाइलों को सुरक्षित रखने और गलती से फाइल हटने या सिस्टम में समस्या आने पर उन्हें वापस पाने में मदद करता है। सिस्टम सेटिंग बदलने से पहले जरूरी फाइलों का बैकअप लें।
Timeshift: Commonly used to create system snapshots, particularly on Linux desktop systems.
Timeshift: सिस्टम स्नैपशॉट बनाने के लिए इस्तेमाल होता है, खासकर Linux डेस्कटॉप सिस्टम में।
rsync: A command-line tool for copying and synchronizing files. Example:
rsync -av /source/ /destination/. Check the source and destination carefully before running it.rsync: फाइल कॉपी और सिंक्रोनाइज़ करने का कमांड-लाइन टूल है। उदाहरण:
rsync -av /source/ /destination/। इसे चलाने से पहले source और destination की सही जांच करें।Déjà Dup: A graphical backup tool that can support scheduled backups, depending on the installed version and configuration.
Déjà Dup: यह ग्राफिकल बैकअप टूल है। इंस्टॉल किए गए संस्करण और सेटिंग के अनुसार इसमें तय समय पर बैकअप लेने की सुविधा मिल सकती है।
15. Troubleshooting in Linux / Linux की समस्याएँ ठीक करना
System Logs: Logs can provide details about errors. Many systems store log files in
/var/log.सिस्टम लॉग: लॉग में त्रुटियों की जानकारी मिल सकती है। कई सिस्टम में लॉग फाइलें
/var/logमें होती हैं।dmesg: Displays kernel messages, which can help investigate hardware and startup issues.dmesg: कर्नेल संदेश दिखाता है। हार्डवेयर और सिस्टम स्टार्ट होने से जुड़ी समस्याओं की जांच में यह मदद कर सकता है।journalctl: Displays logs collected by systemd on systems that use it.journalctl -xecan show recent log entries with additional context.journalctl: systemd इस्तेमाल करने वाले सिस्टम में लॉग दिखाता है।journalctl -xeहाल की लॉग एंट्री और अतिरिक्त जानकारी दिखा सकता है।Recovery Mode: Many distributions provide a recovery or rescue option that can help diagnose system problems or repair packages.
रिकवरी मोड: कई Linux वितरणों में recovery या rescue विकल्प होता है, जिससे सिस्टम की समस्या की जांच या पैकेज की मरम्मत की जा सकती है।
GRUB Bootloader: If the system cannot start because of a bootloader issue, a live USB may help repair GRUB. This is an advanced operation; follow instructions for your exact distribution and back up important data first.
GRUB बूटलोडर: बूटलोडर की समस्या से सिस्टम शुरू न हो, तो live USB की मदद से GRUB की मरम्मत की जा सकती है। यह एडवांस काम है; अपने Linux वितरण के सही निर्देश अपनाएँ और पहले जरूरी डेटा का बैकअप लें।
Quick Revision / त्वरित दोहराव
Linux is an open-source operating system built around the Linux kernel.
Linux एक ओपन-सोर्स ऑपरेटिंग सिस्टम है, जो Linux kernel पर आधारित है।
Ubuntu and Linux Mint are common beginner-friendly choices.
Ubuntu और Linux Mint शुरुआती उपयोगकर्ताओं के लिए सामान्य विकल्प हैं।
The GUI uses windows, icons, and menus; the terminal uses text commands.
GUI में विंडो, आइकन और मेनू होते हैं; टर्मिनल में टेक्स्ट कमांड लिखे जाते हैं।
pwdshows the current path,lslists items, andcdchanges directory.pwdवर्तमान पाथ दिखाता है,lsफाइलें दिखाता है औरcdडायरेक्टरी बदलता है।Updates, backups, and careful use of administrator privileges are important for system maintenance.
सिस्टम को सही रखने के लिए अपडेट, बैकअप और एडमिन अधिकारों का सावधानी से उपयोग जरूरी है।
Learning tip: Practise commands in a test folder or virtual machine before using them on important files or a working system.
सीखने का सुझाव: जरूरी फाइलों या मुख्य सिस्टम पर कमांड चलाने से पहले टेस्ट फोल्डर या वर्चुअल मशीन में अभ्यास करें।
