Instruction
stringlengths
13
387
Response
stringlengths
1
532
Text
stringlengths
158
1.06k
Change permissions to 644 recursively for PHP files.
find . -type f -name '*.php' -exec chmod 644 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 644 recursively for PHP files. ### Response: find . -type f -name '*.php' -exec chmod 644 {} \;
Change permissions to 644 recursively only for files
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 to 644 recursively only for files ### Response: find . -type f -exec chmod 644 {} \;
Change permissions to 700 for directories at the current level and deeper
find . -mindepth 1 -type d | xargs chmod 700
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 700 for directories at the current level and deeper ### Response: find . -mindepth 1 -type d | xargs chmod 700
Change permissions to 700 for files and directories deeper than the current directory
find . -mindepth 2 | xargs chmod 700
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 700 for files and directories deeper than the current directory ### Response: find . -mindepth 2 | xargs chmod 700
Change permissions to 755 for all directories in the /path/to/dir directory tree
find /path/to/dir -type d -exec chmod 755 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 755 for all directories in the /path/to/dir directory tree ### Response: find /path/to/dir -type d -exec chmod 755 {} \;
Change permissions to 755 for all directories in the current directory tree
find . -type d | xargs chmod -v 755
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 755 for all directories in the current directory tree ### Response: find . -type d | xargs chmod -v 755
Change permissions to 755 for all subdirectories of the current directory
find . -type d -print | sed -e 's/^/"/' -e 's/$/"/' | xargs chmod 755
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 755 for all subdirectories of the current directory ### Response: find . -type d -print | sed -e 's/^/"/' -e 's/$/"/' | xargs chmod 755
Change permissions to 755 recursively only for directories
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 to 755 recursively only for directories ### Response: find . -type d -exec chmod 755 {} \;
Change permissions to 777 for all directories in the current directory tree
find . -type d -exec chmod 777 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to 777 for all directories in the current directory tree ### Response: find . -type d -exec chmod 777 {} \;
Change permissions to u=rw,g=r,o= for all files in the current directory tree
find . -type f -exec chmod u=rw,g=r,o= '{}' \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to u=rw,g=r,o= for all files in the current directory tree ### Response: find . -type f -exec chmod u=rw,g=r,o= '{}' \;
Change permissions to u=rw,g=r,o= for all files inside the current directory tree
find . -type f -exec chmod u=rw,g=r,o= '{}' \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to u=rw,g=r,o= for all files inside the current directory tree ### Response: find . -type f -exec chmod u=rw,g=r,o= '{}' \;
Change permissions to u=rwx,g=rx,o= for all directories in the current directory tree
find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to u=rwx,g=rx,o= for all directories in the current directory tree ### Response: find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
Change permissions to u=rwx,g=rx,o= for all directories inside the current directory tree
find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permissions to u=rwx,g=rx,o= for all directories inside the current directory tree ### Response: find . -type d -exec chmod u=rwx,g=rx,o= '{}' \;
Change permssions of *.cgi files under directories htdocs and cgi-bin to 755
find htdocs cgi-bin -name "*.cgi" -type f -exec chmod 755 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change permssions of *.cgi files under directories htdocs and cgi-bin to 755 ### Response: find htdocs cgi-bin -name "*.cgi" -type f -exec chmod 755 {} \;
Change string "searc" to "replace" in all files in directory hierarchy
find . -type f -exec sed -i 's/searc/replace/g' {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change string "searc" to "replace" in all files in directory hierarchy ### Response: find . -type f -exec sed -i 's/searc/replace/g' {} \;
Change symbolic link "$f" into a file
cp --remove-destination $(readlink $f) $f
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change symbolic link "$f" into a file ### Response: cp --remove-destination $(readlink $f) $f
Change the file extension from '.txt' to '.bak' for all files/directories under current directory tree
find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the file extension from '.txt' to '.bak' for all files/directories under current directory tree ### Response: find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh
Change the group of "myfile" to "friends"
chown :friends myfile
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the group of "myfile" to "friends" ### Response: chown :friends myfile
Change the group of all directories (except those with a '.') under current directory tree to a group with the same name as the directory name
find . -type d | sed -e 's/\.\///g' -e 's/\./avoid/g' | grep -v avoid | awk '{print $1"\t"$1}' | xargs chgrp
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the group of all directories (except those with a '.') under current directory tree to a group with the same name as the directory name ### Response: find . -type d | sed -e 's/\.\///g' -e 's/\./avoid/g' | grep -v avoid | awk '{print $1"\t"$1}' | xargs chgrp
Change the group of all directories (except those with a '.') under current directory tree to a group with the same name as the directory name
find . -type d | sed -e 's/\.\///g' | awk '{print $1, $1}' | xargs chgrp
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the group of all directories (except those with a '.') under current directory tree to a group with the same name as the directory name ### Response: find . -type d | sed -e 's/\.\///g' | awk '{print $1, $1}' | xargs chgrp
Change the group to `temp' for all files in the current directory tree that belong to group `root'
find . -group root -print | xargs chgrp temp
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the group to `temp' for all files in the current directory tree that belong to group `root' ### Response: find . -group root -print | xargs chgrp temp
Change the owner and group of "it" to "root"
chown root:root it
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner and group of "it" to "root" ### Response: chown root:root it
Change the owner and group of "testfile.txt" to "root"
sudo chown root:root testfile.txt
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner and group of "testfile.txt" to "root" ### Response: sudo chown root:root testfile.txt
Change the owner and group of "uid_demo" to "root"
sudo chown root:root uid_demo
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner and group of "uid_demo" to "root" ### Response: sudo chown root:root uid_demo
Change the owner of "$JBOSS_CONSOLE_LOG" to "$JBOSS_USER"
chown $JBOSS_USER $JBOSS_CONSOLE_LOG
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of "$JBOSS_CONSOLE_LOG" to "$JBOSS_USER" ### Response: chown $JBOSS_USER $JBOSS_CONSOLE_LOG
Change the owner of "/var/www/html/mysite/images/" to "nobody"
sudo chown nobody /var/www/html/mysite/images/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of "/var/www/html/mysite/images/" to "nobody" ### Response: sudo chown nobody /var/www/html/mysite/images/
Change the owner of "/var/www/html/mysite/tmp_file_upload/" to "nobody"
sudo chown nobody /var/www/html/mysite/tmp_file_upload/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of "/var/www/html/mysite/tmp_file_upload/" to "nobody" ### Response: sudo chown nobody /var/www/html/mysite/tmp_file_upload/
Change the owner of "destination_dir" to "user"
chown user destination_dir
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of "destination_dir" to "user" ### Response: chown user destination_dir
Change the owner of "process" to "root"
sudo chown root process
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of "process" to "root" ### Response: sudo chown root process
Change the owner of all ".txt" files in directory tree "/mydir" to "root"
find /mydir -type f -name "*.txt" -execdir chown root {} ';'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all ".txt" files in directory tree "/mydir" to "root" ### Response: find /mydir -type f -name "*.txt" -execdir chown root {} ';'
Change the owner of all files in "/empty_dir/" to "root" using at most 10 files at a time
ls /empty_dir/ | xargs -L10 chown root
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all files in "/empty_dir/" to "root" using at most 10 files at a time ### Response: ls /empty_dir/ | xargs -L10 chown root
Change the owner of all files in "/empty_dir/" to "root" using at most 10 files at a time
ls /empty_dir/ | xargs -n10 chown root
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all files in "/empty_dir/" to "root" using at most 10 files at a time ### Response: ls /empty_dir/ | xargs -n10 chown root
Change the owner of all files in the current directory tree excluding those who match "./var/foo*" to "www-data"
find . -not -iwholename './var/foo*' -exec chown www-data '{}' \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all files in the current directory tree excluding those who match "./var/foo*" to "www-data" ### Response: find . -not -iwholename './var/foo*' -exec chown www-data '{}' \;
Change the owner of all files in the directory tree "dir_to_start" excluding directory "dir_to_exclude" to "owner"
find dir_to_start -name dir_to_exclude -prune -o -print0 | xargs -0 chown owner
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all files in the directory tree "dir_to_start" excluding directory "dir_to_exclude" to "owner" ### Response: find dir_to_start -name dir_to_exclude -prune -o -print0 | xargs -0 chown owner
Change the owner of all files in the directory tree "dir_to_start" excluding file "file_to_exclude" to "owner"
find dir_to_start -not -name "file_to_exclude" -print0 | xargs -0 chown owner
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner of all files in the directory tree "dir_to_start" excluding file "file_to_exclude" to "owner" ### Response: find dir_to_start -not -name "file_to_exclude" -print0 | xargs -0 chown owner
Change the owner to "hduser" and group to "hadoop" of "{directory path}"
sudo chown hduser:hadoop {directory path}
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner to "hduser" and group to "hadoop" of "{directory path}" ### Response: sudo chown hduser:hadoop {directory path}
Change the owner to "owner" and group to "nobody" of "public_html"
chown owner:nobody public_html
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner to "owner" and group to "nobody" of "public_html" ### Response: chown owner:nobody public_html
Change the owner to "root" and group to "specialusers" of "dir1"
chown root:specialusers dir1
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner to "root" and group to "specialusers" of "dir1" ### Response: chown root:specialusers dir1
Change the owner to "user" and group to "group" of files "file ..."
chown user:group file ...
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the owner to "user" and group to "group" of files "file ..." ### Response: chown user:group file ...
Change the ownership of "/etc/udev/rules.d/51-android.rules" to "root"
sudo chown root. /etc/udev/rules.d/51-android.rules
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of "/etc/udev/rules.d/51-android.rules" to "root" ### Response: sudo chown root. /etc/udev/rules.d/51-android.rules
Change the ownership of "/home/bob" to "root"
sudo chown root /home/bob
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of "/home/bob" to "root" ### Response: sudo chown root /home/bob
Change the ownership of "file.sh" to "root"
sudo chown root file.sh
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of "file.sh" to "root" ### Response: sudo chown root file.sh
Change the ownership of all aluno1's files in the current directory and below to aluno2
find . -user aluno1 -exec chown aluno2 {}
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of all aluno1's files in the current directory and below to aluno2 ### Response: find . -user aluno1 -exec chown aluno2 {}
Change the ownership of all files in the current directory tree from root to www-data
find -user root -exec chown www-data {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of all files in the current directory tree from root to www-data ### Response: find -user root -exec chown www-data {} \;
Change the ownership of all files in the current directory tree to myuser:a-common-group-name
find . -exec chown myuser:a-common-group-name {} +
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership of all files in the current directory tree to myuser:a-common-group-name ### Response: find . -exec chown myuser:a-common-group-name {} +
Change the ownership to eva for all files/directories that belong to the user 'george' in the entire file system without traversing to other devices/partitions
find -x / -user george -print0 | xargs -0 chown eva
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership to eva for all files/directories that belong to the user 'george' in the entire file system without traversing to other devices/partitions ### Response: find -x / -user george -print0 | xargs -0 chown eva
Change the ownership to the user daisy for all directories under current directory that are owned by harry
find . -type d -user harry -exec chown daisy {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the ownership to the user daisy for all directories under current directory that are owned by harry ### Response: find . -type d -user harry -exec chown daisy {} \;
Change the permission of all regular files under 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 the permission of all regular files under current directory tree to 644 ### Response: find . -type f -exec chmod 644 {} \;
Change the permission to 0644 for all files under current directory
find . -type f -exec chmod 0644 {} +
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permission to 0644 for all files under current directory ### Response: find . -type f -exec chmod 0644 {} +
Change the permission to 0644 for all files under current directory
find . -type f -exec chmod 0644 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permission to 0644 for all files under current directory ### Response: find . -type f -exec chmod 0644 {} \;
Change the permission to 0755 for all directories under current directory
find . -type d -exec chmod 0755 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permission to 0755 for all directories under current directory ### Response: find . -type d -exec chmod 0755 {} \;
Change the permission to 644 for all files under current directory
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 the permission to 644 for all files under current directory ### Response: find . -type f | xargs -I{} chmod -v 644 {}
Change the permission to 644 for all files under current directory
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 the permission to 644 for all files under current directory ### Response: find . -type f | xargs chmod -v 644
Change the permission to 755 for all directories under current directory
find . -type d | xargs chmod -v 755
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permission to 755 for all directories under current directory ### Response: find . -type d | xargs chmod -v 755
Change the permissions of all regular files whose names end with .mp3 in the directory tree /var/ftp/mp3
find /var/ftp/mp3 -name '*.mp3' -type f -exec chmod 644 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permissions of all regular files whose names end with .mp3 in the directory tree /var/ftp/mp3 ### Response: find /var/ftp/mp3 -name '*.mp3' -type f -exec chmod 644 {} \;
Change the permissions of every directory in the current directory and all files and directories within them to 700
find . -maxdepth 1 -type d -exec chmod -R 700 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permissions of every directory in the current directory and all files and directories within them to 700 ### Response: find . -maxdepth 1 -type d -exec chmod -R 700 {} \;
Change the permissions of the current directory and all its subdirectories to 755.
find . -type d -exec chmod 755 {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the permissions of the current directory and all its subdirectories to 755. ### Response: find . -type d -exec chmod 755 {} \;
Change the timestamp of symbolic link "somesymlink" to current date/time
touch -h somesymlink
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the timestamp of symbolic link "somesymlink" to current date/time ### Response: touch -h somesymlink
Change the user and group of all files and directories under /var/www to www-data:www-data
find /var/www -print0 | xargs -0 chown www-data:www-data
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the user and group of all files and directories under /var/www to www-data:www-data ### Response: find /var/www -print0 | xargs -0 chown www-data:www-data
Change the user to daisy for directories and subdirectories owned by harry
find . -type d -user harry -exec chown daisy {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change the user to daisy for directories and subdirectories owned by harry ### Response: find . -type d -user harry -exec chown daisy {} \;
Change to directory 'foo' and print to terminal all received on standard input
cd foo | cat
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to directory 'foo' and print to terminal all received on standard input ### Response: cd foo | cat
Change to directory 'xyz' and resolve any symlinks in the resulting path, making the physical path the current one.
cd -P xyz
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to directory 'xyz' and resolve any symlinks in the resulting path, making the physical path the current one. ### Response: cd -P xyz
Change to directory listed in file '$HOME/.lastdir'
cd `cat $HOME/.lastdir`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to directory listed in file '$HOME/.lastdir' ### Response: cd `cat $HOME/.lastdir`
Change to folder where the oracle binary is.
cd "$(dirname "$(which oracle)")"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to folder where the oracle binary is. ### Response: cd "$(dirname "$(which oracle)")"
Change to folder where the oracle binary is.
cd "$(dirname $(which oracle))"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to folder where the oracle binary is. ### Response: cd "$(dirname $(which oracle))"
Change to folder where the oracle binary is.
cd $(dirname $(which oracle))
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to folder where the oracle binary is. ### Response: cd $(dirname $(which oracle))
Change to folder where the oracle binary is.
cd $(dirname `which oracle`)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to folder where the oracle binary is. ### Response: cd $(dirname `which oracle`)
Change to folder where the oracle binary is.
cd $(which oracle | xargs dirname)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to folder where the oracle binary is. ### Response: cd $(which oracle | xargs dirname)
Change to location of '$TARGET_FILE' file.
cd `dirname $TARGET_FILE`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to location of '$TARGET_FILE' file. ### Response: cd `dirname $TARGET_FILE`
Change to parent directory and resolve any symlinks in the resulting path, making the physical path the current one.
cd -P ..
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to parent directory and resolve any symlinks in the resulting path, making the physical path the current one. ### Response: cd -P ..
Change 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 to the directory containing the "oracle" executable ### Response: cd "$(dirname "$(which oracle)")"
Change to the directory of the executable "python"
cd `dirname $(which python)`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to the directory of the executable "python" ### Response: cd `dirname $(which python)`
Change to the directory pointed by variable TAG
cd "$TAG"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change to the directory pointed by variable TAG ### Response: cd "$TAG"
Change user ownership to `foo' for files with UID=1005
find / -user 1005 -exec chown -h foo {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change user ownership to `foo' for files with UID=1005 ### Response: find / -user 1005 -exec chown -h foo {} \;
Change user to "amzadm" and group to "root" of "/usr/bin/aws"
chown amzadm.root /usr/bin/aws
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Change user to "amzadm" and group to "root" of "/usr/bin/aws" ### Response: chown amzadm.root /usr/bin/aws
Changes group ownership of '/etc/btsync/[prefered conf name].conf' to 'btsync'.
chgrp btsync /etc/btsync/[prefered conf name].conf
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of '/etc/btsync/[prefered conf name].conf' to 'btsync'. ### Response: chgrp btsync /etc/btsync/[prefered conf name].conf
Changes group ownership of '/home/www-user/php_user.sh' to 'www-data'.
chgrp www-data /home/www-user/php_user.sh
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of '/home/www-user/php_user.sh' to 'www-data'. ### Response: chgrp www-data /home/www-user/php_user.sh
Changes group ownership of '/var/run/fcgiwrap.socket' to 'forge'.
chgrp forge /var/run/fcgiwrap.socket
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of '/var/run/fcgiwrap.socket' to 'forge'. ### Response: chgrp forge /var/run/fcgiwrap.socket
Changes group ownership of 'logdir' to 'loggroup'.
chgrp loggroup logdir
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'logdir' to 'loggroup'. ### Response: chgrp loggroup logdir
Changes group ownership of 'myprog' to 'groupb'.
chgrp groupb myprog
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'myprog' to 'groupb'. ### Response: chgrp groupb myprog
Changes group ownership of 'myprogram' to ${USER} (the current user)
chgrp "${USER}" myprogram
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'myprogram' to ${USER} (the current user) ### Response: chgrp "${USER}" myprogram
Changes group ownership of 'public' and 'private' to 'god'.
chgrp god public private
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'public' and 'private' to 'god'. ### Response: chgrp god public private
Changes group ownership of 'public' to 'pub'.
chgrp pub public
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'public' to 'pub'. ### Response: chgrp pub public
Changes group ownership of 'shared' to 'Workers'.
chgrp Workers shared
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'shared' to 'Workers'. ### Response: chgrp Workers shared
Changes group ownership of 'target_directory' to 'target_group'.
chgrp target_group target_directory
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of 'target_directory' to 'target_group'. ### Response: chgrp target_group target_directory
Changes group ownership of /sys/class/gpio/export and /sys/class/gpio/unexport to 'gpio'.
sudo chgrp gpio /sys/class/gpio/export /sys/class/gpio/unexport
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes group ownership of /sys/class/gpio/export and /sys/class/gpio/unexport to 'gpio'. ### Response: sudo chgrp gpio /sys/class/gpio/export /sys/class/gpio/unexport
Changes the group of defined file.
chgrp
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes the group of defined file. ### Response: chgrp
Changes to the directory where 'ssh' executable is located.
cd $(dirname $(which ssh));
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Changes to the directory where 'ssh' executable is located. ### Response: cd $(dirname $(which ssh));
Check all .txt files whether they contain "needle"
find . -type f -iname "*.txt" -print | xargs grep "needle"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check all .txt files whether they contain "needle" ### Response: find . -type f -iname "*.txt" -print | xargs grep "needle"
Check all .txt files whose names may contain spaces whether they contain "needle"
find . -type f -iname "*.txt" -print0 | xargs -0 grep "needle"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check all .txt files whose names may contain spaces whether they contain "needle" ### Response: find . -type f -iname "*.txt" -print0 | xargs -0 grep "needle"
Check if "$file" contains DOS line endings
od -t x2 -N 1000 $file | cut -c8- | egrep -m1 -q ' 0d| 0d|0d$'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if "$file" contains DOS line endings ### Response: od -t x2 -N 1000 $file | cut -c8- | egrep -m1 -q ' 0d| 0d|0d$'
Check if "/path/to/dir" is a nfs mount point
mount -l | grep 'type nfs' | sed 's/.* on \([^ ]*\) .*/\1/' | grep /path/to/dir
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if "/path/to/dir" is a nfs mount point ### Response: mount -l | grep 'type nfs' | sed 's/.* on \([^ ]*\) .*/\1/' | grep /path/to/dir
Check if "\[$VLABEL\]" is mounted and save the result in variable "AMV"
AMV=$(mount -l | grep "\[$VLABEL\]")
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if "\[$VLABEL\]" is mounted and save the result in variable "AMV" ### Response: AMV=$(mount -l | grep "\[$VLABEL\]")
Check if "~/mnt/sdc1" is mounted
mount | grep -q ~/mnt/sdc1
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if "~/mnt/sdc1" is mounted ### Response: mount | grep -q ~/mnt/sdc1
Check if $path_in_question is mount point of filesystem
df $path_in_question | grep " $path_in_question$"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if $path_in_question is mount point of filesystem ### Response: df $path_in_question | grep " $path_in_question$"
Check if 'nullglob' shell option is enabled, and if so, saves its status in 'is_nullglob' variable.
is_nullglob=$( shopt -s | egrep -i '*nullglob' )
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if 'nullglob' shell option is enabled, and if so, saves its status in 'is_nullglob' variable. ### Response: is_nullglob=$( shopt -s | egrep -i '*nullglob' )
Check if a drive is mounted to nfs
mount |grep nfs
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if a drive is mounted to nfs ### Response: mount |grep nfs
Check if a drive with UUID "$UUID" is mounted
mount | grep $(readlink -f /dev/disk/by-uuid/$UUID )
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if a drive with UUID "$UUID" is mounted ### Response: mount | grep $(readlink -f /dev/disk/by-uuid/$UUID )
Check if content of all top-level *.txt files in the current directory contain only unique lines
cat *.txt | sort | sort -u -c
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if content of all top-level *.txt files in the current directory contain only unique lines ### Response: cat *.txt | sort | sort -u -c
Check if current shell is running within a 'screen' process.
pstree --show-parents -p $$ | head -n 1 | sed 's/\(.*\)+.*/\1/' | wc -l
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Check if current shell is running within a 'screen' process. ### Response: pstree --show-parents -p $$ | head -n 1 | sed 's/\(.*\)+.*/\1/' | wc -l