Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change permissions on all files in all sub-directories

find /path/to/directory -type f -exec chmod 664 {} ;
Comment

change permissions on all sub-directories

find /path/to/directory -type d -exec chmod 775 {} ;
Comment

find change permissions to subdirectories

sudo find /var/www/html -type d -exec chmod 755 {} ;
Comment

change permissions on all files in all sub-directories

find /path/to/directory -type f -exec chmod 664 {} ;
Comment

change permissions on all sub-directories

find /path/to/directory -type d -exec chmod 775 {} ;
Comment

find change permissions to subdirectories

sudo find /var/www/html -type d -exec chmod 755 {} ;
Comment

PREVIOUS NEXT
Code Example
Shell :: docker run restart on boot 
Shell :: stripe installation 
Shell :: history-search-backward zsh mac 
Shell :: osx copy output to clipboard terminal 
Shell :: how to chmod to exec 
Shell :: perfect git commit 
Shell :: validate ssl certificate on website using curl 
Shell :: update hstr editor 
Shell :: cmd stop process on port 
Shell :: failed to restart mysql.service: unit mysql.service not found. 
Shell :: Upgrading/ updating dart sdk 
Shell :: suspend command for linux 
Shell :: fsl reg 
Shell :: linux execute permission denied 
Shell :: xrandr 
Shell :: how to download youtube vides on linux 
Shell :: port kill ubuntu 
Shell :: windows 10 openssh server install failed 
Shell :: bash generate random number between 
Shell :: git commit -m author identity unknown 
Shell :: git stash show files changed 
Shell :: xcode debug show full string 
Shell :: installing zsh oh my zsh wsl 
Shell :: sudo apt install openjdk-14-jdk 
Shell :: bash concatenate gzipped files 
Shell :: generate a random password bash 
Shell :: test internet speed command line 
Shell :: linux copy all files with extension 
Shell :: linux restart service 
Shell :: array and for loop bash 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =