Linux how to get window title with just shell script?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name.



echo -e "33]0;[title]7"; modifies the title I know. But I just want to know the existing title name.










share|improve this question









New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    does unix.stackexchange.com/a/122870/117549 do it for you?
    – Jeff Schaller
    15 hours ago






  • 1




    or possibly unix.stackexchange.com/a/274386/117549
    – Jeff Schaller
    15 hours ago










  • my os does not recognize those as commands
    – Bootham Deyyam
    13 hours ago










  • printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
    – qubert
    13 hours ago















up vote
0
down vote

favorite












I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name.



echo -e "33]0;[title]7"; modifies the title I know. But I just want to know the existing title name.










share|improve this question









New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    does unix.stackexchange.com/a/122870/117549 do it for you?
    – Jeff Schaller
    15 hours ago






  • 1




    or possibly unix.stackexchange.com/a/274386/117549
    – Jeff Schaller
    15 hours ago










  • my os does not recognize those as commands
    – Bootham Deyyam
    13 hours ago










  • printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
    – qubert
    13 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name.



echo -e "33]0;[title]7"; modifies the title I know. But I just want to know the existing title name.










share|improve this question









New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name.



echo -e "33]0;[title]7"; modifies the title I know. But I just want to know the existing title name.







linux window window-title






share|improve this question









New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 13 hours ago









Rui F Ribeiro

38.1k1475123




38.1k1475123






New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 15 hours ago









Bootham Deyyam

6




6




New contributor




Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Bootham Deyyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    does unix.stackexchange.com/a/122870/117549 do it for you?
    – Jeff Schaller
    15 hours ago






  • 1




    or possibly unix.stackexchange.com/a/274386/117549
    – Jeff Schaller
    15 hours ago










  • my os does not recognize those as commands
    – Bootham Deyyam
    13 hours ago










  • printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
    – qubert
    13 hours ago













  • 1




    does unix.stackexchange.com/a/122870/117549 do it for you?
    – Jeff Schaller
    15 hours ago






  • 1




    or possibly unix.stackexchange.com/a/274386/117549
    – Jeff Schaller
    15 hours ago










  • my os does not recognize those as commands
    – Bootham Deyyam
    13 hours ago










  • printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
    – qubert
    13 hours ago








1




1




does unix.stackexchange.com/a/122870/117549 do it for you?
– Jeff Schaller
15 hours ago




does unix.stackexchange.com/a/122870/117549 do it for you?
– Jeff Schaller
15 hours ago




1




1




or possibly unix.stackexchange.com/a/274386/117549
– Jeff Schaller
15 hours ago




or possibly unix.stackexchange.com/a/274386/117549
– Jeff Schaller
15 hours ago












my os does not recognize those as commands
– Bootham Deyyam
13 hours ago




my os does not recognize those as commands
– Bootham Deyyam
13 hours ago












printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
– qubert
13 hours ago





printf 'e[21t' should cause your terminal to return its title in the form e]titlee\ . I'll try to wrap that in a script if they don't delete your question until then.
– qubert
13 hours ago
















active

oldest

votes











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',
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
);



);






Bootham Deyyam is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481285%2flinux-how-to-get-window-title-with-just-shell-script%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Bootham Deyyam is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Bootham Deyyam is a new contributor. Be nice, and check out our Code of Conduct.












Bootham Deyyam is a new contributor. Be nice, and check out our Code of Conduct.











Bootham Deyyam is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481285%2flinux-how-to-get-window-title-with-just-shell-script%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?