Chown time saver

                              
Here’s another little time saver that I use quite a lot with the chown command.

If you want to change the ownership of a file in linux to a user and group that have the same name, you could use the command :


chown mike:mike filename


A nifty little short cut here is to write it as :


chown mike. filename



Here, the . (full-stop / period) after the username mike, also sets the group to mike!

Tags: ,

Leave a Reply