Instruction
stringlengths 13
387
| Response
stringlengths 1
532
| Text
stringlengths 158
1.06k
|
---|---|---|
Calculate the md5sum of the executable file of command "gcc" | md5sum $(which gcc) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5sum of the executable file of command "gcc" ### Response: md5sum $(which gcc) |
Calculate the md5sum of the executable file of command 'c++' | md5sum `which c++` | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5sum of the executable file of command 'c++' ### Response: md5sum `which c++` |
Calculate the total disk usage for each ".jpg" file on the system and prepend the system host name to the output | find "$PWD" / -iname '*.jpg' -exec du -s {} + | sed "s/^/$(hostname): /" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the total disk usage for each ".jpg" file on the system and prepend the system host name to the output ### Response: find "$PWD" / -iname '*.jpg' -exec du -s {} + | sed "s/^/$(hostname): /" |
Calculate the total size of all *.jpg files in the directory tree | find . -name "*jpg" -exec du -k {} \; | awk '{ total += $1 } END { print total/1024 " Mb total" }' | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the total size of all *.jpg files in the directory tree ### Response: find . -name "*jpg" -exec du -k {} \; | awk '{ total += $1 } END { print total/1024 " Mb total" }' |
Calculates process depth of process with id $processid, and stores it in a 'depth' variable. | depth=$(pstree -sA $processid | head -n1 | sed -e 's#-+-.*#---foobar#' -e 's#---*#\n#g' -eq | wc -l) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculates process depth of process with id $processid, and stores it in a 'depth' variable. ### Response: depth=$(pstree -sA $processid | head -n1 | sed -e 's#-+-.*#---foobar#' -e 's#---*#\n#g' -eq | wc -l) |
Case-insensitive search all existing environment variables and their values for "shell". | env | grep -i shell | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Case-insensitive search all existing environment variables and their values for "shell". ### Response: env | grep -i shell |
Case-insensitive search for "error" in file report.txt, display one page at a time, waiting for user interaction between each. | cat report.txt | grep -i error | more | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Case-insensitive search for "error" in file report.txt, display one page at a time, waiting for user interaction between each. ### Response: cat report.txt | grep -i error | more |
Change all "JPG" filename suffixes in current directory to "jpeg". | rename -v 's/\.JPG/\.jpeg/' *.JPG | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all "JPG" filename suffixes in current directory to "jpeg". ### Response: rename -v 's/\.JPG/\.jpeg/' *.JPG |
Change all cron jobs running "anm.sh" to be run every 10 minutes instead of 5 minutes. | crontab -l | sed '/anm\.sh/s#\/5#\/10#' | crontab - | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all cron jobs running "anm.sh" to be run every 10 minutes instead of 5 minutes. ### Response: crontab -l | sed '/anm\.sh/s#\/5#\/10#' | crontab - |
Change all cron jobs running "anm.sh" to be run every 10 minutes instead of 5 minutes. | crontab -l | sed '/anm\.sh/s,^\*/5,*/10,' | crontab - | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all cron jobs running "anm.sh" to be run every 10 minutes instead of 5 minutes. ### Response: crontab -l | sed '/anm\.sh/s,^\*/5,*/10,' | crontab - |
Change all directories under "./bootstrap/cache/" to owner "apache" and group "laravel" | sudo find ./bootstrap/cache/ -type d -exec chown apache:laravel {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all directories under "./bootstrap/cache/" to owner "apache" and group "laravel" ### Response: sudo find ./bootstrap/cache/ -type d -exec chown apache:laravel {} \; |
Change all directories under "./storage/" to owner "apache" and group "laravel" | sudo find ./storage/ -type d -exec chown apache:laravel {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all directories under "./storage/" to owner "apache" and group "laravel" ### Response: sudo find ./storage/ -type d -exec chown apache:laravel {} \; |
Change all file permissions to 664 and all directory permissions to 775 in directory tree "htdocs" | find htdocs -type f -exec chmod 664 {} + -o -type d -exec chmod 775 {} + | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all file permissions to 664 and all directory permissions to 775 in directory tree "htdocs" ### Response: find htdocs -type f -exec chmod 664 {} + -o -type d -exec chmod 775 {} + |
Change all files in "~" which are owned by the group "vboxusers" to be owned by the user group "kent" | find ~ -group vboxusers -exec chown kent:kent {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all files in "~" which are owned by the group "vboxusers" to be owned by the user group "kent" ### Response: find ~ -group vboxusers -exec chown kent:kent {} \; |
Change all files in the current directory tree to owner "xx" | find . \( \! -user xx -exec chown -- xx '{}' + -false \) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all files in the current directory tree to owner "xx" ### Response: find . \( \! -user xx -exec chown -- xx '{}' + -false \) |
Change all files with no user under "/var/www" to have owner "root" and group "apache" | sudo find /var/www -nouser -exec chown root:apache {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change all files with no user under "/var/www" to have owner "root" and group "apache" ### Response: sudo find /var/www -nouser -exec chown root:apache {} \; |
Change directory to "$dir1" and resolve any symlinks in the resulting path | cd -P "$dir1" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to "$dir1" and resolve any symlinks in the resulting path ### Response: cd -P "$dir1" |
Change directory to "/lib/modules/" of the current kernel release | cd /lib/modules/$(uname -r)/ | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to "/lib/modules/" of the current kernel release ### Response: cd /lib/modules/$(uname -r)/ |
Change directory to "/path/to/pdf" | cd /path/to/pdf | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to "/path/to/pdf" ### Response: cd /path/to/pdf |
Change directory to parent directory and do not resolve any symlinks in the resulting path | cd -L .. | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to parent directory and do not resolve any symlinks in the resulting path ### Response: cd -L .. |
Change directory to the "lib" directory located two parent directories above the path to command "perl" | cd $(dirname $(dirname $(which perl)))/lib | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the "lib" directory located two parent directories above the path to command "perl" ### Response: cd $(dirname $(dirname $(which perl)))/lib |
Change directory to the alphabetically last path under the current directory | cd "$(find . -print0 | sort -z | tr '\0' '\n' | tail -1)" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the alphabetically last path under the current directory ### Response: cd "$(find . -print0 | sort -z | tr '\0' '\n' | tail -1)" |
Change directory to the basename of "$1" with ".tar.gz" removed | cd $(basename $1 .tar.gz) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the basename of "$1" with ".tar.gz" removed ### Response: cd $(basename $1 .tar.gz) |
Change directory to the current user's home directory | cd /home/`whoami` | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the current user's home directory ### Response: cd /home/`whoami` |
Change directory to the directory containing file path "$1" | cd "$(dirname "$1")" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing file path "$1" ### Response: cd "$(dirname "$1")" |
Change directory to the directory containing the "oracle" executable | cd "$(dirname $(which oracle))" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing the "oracle" executable ### Response: cd "$(dirname $(which oracle))" |
Change directory to the directory containing the "oracle" executable | cd $(dirname $(which oracle)) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing the "oracle" executable ### Response: cd $(dirname $(which oracle)) |
Change directory to the directory containing the "oracle" executable | cd $(dirname `which oracle`) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing the "oracle" executable ### Response: cd $(dirname `which oracle`) |
Change directory to the directory containing the current script | cd $(dirname $(which $0) ) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing the current script ### Response: cd $(dirname $(which $0) ) |
Change directory to the directory containing the executable file of command "oracle" | cd $(which oracle | xargs dirname) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the directory containing the executable file of command "oracle" ### Response: cd $(which oracle | xargs dirname) |
Change directory to the download directory specified in the current user's user-dirs.dirs file | cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -d "=" | tr "\"" "\n" | tr -d "\n")" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the download directory specified in the current user's user-dirs.dirs file ### Response: cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -d "=" | tr "\"" "\n" | tr -d "\n")" |
Change directory to the download directory specified in the current user's user-dirs.dirs file | cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -d "=" | tr "\"" "\n")" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the download directory specified in the current user's user-dirs.dirs file ### Response: cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -d "=" | tr "\"" "\n")" |
Change directory to the output of command '~/marker.sh go "$@"' | cd $( ~/marker.sh go "$@" ) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the output of command '~/marker.sh go "$@"' ### Response: cd $( ~/marker.sh go "$@" ) |
Change directory to the parent of the real path of the current script | cd $(dirname $(readlink -f $0)) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the parent of the real path of the current script ### Response: cd $(dirname $(readlink -f $0)) |
Change directory to the real path of the current working directory of process "$PID" | cd $(readlink /proc/$PID/cwd) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the real path of the current working directory of process "$PID" ### Response: cd $(readlink /proc/$PID/cwd) |
Change directory to the real path of the directory containing the current script | cd $(readlink -f $(dirname $0)) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the real path of the directory containing the current script ### Response: cd $(readlink -f $(dirname $0)) |
Change directory to the user's home directory | cd | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change directory to the user's home directory ### Response: cd |
Change every directory under "/var/www/html/" to have permissions 775 | sudo find /var/www/html/ -type d -exec chmod 775 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change every directory under "/var/www/html/" to have permissions 775 ### Response: sudo find /var/www/html/ -type d -exec chmod 775 {} \; |
Change every file under "/var/www/html/" to have permissions 664 | sudo find /var/www/html/ -type f -exec chmod 664 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change every file under "/var/www/html/" to have permissions 664 ### Response: sudo find /var/www/html/ -type f -exec chmod 664 {} \; |
Change every reference to the colour red to green in all CSS files | find . -name "*.css" -exec sed -i -r 's/#(FF0000|F00)\b/#0F0/' {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change every reference to the colour red to green in all CSS files ### Response: find . -name "*.css" -exec sed -i -r 's/#(FF0000|F00)\b/#0F0/' {} \; |
Change file owner and group of "/path/to/yourapp" to root and print a diagnostic | chown -v root:root /path/to/yourapp | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change file owner and group of "/path/to/yourapp" to root and print a diagnostic ### Response: chown -v root:root /path/to/yourapp |
Change file permissions on all regular files within a directory | find /path/to/directory -type f -exec chmod 644 {} + | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change file permissions on all regular files within a directory ### Response: find /path/to/directory -type f -exec chmod 644 {} + |
Change folder to the one where $0 link target file is located. | cd $(dirname $(readlink -f $0)) | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change folder to the one where $0 link target file is located. ### Response: cd $(dirname $(readlink -f $0)) |
Change group ownership to `foo' for files with GID=2000 | find / -group 2000 -exec chgrp -h foo {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change group ownership to `foo' for files with GID=2000 ### Response: find / -group 2000 -exec chgrp -h foo {} \; |
Change mode of all files ending with ".php" under the current folder to 755 and write the output to the console and "logfile.txt" file | find . -name '*.php' -exec chmod 755 {} \; | tee logfile.txt | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change mode of all files ending with ".php" under the current folder to 755 and write the output to the console and "logfile.txt" file ### Response: find . -name '*.php' -exec chmod 755 {} \; | tee logfile.txt |
Change onwer of "file" to "user_name" | chown user_name file | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change onwer of "file" to "user_name" ### Response: chown user_name file |
Change onwer to "root" and group to "wheel" of "com.xxxx.adbind.plist" | sudo chown root:wheel com.xxxx.adbind.plist | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change onwer to "root" and group to "wheel" of "com.xxxx.adbind.plist" ### Response: sudo chown root:wheel com.xxxx.adbind.plist |
Change owner and group of "script.sh" to "root" | chown root:root script.sh | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner and group of "script.sh" to "root" ### Response: chown root:root script.sh |
Change owner of "folder" to "user_name" | chown user_name folder | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner of "folder" to "user_name" ### Response: chown user_name folder |
Change owner of "my_test_expect.exp" to "el" | sudo chown el my_test_expect.exp | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner of "my_test_expect.exp" to "el" ### Response: sudo chown el my_test_expect.exp |
Change owner to "$1" and group to "httpd" of ".htaccess" | chown $1:httpd .htaccess | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "$1" and group to "httpd" of ".htaccess" ### Response: chown $1:httpd .htaccess |
Change owner to "$FUID" and group to "$FGID" of "$FILE2" | chown $FUID:$FGID "$FILE2" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "$FUID" and group to "$FGID" of "$FILE2" ### Response: chown $FUID:$FGID "$FILE2" |
Change owner to "$user" and group to "$group" of "$file" | chown -- "$user:$group" "$file" | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "$user" and group to "$group" of "$file" ### Response: chown -- "$user:$group" "$file" |
Change owner to "bob" and group to "sftponly" of "/home/bob/writable" | sudo chown bob:sftponly /home/bob/writable | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "bob" and group to "sftponly" of "/home/bob/writable" ### Response: sudo chown bob:sftponly /home/bob/writable |
Change owner to "root" and group to "dockerroot" of "/var/run/docker.sock" | sudo chown root:dockerroot /var/run/docker.sock | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "root" and group to "dockerroot" of "/var/run/docker.sock" ### Response: sudo chown root:dockerroot /var/run/docker.sock |
Change owner to "root" and group to "wheel" of "adbind.bash" | sudo chown root:wheel adbind.bash | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "root" and group to "wheel" of "adbind.bash" ### Response: sudo chown root:wheel adbind.bash |
Change owner to "root" and group to "wheel" of "bin" | sudo chown root:wheel bin | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "root" and group to "wheel" of "bin" ### Response: sudo chown root:wheel bin |
Change owner to "root" and group to "www-data" of "/foobar/test_file" | sudo chown root:www-data /foobar/test_file | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change owner to "root" and group to "www-data" of "/foobar/test_file" ### Response: sudo chown root:www-data /foobar/test_file |
Change ownership of "/data/db" to the current user | sudo chown `whoami` /data/db | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change ownership of "/data/db" to the current user ### Response: sudo chown `whoami` /data/db |
Change ownership of "/vol" to the current user | sudo chown `whoami` /vol | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change ownership of "/vol" to the current user ### Response: sudo chown `whoami` /vol |
Change permission to 000 of all directories named '.texturedata' under '/path/to/look/in/' directory tree | find /path/to/look/in/ -type d -name '.texturedata' -exec chmod 000 {} \; -prune | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permission to 000 of all directories named '.texturedata' under '/path/to/look/in/' directory tree ### Response: find /path/to/look/in/ -type d -name '.texturedata' -exec chmod 000 {} \; -prune |
Change permission to 000 of all directories named '.texturedata' under '/path/to/look/in/' directory tree | find /path/to/look/in/ -type d -name '.texturedata' -prune -print0 | xargs -0 chmod 000 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permission to 000 of all directories named '.texturedata' under '/path/to/look/in/' directory tree ### Response: find /path/to/look/in/ -type d -name '.texturedata' -prune -print0 | xargs -0 chmod 000 |
Change permission to 755 for all directories under $d directory tree | find "$d/" -type d -print0 | xargs -0 chmod 755 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permission to 755 for all directories under $d directory tree ### Response: find "$d/" -type d -print0 | xargs -0 chmod 755 |
Change permission to 755 of all files/directories under current directory tree that have 777 permission | find -perm 777 | xargs -I@ sudo chmod 755 '@' | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permission to 755 of all files/directories under current directory tree that have 777 permission ### Response: find -perm 777 | xargs -I@ sudo chmod 755 '@' |
Change permissions for all PHP files under the current directory tree to 755 | find . -name "*.php" -exec chmod 755 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions for all PHP files under the current directory tree to 755 ### Response: find . -name "*.php" -exec chmod 755 {} \; |
Change permissions for all PHP files under the current directory tree to 755 and print the number of files changed | find . -name "*.php" -exec chmod 755 {} + -printf '.' | wc -c | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions for all PHP files under the current directory tree to 755 and print the number of files changed ### Response: find . -name "*.php" -exec chmod 755 {} + -printf '.' | wc -c |
Change permissions for all PHP files under the current directory tree to 755 and print the number of files changed | find . -name "*.php" -exec chmod 755 {} \; -exec /bin/echo {} \; | wc -l | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions for all PHP files under the current directory tree to 755 and print the number of files changed ### Response: find . -name "*.php" -exec chmod 755 {} \; -exec /bin/echo {} \; | wc -l |
Change permissions of ".bash_logout", ".bashrc", and ".profile" to 444 | chmod 444 .bash_logout .bashrc .profile | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of ".bash_logout", ".bashrc", and ".profile" to 444 ### Response: chmod 444 .bash_logout .bashrc .profile |
Change permissions of ".git/hooks/pre-commit" to 777 | sudo chmod 755 .git/hooks/pre-commit | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of ".git/hooks/pre-commit" to 777 ### Response: sudo chmod 755 .git/hooks/pre-commit |
Change permissions of ".git/hooks/prepare-commit-msg" to 777 | sudo chmod 777 .git/hooks/prepare-commit-msg | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of ".git/hooks/prepare-commit-msg" to 777 ### Response: sudo chmod 777 .git/hooks/prepare-commit-msg |
Change permissions of "/dvtcolorconvert.rb" to 755 | sudo chmod 755 /dvtcolorconvert.rb | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of "/dvtcolorconvert.rb" to 755 ### Response: sudo chmod 755 /dvtcolorconvert.rb |
Change permissions of "/usr/bin/wget" to 777 | chmod 777 /usr/bin/wget | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of "/usr/bin/wget" to 777 ### Response: chmod 777 /usr/bin/wget |
Change permissions of "mksdcard" to 755 | sudo chmod 755 mksdcard | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of "mksdcard" to 755 ### Response: sudo chmod 755 mksdcard |
Change permissions of all directories from the current directory tree to 644 | find . -type d -exec chmod 755 {} + | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all directories from the current directory tree to 644 ### Response: find . -type d -exec chmod 755 {} + |
Change permissions of all directories in the ~/dir_data directory tree in accordance with mode `a+xr,u+w' | find ~/dir_data -type d -exec chmod a+xr,u+w {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all directories in the ~/dir_data directory tree in accordance with mode `a+xr,u+w' ### Response: find ~/dir_data -type d -exec chmod a+xr,u+w {} \; |
Change permissions of all directories residing under and below ./debian to 755 | find ./debian -type d | xargs chmod 755 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all directories residing under and below ./debian to 755 ### Response: find ./debian -type d | xargs chmod 755 |
Change permissions of all files ending ".php" under the current directory to 755 and print a count of modified files | find . -name "*.php" -exec chmod 755 {} + -printf '.' | wc -c | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all files ending ".php" under the current directory to 755 and print a count of modified files ### Response: find . -name "*.php" -exec chmod 755 {} + -printf '.' | wc -c |
Change permissions of all files ending in ".php" under the current directory to 755 and print a '+' for each file | find . -name '*.php' -exec chmod 755 {} \; -exec echo '+' \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all files ending in ".php" under the current directory to 755 and print a '+' for each file ### Response: find . -name '*.php' -exec chmod 755 {} \; -exec echo '+' \; |
Change permissions of all files ending in ".php" under the current directory to 755 and print a count of modified files | find . -name "*.php" -exec chmod 755 {} \; -exec /bin/echo {} \; | wc -l | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all files ending in ".php" under the current directory to 755 and print a count of modified files ### Response: find . -name "*.php" -exec chmod 755 {} \; -exec /bin/echo {} \; | wc -l |
Change permissions of all regular files from the current directory tree to 644 | find . -type f -exec chmod 644 {} + | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all regular files from the current directory tree to 644 ### Response: find . -type f -exec chmod 644 {} + |
Change permissions of all regular files in the ~/dir_data directory tree in accordance with mode `a-x,u+w' | find ~/dir_data -type f -exec chmod a-x,u+w {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of all regular files in the ~/dir_data directory tree in accordance with mode `a-x,u+w' ### Response: find ~/dir_data -type f -exec chmod a-x,u+w {} \; |
Change permissions of directory "/home/sshtunnel/" to 555 | chmod 555 /home/sshtunnel/ | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions of directory "/home/sshtunnel/" to 555 ### Response: chmod 555 /home/sshtunnel/ |
Change permissions to 0755 for all directories in the /path directory tree | find /path -type d -exec chmod 0755 "{}" \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 0755 for all directories in the /path directory tree ### Response: find /path -type d -exec chmod 0755 "{}" \; |
Change permissions to 0755 for all directories in the /path directory tree | find /path -type d -exec chmod 0755 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 0755 for all directories in the /path directory tree ### Response: find /path -type d -exec chmod 0755 {} \; |
Change permissions to 0755 for all directories in the /path directory tree | find /path -type d | xargs chmod 0755 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 0755 for all directories in the /path directory tree ### Response: find /path -type d | xargs chmod 0755 |
Change permissions to 500 for all regular files under and below the current directory | find . -type f -exec chmod 500 {} ';' | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 500 for all regular files under and below the current directory ### Response: find . -type f -exec chmod 500 {} ';' |
Change permissions to 600 for all regular .rb files in the current directory tree | find . -name "*.rb" -type f -exec chmod 600 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 600 for all regular .rb files in the current directory tree ### Response: find . -name "*.rb" -type f -exec chmod 600 {} \; |
Change permissions to 644 for *.html files under /usr/local | find /usr/local -name "*.html" -type f -exec chmod 644 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for *.html files under /usr/local ### Response: find /usr/local -name "*.html" -type f -exec chmod 644 {} \; |
Change permissions to 644 for all directories under and below /path/to/someDirectory/ | find /path/to/someDirectory -type d -print0 | xargs -0 sudo chmod 755 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all directories under and below /path/to/someDirectory/ ### Response: find /path/to/someDirectory -type d -print0 | xargs -0 sudo chmod 755 |
Change permissions to 644 for all files in the current directory tree | find . -type f | xargs -I{} chmod -v 644 {} | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all files in the current directory tree ### Response: find . -type f | xargs -I{} chmod -v 644 {} |
Change permissions to 644 for all files in the current directory tree | find . -type f | xargs chmod -v 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all files in the current directory tree ### Response: find . -type f | xargs chmod -v 644 |
Change permissions to 644 for all files showing the respective chmod command | find ./ -type f -print0 | xargs -t -0 chmod -v 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all files showing the respective chmod command ### Response: find ./ -type f -print0 | xargs -t -0 chmod -v 644 |
Change permissions to 644 for all regular files in and below the current directory | find . -type f -print | sed -e 's/^/"/' -e 's/$/"/' | xargs chmod 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all regular files in and below the current directory ### Response: find . -type f -print | sed -e 's/^/"/' -e 's/$/"/' | xargs chmod 644 |
Change permissions to 644 for all regular files under and below /path/to/someDirectory/ | find /path/to/someDirectory -type f -print0 | xargs -0 sudo chmod 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all regular files under and below /path/to/someDirectory/ ### Response: find /path/to/someDirectory -type f -print0 | xargs -0 sudo chmod 644 |
Change permissions to 644 for all regular files under the /path/to/dir/ tree | find /path/to/dir/ -type f -print0 | xargs -0 chmod 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all regular files under the /path/to/dir/ tree ### Response: find /path/to/dir/ -type f -print0 | xargs -0 chmod 644 |
Change permissions to 644 for all regular files under the /path/to/dir/ tree unless these permissions are already set | find /path/to/dir ! -perm 0644 -exec chmod 0644 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all regular files under the /path/to/dir/ tree unless these permissions are already set ### Response: find /path/to/dir ! -perm 0644 -exec chmod 0644 {} \; |
Change permissions to 644 for all regular files under the /path/to/dir/ tree unless these permissions are already set | find /path/to/dir/ -type f ! -perm 0644 -print0 | xargs -0 chmod 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all regular files under the /path/to/dir/ tree unless these permissions are already set ### Response: find /path/to/dir/ -type f ! -perm 0644 -print0 | xargs -0 chmod 644 |
Change permissions to 644 for all subdirectories | find . -type d -print0|xargs -0 chmod 644 | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 for all subdirectories ### Response: find . -type d -print0|xargs -0 chmod 644 |
Change permissions to 644 of multiple files with permissions 755 | find . -perm 755 -exec chmod 644 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 of multiple files with permissions 755 ### Response: find . -perm 755 -exec chmod 644 {} \; |
Change permissions to 644 of multiple regular files with permissions 755 | find . -type f -perm 755 -exec chmod 644 {} \; | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 of multiple regular files with permissions 755 ### Response: find . -type f -perm 755 -exec chmod 644 {} \; |