Sunday, January 24, 2010

melihat user dalam account

25/JAN/MON

$ls /home
/student

$ls
log -term.log

$ ls -a pythonlist.txt

-rwx r- xr-x

- : - (permission)


-rwx r- xr-x

w (write)
r (read)

$nano pythonlist.txt : click file (for edit file)
: CTRL -O ( for save)
: CTRL – x (for exit)


kaedah untuk sembunyikan file dan kembali kepada keadaan biasa.

$ chmod u-r pythonlist.txt (sembunyikan file)
$ chmod u+rw pythonlist.txt (kembali keadaan biasa)


$ chmod u-r pythonlist.txt

u (user)
g (group)
o (other)

$ chmod uxrw pythonlist

No comments:

Post a Comment