Clear the command shell window in Ubuntu Skaidrs komandu korpusa logu Ubuntu
Very simple, either use the clear command: Ļoti vienkārši, vai nu izmantot skaidru komandu:
clear skaidrs
or hit Ctrl+L vai nospiediet Ctrl + L

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:



CTRL+L is quite useful because of the large space between your last output and your current cursor position. CTRL + L ir ļoti noderīgi, jo ar lielu attālumu starp Jūsu pēdējā produkciju un savu pašreizējo kursora pozīciju.
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). Šīs komandas do * neesi * skaidrs savu komandu vēsturē, labākajā gadījumā, tie skaidri termināla un pārvietot uzvedne augšējā loga (ja jūs esat ar grafisko desktop). Press UP ARROW and you'll still see your command history. Preses UP ARROW, un jūs joprojām redzēt savu komandu vēsturi.
To clear the command history of a terminal session, do Lai dzēstu komandu vēsturē termināļa sesiju, do
history -c vēsture-c