Linux Text Editors

September 20, 2025
No Comments
2 min read

Linux-এ ফাইল এডিট করা, configuration পরিবর্তন করা বা কোড লেখা সবই সম্ভব text editors দিয়ে। Text editor হলো একটি tool যা ব্যবহার করে আমরা plain text ফাইল খুলতে, লিখতে এবং সংরক্ষণ করতে পারি।

কেন দরকার:

  • Configuration file edit করা (যেমন /etc/hosts, .bashrc)
  • স্ক্রিপ্ট বা কোড লেখা
  • নোট বা document তৈরি করা

Linux-এ মূলত তিন ধরনের text editor আছে: Terminal-based, GUI-based, এবং Advanced editors।

1. Nano (Terminal-based)

Nano হলো একটি সহজ এবং beginner-friendly terminal text editor।

  • কেন ব্যবহার করা হয়: দ্রুত ফাইল edit করতে, সহজ shortcuts, minimal learning curve।
  • Features:
    • Simple navigation with arrow keys
    • Save & exit: Ctrl + O (write), Ctrl + X (exit)
    • Cut/Paste: Ctrl + K (cut), Ctrl + U (paste)

Command:

Bash
nano filename.txt

Use case:

  • Configuration file edit করা
  • Quick note creation

2. Vim (Terminal-based, Advanced)

Vim হলো highly configurable এবং power-user oriented terminal editor।

  • কেন ব্যবহার করা হয়: Large file editing, coding, automation, server systems যেখানে GUI নেই।
  • Modes:
    • Normal Mode → navigation, commands
    • Insert Mode → লেখা শুরু করা (i)
    • Visual Mode → select text (v)
    • Command Mode → save, quit, search (:)

Command:

Bash
vim filename.txt

Basic Commands:

  • i → insert mode
  • Esc → normal mode
  • :w → save
  • :q → quit
  • :wq → save & quit
  • :q! → quit without saving

Use case:

  • System configuration
  • Programming scripts
  • Large text file manipulation

3. Gedit (GUI-based)

Gedit হলো Linux-এর GUI-based text editor।

  • কেন ব্যবহার করা হয়: Desktop user-friendly, simple, visual interface
  • Features:
    • Syntax highlighting (Python, HTML, etc.)
    • Undo/Redo, search & replace
    • Multiple tabs support
    • File save and print options

Command (Terminal or Application Menu):

gedit filename.txt &

Use case:

  • Desktop file editing
  • Code writing with GUI convenience
  • Note-taking

সারসংক্ষেপ

EditorTypeProsCons
NanoTerminalEasy, beginner-friendlyLimited features
VimTerminalPowerful, efficientSteep learning curve
GeditGUIVisual, easy to useRequires GUI, less efficient on server

সারাংশ:

  • Nano → beginner, quick edits
  • Vim → advanced, server/dev environment
  • Gedit → desktop, GUI-friendly

Topics

©2025 Linux Bangla | Developed & Maintaind by Linux Bangla.