Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change owner of all the files from a directory linux

chown -R username:group directory
Comment

how to change owner of all files in a directory

# Using the '*' wildcard you can include all other files and dirs
# Only us as many wildcards as you have layers in you directory
sudo chown <username:username> <directory_name>/*/*
Comment

PREVIOUS NEXT
Code Example
Shell :: grep empty lines in a file 
Shell :: how to exit telnet linux 
Shell :: bash see active ports 
Shell :: see default gateway linux 
Shell :: change user to sudo kali 
Shell :: assign home directory to user linux 
Shell :: apt install crunch kali linux 
Shell :: Undo commit and keep all files staged 
Shell :: bash create folder with spaces 
Shell :: certbot expand certificate 
Shell :: start mariadb on linux terminal 
Shell :: ubuntu see ram usage 
Shell :: bash count duplicate lines in a file 
Shell :: git get clean remote branch 
Shell :: how to set up git for github 
Shell :: github how to clone private repo 
Shell :: jest 
Shell :: elevated privileges windows 10 
Shell :: bash get all files in directory as array 
Shell :: linux compress pdf 
Shell :: angular cli add ssl certificate 
Shell :: linux see group memebers 
Shell :: make executable bash script 
Shell :: remove space at end of each line file 
Shell :: install cypress 
Shell :: pwd in cmd 
Shell :: du linux several directories 
Shell :: list packages linux windows 
Shell :: bash remove trailing slash 
Shell :: clear metro bundler cache 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =