Meaning of -R, --g, -G
I have the following two questions :
1) chown -R oracle.oinstall /usr/app
what is the meaning of "-R" . Here oracle and oinstall is the user and "/usr/app" is a directory .
2) useradd -g oinstall -G apache apache
What is the meaning of SMALL 'g' and CAPITAL 'G' ?
Here I make "oinstall" and "apache" both are group .