How to clear the command line if you need to have a clean shell window in Linux

H
  • Knowledge Base
  • Linux
  • How to clear the command line if you need to have a clean shell window in Linux
  1. Type in the ‘clear‘ command and hit enter.
  2. Alternatively press the key combination ‘CTRL+L‘ together and it should also clear the screen.

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me