Skip to content
Advertisement

Clear screen in a Linux terminal using assembly?

Is there a way to clear the screen in a terminal window with nasm?

By clear the screen, I mean emulate the Ctrl-L hotkey. Remove all text from the window.

Advertisement

Answer

In Bash:

JavaScript

In C:

JavaScript

How do I find the string:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement