What is a tty, and how do I access a tty?











up vote
51
down vote

favorite
16












I keep hearing about these things known as tty's.




  • what are they


  • how can I access them


  • what do they do?











share|improve this question
























  • Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
    – Wojciech
    Oct 14 '11 at 14:37

















up vote
51
down vote

favorite
16












I keep hearing about these things known as tty's.




  • what are they


  • how can I access them


  • what do they do?











share|improve this question
























  • Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
    – Wojciech
    Oct 14 '11 at 14:37















up vote
51
down vote

favorite
16









up vote
51
down vote

favorite
16






16





I keep hearing about these things known as tty's.




  • what are they


  • how can I access them


  • what do they do?











share|improve this question















I keep hearing about these things known as tty's.




  • what are they


  • how can I access them


  • what do they do?








command-line tty






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 14 '11 at 14:35

























asked Oct 14 '11 at 14:29









jrg

39k50149235




39k50149235












  • Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
    – Wojciech
    Oct 14 '11 at 14:37




















  • Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
    – Wojciech
    Oct 14 '11 at 14:37


















Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
– Wojciech
Oct 14 '11 at 14:37






Here is the link that should answer your question: askubuntu.com/questions/27339/what-is-tty7-in-the-commandline
– Wojciech
Oct 14 '11 at 14:37












4 Answers
4






active

oldest

votes

















up vote
52
down vote



accepted










tty is one of those funky Unix commands that prints the name of the terminal connected to standard input.



TTY's are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.



Related: What is tty7 in the commandline?



By default Ubuntu has 7 tty's.




  • Up until Ubuntu 17.10, 1-6 are command line only and 7 runs your X session (your normal desktop).

  • On Ubuntu 17.10 and newer, it's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.


To access them, use this keyboard shortcut:



Ctrl + Alt + F1 (or F3 on 17.10 and newer)



(changing F1 to F1-F6 to access the terminal that you want)



To get back to your GUI session (the normal desktop):



Ctrl + Alt + F7 (or F2 on 17.10 and newer)






share|improve this answer



















  • 6




    Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
    – Sukupa91
    Nov 30 '13 at 12:40






  • 1




    actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
    – fonini
    Dec 27 '14 at 4:19


















up vote
3
down vote













You can change the displayed TTY by commmand line with chvt (requires sudo privileges), from SSH for example. Here is the relevant part of the manpage (man chvt):




CHVT(1)



NAME



chvt - change foreground virtual terminal



SYNOPSIS



chvt N



DESCRIPTION



The command chvt N makes /dev/ttyN the foreground terminal.
(The corresponding screen is created if it did not exist yet.
To get rid of unused VTs, use deallocvt)
The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.







share|improve this answer























  • e.g. chvt 1 to switch to tty1
    – carefulnow1
    Nov 20 '16 at 12:47


















up vote
1
down vote













A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce.



There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session.



There is also a tty command, which shows the device node of the terminal in which it is running (or prints "not a tty" if it is not running inside a terminal; yes, it is possible to run commands outside a terminal). For example:



firas@itsuki ~ % tty
/dev/pts/0
firas@itsuki ~ % ssh localhost tty
not a tty


When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is /dev/pts/0. However, when I run ssh host command to run a command on a remote host, the command is not run inside a terminal.






share|improve this answer




























    up vote
    0
    down vote













    It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server.



    This is the equivalent of having two tabs open in a GUI Environment.



    In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number.



    You can see your tty by logging out from Ubuntu Server (run logout) and see up at the top Ubuntu 16.04.3 LTS ubuntu tty# that is standard, but may differ from version to version.



    If your tty isn't shown on your login screen then you can run sudo nano /etc/issue and at the top, you can put in whatever you like but to add the tty you need to place l. Place n for the hostname.





    Example:



    /etc/issue



    Ubuntu 16.04.3 LTS n l


    would show



    Ubuntu 16.04.3 LTS ubuntu tty#




    Notes:



    # refers to a number






    share|improve this answer























    • I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
      – Puffin
      Oct 4 at 21:29











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f66195%2fwhat-is-a-tty-and-how-do-i-access-a-tty%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    52
    down vote



    accepted










    tty is one of those funky Unix commands that prints the name of the terminal connected to standard input.



    TTY's are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.



    Related: What is tty7 in the commandline?



    By default Ubuntu has 7 tty's.




    • Up until Ubuntu 17.10, 1-6 are command line only and 7 runs your X session (your normal desktop).

    • On Ubuntu 17.10 and newer, it's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.


    To access them, use this keyboard shortcut:



    Ctrl + Alt + F1 (or F3 on 17.10 and newer)



    (changing F1 to F1-F6 to access the terminal that you want)



    To get back to your GUI session (the normal desktop):



    Ctrl + Alt + F7 (or F2 on 17.10 and newer)






    share|improve this answer



















    • 6




      Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
      – Sukupa91
      Nov 30 '13 at 12:40






    • 1




      actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
      – fonini
      Dec 27 '14 at 4:19















    up vote
    52
    down vote



    accepted










    tty is one of those funky Unix commands that prints the name of the terminal connected to standard input.



    TTY's are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.



    Related: What is tty7 in the commandline?



    By default Ubuntu has 7 tty's.




    • Up until Ubuntu 17.10, 1-6 are command line only and 7 runs your X session (your normal desktop).

    • On Ubuntu 17.10 and newer, it's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.


    To access them, use this keyboard shortcut:



    Ctrl + Alt + F1 (or F3 on 17.10 and newer)



    (changing F1 to F1-F6 to access the terminal that you want)



    To get back to your GUI session (the normal desktop):



    Ctrl + Alt + F7 (or F2 on 17.10 and newer)






    share|improve this answer



















    • 6




      Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
      – Sukupa91
      Nov 30 '13 at 12:40






    • 1




      actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
      – fonini
      Dec 27 '14 at 4:19













    up vote
    52
    down vote



    accepted







    up vote
    52
    down vote



    accepted






    tty is one of those funky Unix commands that prints the name of the terminal connected to standard input.



    TTY's are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.



    Related: What is tty7 in the commandline?



    By default Ubuntu has 7 tty's.




    • Up until Ubuntu 17.10, 1-6 are command line only and 7 runs your X session (your normal desktop).

    • On Ubuntu 17.10 and newer, it's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.


    To access them, use this keyboard shortcut:



    Ctrl + Alt + F1 (or F3 on 17.10 and newer)



    (changing F1 to F1-F6 to access the terminal that you want)



    To get back to your GUI session (the normal desktop):



    Ctrl + Alt + F7 (or F2 on 17.10 and newer)






    share|improve this answer














    tty is one of those funky Unix commands that prints the name of the terminal connected to standard input.



    TTY's are text-only terminals commonly used as a way to get access to the computer to fix things, without actually logging into a possibly b0rked desktop.



    Related: What is tty7 in the commandline?



    By default Ubuntu has 7 tty's.




    • Up until Ubuntu 17.10, 1-6 are command line only and 7 runs your X session (your normal desktop).

    • On Ubuntu 17.10 and newer, it's GUI login screen on 1, GUI desktop on 2 and command lines on 3-7.


    To access them, use this keyboard shortcut:



    Ctrl + Alt + F1 (or F3 on 17.10 and newer)



    (changing F1 to F1-F6 to access the terminal that you want)



    To get back to your GUI session (the normal desktop):



    Ctrl + Alt + F7 (or F2 on 17.10 and newer)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 4 at 1:19









    wjandrea

    8,06142258




    8,06142258










    answered Oct 14 '11 at 14:32









    jrg

    39k50149235




    39k50149235








    • 6




      Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
      – Sukupa91
      Nov 30 '13 at 12:40






    • 1




      actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
      – fonini
      Dec 27 '14 at 4:19














    • 6




      Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
      – Sukupa91
      Nov 30 '13 at 12:40






    • 1




      actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
      – fonini
      Dec 27 '14 at 4:19








    6




    6




    Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
    – Sukupa91
    Nov 30 '13 at 12:40




    Sir you have mentioned " to F1-F6 to access the terminal that you need" , how they are different and how to use them as per to need ,what kind of need is supported to which terminal. I dont know if it is the right place but your question and answer pointed it for me.
    – Sukupa91
    Nov 30 '13 at 12:40




    1




    1




    actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
    – fonini
    Dec 27 '14 at 4:19




    actually, if you are not in an X session, you can type just Alt+F7, you don't need the Ctrl.
    – fonini
    Dec 27 '14 at 4:19












    up vote
    3
    down vote













    You can change the displayed TTY by commmand line with chvt (requires sudo privileges), from SSH for example. Here is the relevant part of the manpage (man chvt):




    CHVT(1)



    NAME



    chvt - change foreground virtual terminal



    SYNOPSIS



    chvt N



    DESCRIPTION



    The command chvt N makes /dev/ttyN the foreground terminal.
    (The corresponding screen is created if it did not exist yet.
    To get rid of unused VTs, use deallocvt)
    The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.







    share|improve this answer























    • e.g. chvt 1 to switch to tty1
      – carefulnow1
      Nov 20 '16 at 12:47















    up vote
    3
    down vote













    You can change the displayed TTY by commmand line with chvt (requires sudo privileges), from SSH for example. Here is the relevant part of the manpage (man chvt):




    CHVT(1)



    NAME



    chvt - change foreground virtual terminal



    SYNOPSIS



    chvt N



    DESCRIPTION



    The command chvt N makes /dev/ttyN the foreground terminal.
    (The corresponding screen is created if it did not exist yet.
    To get rid of unused VTs, use deallocvt)
    The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.







    share|improve this answer























    • e.g. chvt 1 to switch to tty1
      – carefulnow1
      Nov 20 '16 at 12:47













    up vote
    3
    down vote










    up vote
    3
    down vote









    You can change the displayed TTY by commmand line with chvt (requires sudo privileges), from SSH for example. Here is the relevant part of the manpage (man chvt):




    CHVT(1)



    NAME



    chvt - change foreground virtual terminal



    SYNOPSIS



    chvt N



    DESCRIPTION



    The command chvt N makes /dev/ttyN the foreground terminal.
    (The corresponding screen is created if it did not exist yet.
    To get rid of unused VTs, use deallocvt)
    The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.







    share|improve this answer














    You can change the displayed TTY by commmand line with chvt (requires sudo privileges), from SSH for example. Here is the relevant part of the manpage (man chvt):




    CHVT(1)



    NAME



    chvt - change foreground virtual terminal



    SYNOPSIS



    chvt N



    DESCRIPTION



    The command chvt N makes /dev/ttyN the foreground terminal.
    (The corresponding screen is created if it did not exist yet.
    To get rid of unused VTs, use deallocvt)
    The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.








    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 2 '15 at 9:43









    Karl Richter

    2,35183467




    2,35183467










    answered Apr 2 '15 at 8:23









    JulienBu

    312




    312












    • e.g. chvt 1 to switch to tty1
      – carefulnow1
      Nov 20 '16 at 12:47


















    • e.g. chvt 1 to switch to tty1
      – carefulnow1
      Nov 20 '16 at 12:47
















    e.g. chvt 1 to switch to tty1
    – carefulnow1
    Nov 20 '16 at 12:47




    e.g. chvt 1 to switch to tty1
    – carefulnow1
    Nov 20 '16 at 12:47










    up vote
    1
    down vote













    A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce.



    There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session.



    There is also a tty command, which shows the device node of the terminal in which it is running (or prints "not a tty" if it is not running inside a terminal; yes, it is possible to run commands outside a terminal). For example:



    firas@itsuki ~ % tty
    /dev/pts/0
    firas@itsuki ~ % ssh localhost tty
    not a tty


    When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is /dev/pts/0. However, when I run ssh host command to run a command on a remote host, the command is not run inside a terminal.






    share|improve this answer

























      up vote
      1
      down vote













      A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce.



      There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session.



      There is also a tty command, which shows the device node of the terminal in which it is running (or prints "not a tty" if it is not running inside a terminal; yes, it is possible to run commands outside a terminal). For example:



      firas@itsuki ~ % tty
      /dev/pts/0
      firas@itsuki ~ % ssh localhost tty
      not a tty


      When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is /dev/pts/0. However, when I run ssh host command to run a command on a remote host, the command is not run inside a terminal.






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce.



        There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session.



        There is also a tty command, which shows the device node of the terminal in which it is running (or prints "not a tty" if it is not running inside a terminal; yes, it is possible to run commands outside a terminal). For example:



        firas@itsuki ~ % tty
        /dev/pts/0
        firas@itsuki ~ % ssh localhost tty
        not a tty


        When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is /dev/pts/0. However, when I run ssh host command to run a command on a remote host, the command is not run inside a terminal.






        share|improve this answer












        A tty, short for teletype and perhaps more commonly called a terminal, is a device which lets you interact with the system by sending and receiving data, such as commands and the output they produce.



        There are many kind of ttys, but nowadays most ttys are implemented in software, such as the graphical consoles you can access with Ctrl+Alt+Fn, or terminal emulators such as Gnome terminal that run inside an X session.



        There is also a tty command, which shows the device node of the terminal in which it is running (or prints "not a tty" if it is not running inside a terminal; yes, it is possible to run commands outside a terminal). For example:



        firas@itsuki ~ % tty
        /dev/pts/0
        firas@itsuki ~ % ssh localhost tty
        not a tty


        When I am logged in and running a shell on the machine, the shell is normally running inside a terminal, namely here it is /dev/pts/0. However, when I run ssh host command to run a command on a remote host, the command is not run inside a terminal.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 10 at 6:04









        fkraiem

        8,67231728




        8,67231728






















            up vote
            0
            down vote













            It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server.



            This is the equivalent of having two tabs open in a GUI Environment.



            In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number.



            You can see your tty by logging out from Ubuntu Server (run logout) and see up at the top Ubuntu 16.04.3 LTS ubuntu tty# that is standard, but may differ from version to version.



            If your tty isn't shown on your login screen then you can run sudo nano /etc/issue and at the top, you can put in whatever you like but to add the tty you need to place l. Place n for the hostname.





            Example:



            /etc/issue



            Ubuntu 16.04.3 LTS n l


            would show



            Ubuntu 16.04.3 LTS ubuntu tty#




            Notes:



            # refers to a number






            share|improve this answer























            • I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
              – Puffin
              Oct 4 at 21:29















            up vote
            0
            down vote













            It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server.



            This is the equivalent of having two tabs open in a GUI Environment.



            In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number.



            You can see your tty by logging out from Ubuntu Server (run logout) and see up at the top Ubuntu 16.04.3 LTS ubuntu tty# that is standard, but may differ from version to version.



            If your tty isn't shown on your login screen then you can run sudo nano /etc/issue and at the top, you can put in whatever you like but to add the tty you need to place l. Place n for the hostname.





            Example:



            /etc/issue



            Ubuntu 16.04.3 LTS n l


            would show



            Ubuntu 16.04.3 LTS ubuntu tty#




            Notes:



            # refers to a number






            share|improve this answer























            • I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
              – Puffin
              Oct 4 at 21:29













            up vote
            0
            down vote










            up vote
            0
            down vote









            It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server.



            This is the equivalent of having two tabs open in a GUI Environment.



            In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number.



            You can see your tty by logging out from Ubuntu Server (run logout) and see up at the top Ubuntu 16.04.3 LTS ubuntu tty# that is standard, but may differ from version to version.



            If your tty isn't shown on your login screen then you can run sudo nano /etc/issue and at the top, you can put in whatever you like but to add the tty you need to place l. Place n for the hostname.





            Example:



            /etc/issue



            Ubuntu 16.04.3 LTS n l


            would show



            Ubuntu 16.04.3 LTS ubuntu tty#




            Notes:



            # refers to a number






            share|improve this answer














            It changes your workspace: for example, you could have a text file open and change to tty2 then you might have a /ls command for reference. This is very helpful for an environment like Ubuntu Server.



            This is the equivalent of having two tabs open in a GUI Environment.



            In Ubuntu Server (16.04.3 LTS - for me) I can use ALT+F1-F6 or use ALT+LeftArrow to go back a number or ALT+RightArrow to go forwards a number.



            You can see your tty by logging out from Ubuntu Server (run logout) and see up at the top Ubuntu 16.04.3 LTS ubuntu tty# that is standard, but may differ from version to version.



            If your tty isn't shown on your login screen then you can run sudo nano /etc/issue and at the top, you can put in whatever you like but to add the tty you need to place l. Place n for the hostname.





            Example:



            /etc/issue



            Ubuntu 16.04.3 LTS n l


            would show



            Ubuntu 16.04.3 LTS ubuntu tty#




            Notes:



            # refers to a number







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 5 at 22:07

























            answered Jan 10 at 4:04









            Nicolas Hanna

            631312




            631312












            • I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
              – Puffin
              Oct 4 at 21:29


















            • I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
              – Puffin
              Oct 4 at 21:29
















            I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
            – Puffin
            Oct 4 at 21:29




            I think you've made a good start at answering the "what do they do" part of the question though its still a bit above my head. There's something in your first sentence that I didn't follow. Could you clarify, for example, if I have a text file open in the normal GUI, then what can I achieve by accessing a tty that I can't do in the GUI?
            – Puffin
            Oct 4 at 21:29


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2faskubuntu.com%2fquestions%2f66195%2fwhat-is-a-tty-and-how-do-i-access-a-tty%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b