answersLogoWhite

0


Best Answer

You use the 'chown' command. You must be the owner of the file to do this or the super-user to change ownership.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change the owner of a file in Unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you change permissions on a shell script in unix?

Use the 'chmod' command to change permissions on any file. Note: you have to be the owner (or the superuser) to do this.


How do change a normal file to a hidden file in UNIX?

There are no actual "hidden" files in Unix. The only way to hide the existence of a file is to place it in a folder that no one has read permissions for.


What is the file permission 100 meant for in UNIX?

in unix permission is represent by rwx and owner group all. so 100 can be break into 001 000 000 which means only execute permission to owner.


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


The Unix file contains which kinds of fields?

The Unix file contains which kinds of fields?


What is the system file in Unix?

There is no the system file. There are many files necessary to create a working Unix system.


What is chown?

It is a terminal command to 'change owner' of a file.


Where would you find a host file on a unix server?

The host file in Unix is usually located in the /etc directory.


Is Unix a web browser?

Unix is a text file, not a web browser. :)


What has the author Douglas W Topham written?

Douglas W. Topham has written: 'A system V guide to UNIX and XENIX' -- subject(s): UNIX System V (Computer file), XENIX (Computer file) 'The first book of UNIX' 'UNIX and XENIX' -- subject(s): UNIX (Computer file), XENIX


How do you create dummy file in unix?

using touch command of UNIX. syntax touch <filename> will create dummy regular file.


How do you edit a file in UNIX?

To edit any file in Unix, use a file editor; there are several, including the venerable 'vi' program or 'vim', pico, nano, etc.