sysntaks clear screen pada codeblock ubuntu

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
Post Reply
User avatar
juliarnasution
Contact:

sysntaks clear screen pada codeblock ubuntu

Post 18 Nov 2014, 10:35

assalamu alaikum..............
mohon bantuannya bantuannya.... cara menggunakan clear screen di code block ubuntu gimana yah.... saya pake system("cls") hasilnya malah "sh:1:cls : not found" :confused:


User avatar
Malsasa
Contact:

Post 18 Nov 2014, 15:09

Wa'alaykumussalam.

cls = Windows.
clear = Linux.

Pakai perintah Linux, bukan Windows.


User avatar
EKOSUHARTONO
Contact:

Post 18 Nov 2014, 23:14

Malsasa wrote:Wa'alaykumussalam.

cls = Windows.
clear = Linux.

Pakai perintah Linux, bukan Windows.
iya setuju, harus dibedakan antara syntax di windows atau Linux


Post Reply

Who is online

Users browsing this forum: No registered users and 83 guests