Clear the command shell window in Ubuntu Jelas jendela perintah shell di Ubuntu
Very simple, either use the clear command: Sangat sederhana, baik menggunakan perintah jelas:
clear bersih
or hit Ctrl+L atau tekan Ctrl + L

Daily Email Updates Harian Email Pembaharuan
You can get our how-to articles in your inbox each day for free. Anda bisa mendapatkan kita bagaimana-untuk artikel dalam kotak masuk Anda setiap hari secara gratis. Just enter your name and email below: Cukup masukkan nama dan email Anda di bawah ini:



CTRL+L is quite useful because of the large space between your last output and your current cursor position. CTRL + L adalah sangat berguna karena ruang yang besar antara keluaran terakhir Anda dan Anda saat ini posisi kursor.
These commands do *not* clear your command history; at best, they clear the terminal and move the prompt to the top of the window (if you're in a graphical desktop). Perintah-perintah ini tidak * tidak * menghapus sejarah perintah; di terbaik, mereka jelas dan pindah terminal prompt ke bagian atas jendela (jika Anda berada dalam desktop grafis). Press UP ARROW and you'll still see your command history. Tekan UP ARROW dan Anda masih akan melihat riwayat perintah anda.
To clear the command history of a terminal session, do Untuk menghapus sejarah perintah sesi terminal, lakukan
history -c sejarah-c