Open In App

reset command in Linux with Examples

reset command in Linux system is used to initialize the terminal. This is useful once a program dies leaving a terminal in an abnormal state. Note that you may have to type reset to get the terminal up and work, as carriage-return may no longer be work in the abnormal state. Also, the terminal will often not going to echo the command. Syntax:

reset [-IQVcqrsw] [-] [-e ch] [-i ch] [-k ch] [-m mapping] [terminal]

Example: Suppose we have a terminal screen with a bunch of commands written on the screen and when we will use the reset command then we will have initialized terminal screen as shown below: Before using reset command After using reset command Options:

Article Tags :