LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cd ..' doesnt change first 5 lines on screen (https://www.linuxquestions.org/questions/linux-software-2/cd-doesnt-change-first-5-lines-on-screen-106772/)

slackwarefan 10-21-2003 12:29 PM

cd ..' doesnt change first 5 lines on screen
 
I was trying to change directories and i typed cd ..' accidentally and it gave me a prompt with the greater than sign. I hit enter thinking that it would get me out of the prompt but i was still there so i pressed Ctrl-C, and now once the screen is full and it moves the text up so that you can see the result of the command that you typed, the first five lines remain the same. The only way i can clear the lines is to use the clear command, but when i get to the bottom of the screen the first five lines still don't change. Could someone please help because this is driving me crazy.

david_ross 10-21-2003 12:42 PM

Try typing:
reset

david_ross 10-21-2003 01:22 PM

I shoudl have added - if it is when going through your history then logout of all conections for that user then login and edit "~/.bash_history" and remove the 5 of so lines that the command added to your history. Yo ucan clear your whole history with:
history -c


All times are GMT -5. The time now is 11:45 PM.