sysntaks clear screen pada codeblock ubuntu

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
Post Reply
User avatar
juliarnasution
Posts: 1
Joined: 03 Oct 2014, 13:22
Location: semarang
Contact:

sysntaks clear screen pada codeblock ubuntu

Post by juliarnasution » 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
Posts: 2976
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Post by Malsasa » 18 Nov 2014, 15:09

Wa'alaykumussalam.

cls = Windows.
clear = Linux.

Pakai perintah Linux, bukan Windows.


User avatar
EKOSUHARTONO
Posts: 9
Joined: 26 Sep 2012, 12:27
Location: Nganjuk, Indonesia
Contact:

Post by EKOSUHARTONO » 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 9 guests