- Mostly While setting up web server, I was run multiple commands as root user.
- After that I realize I’ve to change ownership of web root :(
- By using following command we can directly create directory, copy files with given username instead of root user.
Syntax
Examples
Post Navigation
Useful Bash Commands How to Create Directory and Change Permission With Single Command