OmniSecu.com Logo  
omnisecu.com free mcse ccna rhce linux java learning
omnisecu.com free mcse ccna rhce linux java learning
          Sharefacebook twitter google+ google bookmark yahoo bookmark delicious digg linkedin pinterest reddit stumbleupon evernote diigo blinklist blogmarks livejournal email feed

Tutorials

How to use chown command to change linux user ownership of a file

External Resources

To change the owner of a file, we can use the Linux chown command.

Syntax for the chown command is chown <new_owner> <file_name>

[root@RHEL2 chowntest]# ls -l
total 0
-rw-r--r-- 1 root root 0 Jul  6 06:31 chowntest
[root@RHEL2 chowntest]# chown christy chowntest
[root@RHEL2 chowntest]# ls -l
total 0
-rw-r--r-- 1 christy root 0 Jul  6 06:31 chowntest
[root@RHEL2 chowntest]#

              Jajish Thomason Google+
Related Topics
The Linux File Permissions How to use chmod command to change Linux file permissions How to use chgrp command to change Linux group ownership of a file Linux setuid and setgid What is Linux umask?
comments powered by Disqus


eXTReMe Tracker DMCA.com