Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
With MS-DOS there is the cls command to clear the screen. Does Linux has such an equivalent command ?...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    11

    What is the command to clear the screen ?

    With MS-DOS there is the cls command to clear the screen. Does Linux has such an equivalent command ?

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You answered that one yourself!
    Code:
    Clear
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Hello

    You can find a nice listing of Linux commands here:

    Linux Command Directory - O'Reilly Media
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    rrl
    rrl is offline
    Just Joined!
    Join Date
    May 2011
    Location
    NJ
    Posts
    45
    There is a Linux command called apropos
    If you want to try to find a command based on what it does or might do you can use this.
    For instance you could type apropos clear screen, it it should return commands that relate to those words.

    apropos network would return commands like ifconfig and iwconfig.
    Maybe this might be helpful to you in the future.

  5. #5
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3
    clear
    This command is self explanatory...

    Search google next time

  6. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    5
    You can also quickly clear the terminal screen with ctrl-l

  7. #7
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    140
    Quote Originally Posted by stber321 View Post
    clear
    This command is self explanatory...

    Search google next time
    Kind of ill mannered. This question was answered several hours earlier, anyway.

    Pheromix, if you spend some time in the /bin directory, reading the manuals for the programs there, you'll learn a lot, quickly. To rean the manual, type
    Code:
    man programname
    Most of the manuals aren't too difficult to read.

  8. #8
    Just Joined!
    Join Date
    Nov 2006
    Location
    near Berea, Kentucky (in a tipi)
    Posts
    34
    Quote Originally Posted by pheromix View Post
    With MS-DOS there is the cls command to clear the screen. Does Linux has such an equivalent command ?
    I hope (none of you) will accuse me of splitting hairs. I do need to point out that "Linux" has no command to clear the screen. The "clear" or Ctrl-L belongs to the shell (I'm guessing bash).

  9. #9
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Probably worth noting that unlike cls in DOS, the clear command does not actually clear anything. Scrolling upward will reveal previous screen contents.

  10. #10
    Linux Newbie glene77is's Avatar
    Join Date
    Dec 2009
    Location
    Memphis, TN
    Posts
    114
    Quote Originally Posted by Mudgen View Post
    Probably worth noting that unlike cls in DOS, the clear command does not actually clear anything. Scrolling upward will reveal previous screen contents.
    Good point, just a pseudo-clear.
    I wondered about that.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...