How to use Chown command

Jovani

Active member
Joined
Jul 10, 2012
Messages
335
Points
28
Hello,

I want to know about Chown command

I want to use this command for all files in a folder or a specific file

please guide me
Thanks in advanced
 

Alex Thompson

Moderator
Joined
Jun 6, 2013
Messages
652
Points
43
Hello,

I want to know about Chown command
I want to use this command for all files in a folder or a specific file

please guide me
Thanks in advanced
Login SSH using Putty or other programs

at # type this code
Code:
# chown -R username.username /path/to/folder/*
or parent directory
Code:
chown username.username public_html -R
for specific file
Code:
# chown -R username.username /path/to/folder/filename
Hope it helps!
 

TejasWebHosting

New member
Joined
Nov 9, 2014
Messages
33
Points
0
To use a shortcut, if you just do chown username. Filename (the dot is important) it will set the username automatically without having to type it again! Try it out...

Especially useful for cPanel ;)
 

kang28ivan

New member
Joined
Nov 10, 2014
Messages
7
Points
0
Complete, want to answer but many are giving way :D
Good luck
 
Older threads
Latest threads
Replies
1
Views
18
Replies
4
Views
32
Replies
2
Views
42
Recommended threads
Replies
3
Views
1,603
Replies
6
Views
2,000
Replies
0
Views
1,421

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top