मुख्य सामग्री पर जाएँ
kitlocal.dev

tmux चीटशीट

लोकल चलता है

100% आपके ब्राउज़र में प्रोसेस होता है। इनपुट और आउटपुट कभी आपके डिवाइस से बाहर नहीं जाते।

सरल भाषा में tmux टर्मिनल मल्टीप्लेक्सर कमांड: सेशन, विंडो, स्प्लिट पेन, सिंक्रोनाइज़्ड इनपुट, कॉपी मोड और tmux 3.6 पर स्क्रिप्टिंग।

यह कैसे काम करता है

tmux uses a three-level hierarchy: a persistent server holds sessions (projects), each session holds windows (tabs), and each window splits into panes. Detaching leaves the session running in the background so you can reconnect later; inside tmux, most key bindings start with the prefix Ctrl-b followed by one key.

सर्वाइवल किट

वे कुछ कमांड जिन्हें सबसे पहले सीखना चाहिए।

40 कमांड

कीबोर्ड शॉर्टकट/खोज पर फ़ोकस करेंJKचयन आगे-पीछे करेंCचयनित कॉपी करेंFचयनित बुकमार्क करेंEscखोज साफ़ करें

Manage sessions (shell)

Sessions survive SSH disconnects and terminal restarts. Name every project session so attaching is effortless.

आधिकारिक दस्तावेज़: tmux sessions
  • आवश्यक

    Create and attach to a named tmux session.

    tmux new -s <name>

    कमांड बनाएँ

    tmux new -s <name>

    मान ठीक वैसे ही डाले जाते हैं जैसे टाइप किए गए हैं। यदि उनमें स्पेस या विशेष वर्ण हों तो स्वयं उद्धरण चिह्न लगाएँ।

    इसका उपयोग कब करें

    Names the session so you can return to the exact workspace after disconnecting or closing your terminal.

    घटक विवरण

    new
    alias for new-session
    -s <name>
    session name

    उदाहरण

    Starts a session named api.

    tmux new -s api

    यह भी काम करता है

    • tmux new-session -s <name>

    यह भी देखें

Windows (tabs)

Windows act like full-screen tabs inside a session. Each appears in the bottom status bar.

आधिकारिक दस्तावेज़: Windows and panes

Split & navigate panes

Split one window into multiple panes to edit code beside logs or a test runner.

आधिकारिक दस्तावेज़: Pane commands

Scrollback & copy mode

tmux holds its own scrollback buffer per pane. Enter copy mode to scroll, search logs and copy without leaving the keyboard.

आधिकारिक दस्तावेज़: Copy mode

Commands & configuration

Customize prefix, mouse support and reload ~/.tmux.conf without restarting running sessions.

आधिकारिक दस्तावेज़: Configuration & options

इसे KitLocal टूल में आज़माएँ

शब्दावली
Prefix
The shortcut pressed before a tmux command key. Default is Ctrl-b (release both keys before pressing the next key).
Session
A named workspace containing one or more windows that stays alive on the tmux server after you detach.
Window
A full-screen view inside a session (similar to a browser tab), numbered starting at 0 by default.
Pane
One rectangular terminal split inside a window, running its own shell.
Copy mode
A scrollback and selection mode entered with Ctrl-b [ so you can scroll up and copy text without a mouse.

15 नव॰ 2026 को जाँचा गया · वर्शन tmux 3.6 के विरुद्ध जाँचा गया

स्रोत: tmux manual page (man7.org) · tmux GitHub wiki

कोण कोष्ठक में दी गई किसी भी चीज़ को अपने मानों से बदलें। कमांड आधिकारिक दस्तावेज़ों से लिए गए हैं, और उदाहरण दिखाए गए वर्शन पर चलाए गए थे।