Sunday, September 24, 2017

chmod permission list

Hi...

To see the bit of OS
getconf LONG_BIT 

Permission command(chmod):-

CommandMeaning
chmod 400 fileTo protect a file against accidental overwriting.
chmod 500 directoryTo protect yourself from accidentally removing, renaming or moving files from this directory.
chmod 600 fileA private file only changeable by the user who entered this command.
chmod 644 fileA publicly readable file that can only be changed by the issuing user.
chmod 660 fileUsers belonging to your group can change this file, others don't have any access to it at all.
chmod 700 fileProtects a file against any access from other users, while the issuing user still has full access.
chmod 755 directoryFor files that should be readable and executable by others, but only changeable by the issuing user.
chmod 775 fileStandard file sharing mode for a group.
chmod 777 fileEverybody can do everything to this file.

To unzip file


tar xvzf file-1.0.tar.gz - to uncompress a gzip tar file (.tgz or .tar.gz)

Resource Link: http://sabbirahamed.blogspot.com/2014/02/simple-usefull-linux-command.html

No comments:

Post a Comment