clear utility in Slackware 12.1
Hello. I have installed full distribution kit Slackware 12.1, but have not found there the program "clear" for screen clearing. It has appeared very much not conveniently. Somebody knows how to clear the screen in another way?
In advance thanks. |
Hi,
The 'clear' command is there. What terminal type? What happens when you issue the 'clear' from the cli within a terminal? You could try 'reset' from the terminal. Code:
excerpt from 'man clear'; |
clear is most certainly there, at least here it is, and I did not put it there myself :).
Try /usr/bin/clear Also: use whereis clear to see where all the stuff related to clear can be found. Finally, to answer your actual question: no, I do not know of any other way except by closing your present terminal and starting a new one. |
Apart finding out why the clear command is missing, in bash you can clear the terminal using Ctrl+L.
|
clear is there. Bad/incomplete install?
|
Thanks! Ctrl+L has helped me
I could not find clear among packages for installation on a disk. Man too has not worked. Tried to find clear with the find - but has not helped. reset too has not worked. It is possible to draw a conclusion, that clear does not enter in Slackware 12.1 (at least at me). |
It's there in /usr/bin for me, too. Did you do a full install?
|
Why not simply verify the presence/integrity of the ncurses package and eventually try to (re)install it? I'm not used to slackware, but the clear command is provided from ncurses as for other linux distributions.
|
I think this comment explains a lot ironperson's question.
Quote:
THey maybe confusing it with another distribution that may have clear as a separate package. :) |
I've reinstalled ncurses. Now it works!!!
It is interesting, why at full installation of the system clear did not work. |
Sounds like a bad install to me. If you did a full install and want to make sure you're not missing anything else you can use slackpkg and use the command
Code:
slackpkg install slackware |
All times are GMT -5. The time now is 09:23 PM. |