sysntaks clear screen pada codeblock ubuntu

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

sysntaks clear screen pada codeblock ubuntu

Postby 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:

Re: sysntaks clear screen pada codeblock ubuntu

Postby 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:

Re: sysntaks clear screen pada codeblock ubuntu

Postby EKOSUHARTONO » 18 Nov 2014, 23:14

Wa'alaykumussalam.

cls = Windows.
clear = Linux.

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

Who is online

Users browsing this forum: No registered users and 20 guests