Clear! (clear your terminal screen)

Discussion in 'Beginner Tutorials' started by Rob, Jul 20, 2013.

  1. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    When you're typing a lot in a terminal and want to clear the screen quickly, you can do so easily a couple different ways.

    The one most people know about:
    Code:
    clear
    Yeah, simply type 'clear'.

    The one you'll use a lot more:
    Code:
    ctrl + l
    (hit the ctrl key, then a lowercase L)


    It doesn't make everything go away, you can actually see everything if you scroll up, but its very handy and I can't tell you how many times I use it each day.

    (really - I can't tell you, because when you type 'clear' you'll see it in your history, but if you use ctrl-l, it doesn't make it into history)
  2. Primit1v3

    Primit1v3 Member

    Messages:
    37
    Likes Received:
    10
    Trophy Points:
    8
  3. Technofhilia

    Technofhilia New Member

    Messages:
    7
    Likes Received:
    7
    Trophy Points:
    3
    You can even use reset

    Sent from my Nexus 4
    Impossible likes this.
  4. xiongfang

    xiongfang New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
  5. Impossible

    Impossible New Member

    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    so its: 'clear' 'ctrl + l' 'reset'
    I'm loving these tutorials. I was thinking "wow, it really clears it" but not technically, like you mentioned "It doesn't make everything go away, you can actually see everything if you scroll up" anyways thanks!
  6. Abhishek Solanki

    Abhishek Solanki New Member

    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
  7. BoZhang

    BoZhang New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    It ' useful for me. Thanks a lot.;)
  8. Collinux

    Collinux New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    A nice little trick I never knew. Thank you :)
  9. nicky123

    nicky123 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    i want to clear the screen during the execution of my c/c++ program...how can i do that?
    Thanks in advance....

    Attached Files:

  10. 1412

    1412 New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    "ctrl+l" ! I never knew it. A handy trick, thank you : )
  11. ZHANG/ZHIKUN

    ZHANG/ZHIKUN New Member

    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    3
    simple but instructive information. thanks.

Share This Page