Amuro
Amuro

Reputation: 3

UNIX clear command after program run

I'm having problem with inserting command 'clear' in bash script what I want is to clear the screen

printMenu
until [ $choice -eq 4 ]; do


done

Upvotes: 0

Views: 125

Answers (1)

PasteBT
PasteBT

Reputation: 2198

function printMenu {
    clear
    ...

done
clear

Upvotes: 1

Related Questions