Terakhir diperbaharui: Jumat, 25 November 2016 pukul 16:57
To show hide file in mac, type command bellow in Terminal.
defaults write com.apple.finder AppleShowAllFiles YES
defaults write com.apple.finder AppleShowAllFiles NO
Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12
The command is:
chattr +i filename
And to disable it:
chattr -i filename
From man chattr:
A file with the
i attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
If you ever happen all your shortcut on the desktop can not open instead open windows media player or other programs which this happened by accident, either your kids play games or another thing, you can fix this file association by download a reg file on this link.