Tag Archive


amateur astronomy awk bash be b[e] supergiant cartoon conference convert evolved star exoplanet fedora figaro fits fun galaxy history iraf jupiter latex linux lmc machine learning massive star matplotlib meteor mypaper paper peblo photometry planet pro-am pyraf python scisoft skinakas observatory small magellanic cloud smc spectroscopy starlink talk theli ubuntu university of crete video x-ray

Changing file ownership

These are two commands to help us change the ownership of files, but we must be in the root or su mode first.

> chown <username> <file/folder> : used to change the owner of a file or folder

> chgrp <group> <file/folder> : used to change the group of a file or folder

> chown <username>.<group> <file/folder> : used to change the owner and the group in one step

> chown -R <username>.<group> <folder> : used to change the owner and the group of ALL files and directories under the parent <folder> (a very useful command !!)

(thanks to this post!)