Linux getty Command

In this tutorial we learn how to use getty commmand in Linux. getty command is agetty - alternative Linux getty

What is Linux getty Command?

In this tutorial we learn how to use getty command in Linux. getty command is agetty - alternative Linux getty

getty Syntax

       agetty [options] port [baud_rate...] [term]

getty Examples

getty Command Manual / Help

We can use man and info command to see the manual page of getty command.

getty command also have --help option to show list of options.

To open man page for getty command we can use command below. To exit man or info page you can press q.

man getty

To open info page for getty command we can use command below.

info getty

To open help page from getty command we can run command below.

getty --help

Linux getty Command Source Code

You can find getty command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use getty in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.