reset command not found. Install reset on CentOS 8
reset command not found. Install reset command on CentOS 8 / RHEL 8 server
Follow the below steps to fix reset command not found error on CentOS 8 / RHEL 8 server.
[root@server /]# reset
bash: reset: command not found
bash: /usr/bin/reset: No such file or directory
I got the above error on my CentOS 8 server. Reset command is used on Linux servers to clear the terminal screen and to bring terminal back to normal state.
On CentOS servers, reset command is provided by ncurses package and it might not be installed on your server.
1. You must log into your CentOS 8 / RHEL 8 server as ‘root’ or sudo user
2. Run the below command to check whether ‘ncurses’ package is installed or not
3. Install ‘ncurses’ package using yum command
4. Enter ‘y’ and press enter, if yum ask for confirmation.
5. Verify whether it is installed correctly
Type ‘reset’ command to reset the screen.
How to download and install ncurses rpm
1. Log into your CentOS 8 / Redhat 8 server as ‘root’ user
2. Download ncurses package from CentOS website using wget command
3. Install the downloaded rpm file using either yum or rpm command
(a) Install on CentOS 8 x86_64 server using yum command :
yum will install ncurses package and the required dependencies
(b) Install on CentOS 8 x86_64 server using rpm command :
You must download and install the dependencies if you are installing using rpm
Reset command usage
Usage: tset [options] [terminal]
-c set control characters
-e ch erase character
-I no initialization strings
-i ch interrupt character
-k ch kill character
-m mapping map identifier to type
-Q do not output control key settings
-q display term only, do no changes
-r display term on stderr
-s output TERM set command
-V print curses-version
-w set window-size
If neither -c/-w are given, both are assumed.