Tmux: how to specify session in new-windowWhy is tmux opening a new terminal window?tmux: creating new split...

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

Packing rectangles: Does rotation ever help?

How can I practically buy stocks?

How exactly does Hawking radiation decrease the mass of black holes?

What makes accurate emulation of old systems a difficult task?

Why is it that the natural deduction method can't test for invalidity?

How to creep the reader out with what seems like a normal person?

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Pass By Reference VS Pass by Value

The Defining Moment

Will tsunami waves travel forever if there was no land?

how to find the equation of a circle given points of the circle

simple conditions equation

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

How can I place the product on a social media post better?

What does KSP mean?

What does it mean to express a gate in Dirac notation?

Realistic Necromancy?

Fizzy, soft, pop and still drinks

What was the first Intel x86 processor with "Base + Index * Scale + Displacement" addressing mode?

How to verbalise code in Mathematica?

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?



Tmux: how to specify session in new-window


Why is tmux opening a new terminal window?tmux: creating new split window doesn't worktmux new-window — wait until session is up?Split new tmux windowHow to split the window that ran the “tmux split-window” command instead of the current one?How can I launch a new session of tmux in iTerm2 on a separate window?Execute command on current tmux session when attached to a window groupHow to create a new tmux window with same pane layout?How do run my script inside tmux on server startupTmux - Open a new session in another terminal window without blocking the calling terminal






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















When I run tmux new-window from a script outside of my current tmux session, how can I specify which session the new window should be associated with?










share|improve this question





























    0















    When I run tmux new-window from a script outside of my current tmux session, how can I specify which session the new window should be associated with?










    share|improve this question

























      0












      0








      0








      When I run tmux new-window from a script outside of my current tmux session, how can I specify which session the new window should be associated with?










      share|improve this question














      When I run tmux new-window from a script outside of my current tmux session, how can I specify which session the new window should be associated with?







      tmux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 45 mins ago









      DavidDavid

      439510




      439510






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Though not very clearly documented, it turns out windows can be specified as session-name:window-number, so specifying tmux new-window -t SESSION: results in creating a new window in the session. The session name or default number may be used.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515935%2ftmux-how-to-specify-session-in-new-window%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Though not very clearly documented, it turns out windows can be specified as session-name:window-number, so specifying tmux new-window -t SESSION: results in creating a new window in the session. The session name or default number may be used.






            share|improve this answer




























              0














              Though not very clearly documented, it turns out windows can be specified as session-name:window-number, so specifying tmux new-window -t SESSION: results in creating a new window in the session. The session name or default number may be used.






              share|improve this answer


























                0












                0








                0







                Though not very clearly documented, it turns out windows can be specified as session-name:window-number, so specifying tmux new-window -t SESSION: results in creating a new window in the session. The session name or default number may be used.






                share|improve this answer













                Though not very clearly documented, it turns out windows can be specified as session-name:window-number, so specifying tmux new-window -t SESSION: results in creating a new window in the session. The session name or default number may be used.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 28 mins ago









                DavidDavid

                439510




                439510






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515935%2ftmux-how-to-specify-session-in-new-window%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...