Posts tagged cmd

chmod file/folder secara massal

Hasil dari share di Milis Ubuntu, untuk mengubah permission dari berkas/folder secara masal menggunakan tool find dapat menggunakan perintah:

untuk file

$ find -type f -print0 | xargs -0 chmod 600

untuk folder

$ find -type d -print0 | xargs -0 chmod 700

Sedangkan Symbolic | Octal nya adalah sebagai berikut

r w x            |     7
r w -             |     6
r - x              |    5
r - -              |     4
- w x            |     3
- w -             |     2
- - x             |     1
- - -              |     0

Again..

i’m forget again…

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\smilecrew>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\smilecrew>

ups….. :D

maybe this machine says "hi udienz this is not linux, it's not your computer it's internet cafe computer's"