[HELP] skrip hitung file/directory

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
pratiwi
Posts: 19
Joined: 17 Mar 2013, 00:22
Location: Madiun,Indonesia

[HELP] skrip hitung file/directory

Postby pratiwi » 08 Apr 2013, 12:48

cara buat skrip yang dapat menghitung jumlah file dalam direktori /bin ,gimana gan ??
User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Re: [HELP] skrip hitung file/directory

Postby nif » 08 Apr 2013, 13:17

man ls
man wc
User avatar
pratiwi
Posts: 19
Joined: 17 Mar 2013, 00:22
Location: Madiun,Indonesia

Re: [HELP] skrip hitung file/directory

Postby pratiwi » 08 Apr 2013, 14:05

tapi menghitung jumlah filenya menggunakan perintah bash ,gan??
User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Re: [HELP] skrip hitung file/directory

Postby nif » 10 Apr 2013, 06:59

ya udah, saya bantu dikit, selebihnya silahkan dipelajari sendiri

nif@offline-pc:~$ ls -1 /bin | wc -l
151
nif@offline-pc:~$

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 6 guests