Tag Archive


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

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!)