text
large_stringlengths
242
1.17k
nl
large_stringlengths
13
387
bash
large_stringlengths
1
715
source
large_stringclasses
3 values
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /var/www/some/subset and set their SGID bit<|im_end|> <|im_start|>assistant sudo find /var/www/some/subset -type d ...
Find all directories under /var/www/some/subset and set their SGID bit
sudo find /var/www/some/subset -type d -print0 | xargs -0 chmod g+s
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under and below /home/admin/public_html/, and change their permissions to 755<|im_end|> <|im_start|>assistant find /home/...
Find all directories under and below /home/admin/public_html/, and change their permissions to 755
find /home/admin/public_html/ -type d -exec chmod 755 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under and below /root that match pattern "*linux*", case insensitive<|im_end|> <|im_start|>assistant find /root -type d ...
Find all directories under and below /root that match pattern "*linux*", case insensitive
find /root -type d -iname "*linux*"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under and below directory "folder_name", and change their permissions to 775<|im_end|> <|im_start|>assistant find folder_...
Find all directories under and below directory "folder_name", and change their permissions to 775
find folder_name -type d -exec chmod 775 ‘{}’ \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under and below parent_directory<|im_end|> <|im_start|>assistant find parent_directory -type d<|im_end|>
Find all directories under and below parent_directory
find parent_directory -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and change their permission to 500<|im_end|> <|im_start|>assistant find . -type d -exec chmod 500...
Find all directories under current directory and change their permission to 500
find . -type d -exec chmod 500 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and change their permission to 644<|im_end|> <|im_start|>assistant find -type d -print0|xargs -0 ...
Find all directories under current directory and change their permission to 644
find -type d -print0|xargs -0 chmod 644
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and change their permission to 700<|im_end|> <|im_start|>assistant find . -type d -exec chmod 700...
Find all directories under current directory and change their permission to 700
find . -type d -exec chmod 700 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and make them read, write, and executable for owner & group and remove read-write-execute permiss...
Find all directories under current directory and make them read, write, and executable for owner & group and remove read-write-execute permission for other
find . -type d -name files -exec chmod ug+rwx,o-rwx {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and set their permission to 755<|im_end|> <|im_start|>assistant find -type d exec chmod 755 {} +<...
Find all directories under current directory and set their permission to 755
find -type d exec chmod 755 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and set read-write-execute permission for owner and group and no permission for other for those d...
Find all directories under current directory and set read-write-execute permission for owner and group and no permission for other for those directories
find . -type d -exec chmod ug=rwx,o= {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and set read-write-execute permission for owner, read-execute permission for group and execute pe...
Find all directories under current directory and set read-write-execute permission for owner, read-execute permission for group and execute permission for other for those directories
find . -type d -exec chmod u=rwx,g=rx,o=x {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory and set read-write-execute permission for owner, read-execute permission for group and other for ...
Find all directories under current directory and set read-write-execute permission for owner, read-execute permission for group and other for those directories
find . -type d -exec chmod u=rwx,g=rx,o=rx {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory excluding directories (along with their contents) that start with a . (dot) in their names<|im_e...
Find all directories under current directory excluding directories (along with their contents) that start with a . (dot) in their names
find -type d -a ! -name '.?*' -o ! -prune
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory excluding directories (along with their contents) that start with a . (dot) in their names<|im_e...
Find all directories under current directory excluding directories (along with their contents) that start with a . (dot) in their names
find . -type d -a ! -name '.?*' -o -name '.?*' -a ! -prune
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory excluding those which match the regex /\. in their names<|im_end|> <|im_start|>assistant find . -...
Find all directories under current directory excluding those which match the regex /\. in their names
find . -type d | grep -v '/\.'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory having DIRNAME in their name<|im_end|> <|im_start|>assistant find . -type d | grep DIRNAME<|im_en...
Find all directories under current directory having DIRNAME in their name
find . -type d | grep DIRNAME
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under the current directory that is on the same filesystem, execute "/tmp/count_em_$$" with the directory as an argument,...
Find all directories under the current directory that is on the same filesystem, execute "/tmp/count_em_$$" with the directory as an argument, sort the result numerically from least value to greatest value
find . -mount -type d -print0 | xargs -0 -n1 /tmp/count_em_$$ | sort -n
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory tree that match the case insensitive regex '^\./course\([0-9]\.\)*[0-9]$' in their paths<|im_end|...
Find all directories under current directory tree that match the case insensitive regex '^\./course\([0-9]\.\)*[0-9]$' in their paths
find . -type d -iregex '^\./course\([0-9]\.\)*[0-9]$'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory tree that were modified $FTIME days ago<|im_end|> <|im_start|>assistant find . -type d -mtime $FT...
Find all directories under current directory tree that were modified $FTIME days ago
find . -type d -mtime $FTIME
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory whose names are 33 characters long<|im_end|> <|im_start|>assistant find . -type d -name "????????...
Find all directories under current directory whose names are 33 characters long
find . -type d -name "?????????????????????????????????"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under current directory whose paths are 5 characters long<|im_end|> <|im_start|>assistant find . -regextype posix-extende...
Find all directories under current directory whose paths are 5 characters long
find . -regextype posix-extended -type d -regex ".{5}"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under dir whose names are 33 characters long<|im_end|> <|im_start|>assistant find dir -name '????????????????????????????...
Find all directories under dir whose names are 33 characters long
find dir -name '?????????????????????????????????'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under htdocs directory and set their permission to 775<|im_end|> <|im_start|>assistant find htdocs -type d -exec chmod 77...
Find all directories under htdocs directory and set their permission to 775
find htdocs -type d -exec chmod 775 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under maximum 1 level down the /parent directory and set their permission to 700 recursively<|im_end|> <|im_start|>assis...
Find all directories under maximum 1 level down the /parent directory and set their permission to 700 recursively
find /parent -maxdepth 1 -type d -print0 | xargs -0 chmod -R 700
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under media/ directory and change their permission to 700<|im_end|> <|im_start|>assistant find media/ -type d -exec chmod...
Find all directories under media/ directory and change their permission to 700
find media/ -type d -exec chmod 700 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under minimum 1 level down the $GIVEN_DIR directory<|im_end|> <|im_start|>assistant find "$GIVEN_DIR" -type d -mindepth ...
Find all directories under minimum 1 level down the $GIVEN_DIR directory
find "$GIVEN_DIR" -type d -mindepth 1
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under minimum 1 level down the $GIVEN_DIR directory with null character as the delimiter<|im_end|> <|im_start|>assistant...
Find all directories under minimum 1 level down the $GIVEN_DIR directory with null character as the delimiter
find "$GIVEN_DIR" -type d -mindepth 1 -print0
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under minimum 2 levels down the mydir directory<|im_end|> <|im_start|>assistant find mydir -mindepth 2 -type d<|im_end|>
Find all directories under minimum 2 levels down the mydir directory
find mydir -mindepth 2 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under mydir<|im_end|> <|im_start|>assistant find mydir -type d<|im_end|>
Find all directories under mydir
find mydir -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under path_to_dir directory<|im_end|> <|im_start|>assistant find path_to_dir -type d<|im_end|>
Find all directories under path_to_dir directory
find path_to_dir -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under present working directory<|im_end|> <|im_start|>assistant find $PWD -type d<|im_end|>
Find all directories under present working directory
find $PWD -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under var/ directory and change their permission to 700<|im_end|> <|im_start|>assistant find var/ -type d -exec chmod 700...
Find all directories under var/ directory and change their permission to 700
find var/ -type d -exec chmod 700 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under ~/code without descending into hidden directories and print them appended with : (colon)<|im_end|> <|im_start|>assi...
Find all directories under ~/code without descending into hidden directories and print them appended with : (colon)
find ~/code -name '.*' -prune -o -type d -printf ':%p'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories whose name is root in / directory<|im_end|> <|im_start|>assistant find / -type d -name root<|im_end|>
Find all directories whose name is root in / directory
find / -type d -name root
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories whose name is Tecmint in / directory<|im_end|> <|im_start|>assistant find / -type d -name Tecmint<|im_end|>
Find all directories whose name is Tecmint in / directory
find / -type d -name Tecmint
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories whose status were changed $FTIME days ago<|im_end|> <|im_start|>assistant find . -type d -ctime $FTIME<|im_end|>
Find all directories whose status were changed $FTIME days ago
find . -type d -ctime $FTIME
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories with 755 permission and change the permission to 700<|im_end|> <|im_start|>assistant find . -type d -perm 755 -exec chmod...
Find all directories with 755 permission and change the permission to 700
find . -type d -perm 755 -exec chmod 700 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories with the name "DIRNAME" in the current folder and force delete them<|im_end|> <|im_start|>assistant find . -type d -n...
find all the directories with the name "DIRNAME" in the current folder and force delete them
find . -type d -name “DIRNAME” -exec rm -rf {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories with the name "c" in the current folder which are at least 3 levels deep and which are not present in the path "/p/"...
find all the directories with the name "c" in the current folder which are at least 3 levels deep and which are not present in the path "/p/".
find -mindepth 3 -type d ! -path '*/p/*' -name c -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories with the name "c" in the current folder which are at least 3 levels deep and which are not present in the path "/p/"...
find all the directories with the name "c" in the current folder which are at least 3 levels deep and which are not present in the path "/p/".
find -mindepth 3 -type d -path '*/p/*' -prune -o -name c -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all directories with the name "lib64" in the usr folder and replace space with ':'<|im_end|> <|im_start|>assistant find /usr -name lib64 ...
find all directories with the name "lib64" in the usr folder and replace space with ':'
find /usr -name lib64 -type d|paste -s -d:
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories with the name "uploads" in current folder<|im_end|> <|im_start|>assistant find . -type d -name 'uploads'<|im_end|>
find all the directories with the name "uploads" in current folder
find . -type d -name 'uploads'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all directories with the name test in a directory<|im_end|> <|im_start|>assistant find /home/john -type d -name test -print<|im_end|>
find all directories with the name test in a directory
find /home/john -type d -name test -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories with space in their names under current directory and rename them by replacing all spaces with _<|im_end|> <|im_start|>as...
Find all directories with space in their names under current directory and rename them by replacing all spaces with _
find -name "* *" -type d | rename 's/ /_/g'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the empty directories in the current folder<|im_end|> <|im_start|>assistant find . -type d -empty<|im_end|>
find all the empty directories in the current folder
find . -type d -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the empty directories in the current folder and all its sub directories too<|im_end|> <|im_start|>assistant find . -depth -empty -typ...
find all the empty directories in the current folder and all its sub directories too
find . -depth -empty -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty directories in minimum 2 levels down the root directory<|im_end|> <|im_start|>assistant find root -mindepth 2 -type d -empty<|i...
Find all empty directories in minimum 2 levels down the root directory
find root -mindepth 2 -type d -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty directories recursively starting from the current one and delete them<|im_end|> <|im_start|>assistant find . -type d -empty -pr...
Find all empty directories recursively starting from the current one and delete them
find . -type d -empty -print0 | xargs -0 /bin/rmdir
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty directories under /tmp<|im_end|> <|im_start|>assistant find /tmp -type d -empty<|im_end|>
Find all empty directories under /tmp
find /tmp -type d -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all empty files<|im_end|> <|im_start|>assistant find / -empty<|im_end|>
find all empty files
find / -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty files in /tmp<|im_end|> <|im_start|>assistant find /tmp -type f -empty<|im_end|>
Find all empty files in /tmp
find /tmp -type f -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all empty files in the current directory ( empty file = size 0 bytes )<|im_end|> <|im_start|>assistant find . -size 0<|im_end|>
find all empty files in the current directory ( empty file = size 0 bytes )
find . -size 0
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty files in the current directory and delete them<|im_end|> <|im_start|>assistant find . -empty -maxdepth 1 -exec rm {} \;<|im_end...
Find all empty files in the current directory and delete them
find . -empty -maxdepth 1 -exec rm {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty files in the current directory and delete them<|im_end|> <|im_start|>assistant find . -maxdepth 1 -type f -empty -delete<|im_en...
Find all empty files in the current directory and delete them
find . -maxdepth 1 -type f -empty -delete
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty files in the current directory and delete them<|im_end|> <|im_start|>assistant find . -type f -maxdepth 1 -empty -print0 | xarg...
Find all empty files in the current directory and delete them
find . -type f -maxdepth 1 -empty -print0 | xargs -0 /bin/rm
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty files starting from the current directory and delete them<|im_end|> <|im_start|>assistant find . -type f -empty -print0 | xargs...
Find all empty files starting from the current directory and delete them
find . -type f -empty -print0 | xargs -0 /bin/rm
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all empty regular files in the current directory tree<|im_end|> <|im_start|>assistant find . -size 0c -type f<|im_end|>
Find all empty regular files in the current directory tree
find . -size 0c -type f
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the error, access, ssl_engine and rewrite logs which are bigger than 300MB and are less then 5GB in the folder /opt<|im_end|> <|im_st...
find all the error, access, ssl_engine and rewrite logs which are bigger than 300MB and are less then 5GB in the folder /opt
find /opt \( -name error_log -o -name 'access_log' -o -name 'ssl_engine_log' -o -name 'rewrite_log' -o -name 'catalina.out' \) -size +300000k -a -size -5000000k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all Executable files<|im_end|> <|im_start|>assistant find / -perm /a=x<|im_end|>
Find all Executable files
find / -perm /a=x
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all executable files<|im_end|> <|im_start|>assistant find / -executable<|im_end|>
find all executable files
find / -executable
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all executable files in /home directory.<|im_end|> <|im_start|>assistant find /home -type f -perm /a=x<|im_end|>
find all executable files in /home directory.
find /home -type f -perm /a=x
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executable files under current directory and reverse sort them<|im_end|> <|im_start|>assistant find . -perm -111 -type f | sort -r<|i...
Find all executable files under current directory and reverse sort them
find . -perm -111 -type f | sort -r
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executable files under current directory and show a few lines of output from the beginning<|im_end|> <|im_start|>assistant find . -pe...
Find all executable files under current directory and show a few lines of output from the beginning
find . -perm /a=x | head
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executables in the current directory tree<|im_end|> <|im_start|>assistant find ./ -executable<|im_end|>
Find all executables in the current directory tree
find ./ -executable
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executable symlinks or upvoter-* files under maximum 1 level down the {} directory<|im_end|> <|im_start|>assistant find {} -name 'upv...
Find all executable symlinks or upvoter-* files under maximum 1 level down the {} directory
find {} -name 'upvoter-*' -type f -or -type l -maxdepth 1 -perm +111
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executable symlinks or upvoter-* files under maximum 1 level down the {} directory<|im_end|> <|im_start|>assistant find {} -name 'upv...
Find all executable symlinks or upvoter-* files under maximum 1 level down the {} directory
find {} -name 'upvoter-*' -type f -or \( -type l \) -maxdepth 1 -perm +111
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executables under /path directory<|im_end|> <|im_start|>assistant find /path -perm /ugo+x<|im_end|>
Find all executables under /path directory
find /path -perm /ugo+x
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all executable upvoter-* files (following symlinks) under maximum 1 level down the current directory<|im_end|> <|im_start|>assistant find...
Find all executable upvoter-* files (following symlinks) under maximum 1 level down the current directory
find -L -maxdepth 1 -name 'upvoter-*' -type f -perm /111
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all fglrx-libGL* files under and below debian/fglrx/<|im_end|> <|im_start|>assistant find debian/fglrx/ -name 'fglrx-libGL*'<|im_end|>
Find all fglrx-libGL* files under and below debian/fglrx/
find debian/fglrx/ -name 'fglrx-libGL*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all fglrx-libglx* files under and below debian/fglrx/<|im_end|> <|im_start|>assistant find debian/fglrx/ -name 'fglrx-libglx*'<|im_end|>
Find all fglrx-libglx* files under and below debian/fglrx/
find debian/fglrx/ -name 'fglrx-libglx*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all files & dircetiry in current directory which have .tmp extension and delete them .<|im_end|> <|im_start|>assistant find . -type f -n...
find all files & dircetiry in current directory which have .tmp extension and delete them .
find . -type f -name "*.tmp" -exec rm -rf {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files accessed on the 29th of September, 2008, starting from the current directory<|im_end|> <|im_start|>assistant find . -type f -ne...
Find all files accessed on the 29th of September, 2008, starting from the current directory
find . -type f -newerat 2008-09-29 ! -newerat 2008-09-30
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files and directories and count them<|im_end|> <|im_start|>assistant find ./ | wc -l<|im_end|>
Find all files and directories and count them
find ./ | wc -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories containing 'blah' (case insensitive) in their names that were modified in less than 2 days ago uder current directo...
Find all files/directories containing 'blah' (case insensitive) in their names that were modified in less than 2 days ago uder current directory tree
find . -iname '*blah*' -mtime -2
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories containing 'farm' in their names under '/usr/share' directory tree<|im_end|> <|im_start|>assistant find /usr/share ...
Find all files/directories containing 'farm' in their names under '/usr/share' directory tree
find /usr/share -name '*farm*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories containing 'foo' in their names under current directory tree<|im_end|> <|im_start|>assistant find . -name '*foo*'<|...
Find all files/directories containing 'foo' in their names under current directory tree
find . -name '*foo*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories containing the case insensitive string something' in their names under current directory tree<|im_end|> <|im_start|...
Find all files/directories containing the case insensitive string something' in their names under current directory tree
find . -iname '*something*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories excluding paths that match '.git' or '.gitignore'<|im_end|> <|im_start|>assistant find -print0 | grep -vEzZ '(\.git...
Find all files/directories excluding paths that match '.git' or '.gitignore'
find -print0 | grep -vEzZ '(\.git|\.gitignore/)'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories following symbolic links under current directory tree that are owned by 'root' user<|im_end|> <|im_start|>assistant...
Find all files/directories following symbolic links under current directory tree that are owned by 'root' user
find . -follow -uid 0 -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories following symlinks under /path/to/dir/* paths and print the timestamp in YmdHMS format along with their paths<|im_e...
Find all files/directories following symlinks under /path/to/dir/* paths and print the timestamp in YmdHMS format along with their paths
find -L /path/to/dir/* -printf "%TY%Tm%Td%TH%TM%TS|%p\n"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories greater than 100MB and print their list along with their size in /root/big.txt file<|im_end|> <|im_start|>assistant...
Find all files/directories greater than 100MB and print their list along with their size in /root/big.txt file
find \( -size +100M -fprintf /root/big.txt '%-10s %p\n' \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories ignoring *~ files/directories without descending into .snapshot directory with null character as the delimiter<|im_...
Find all files/directories ignoring *~ files/directories without descending into .snapshot directory with null character as the delimiter
find . -name .snapshot -prune -o \( \! -name *~ -print0 \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all the files/directories in '/path/to/files' directory tree which have not been modified in the last 2 hours<|im_end|> <|im_start|>assis...
Find all the files/directories in '/path/to/files' directory tree which have not been modified in the last 2 hours
find "/path/to/files" -mmin +120
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in 1 level down the current directory<|im_end|> <|im_start|>assistant find -mindepth 1 -maxdepth 1<|im_end|>
Find all files/directories in 1 level down the current directory
find -mindepth 1 -maxdepth 1
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in all paths expanded by the glob pattern *<|im_end|> <|im_start|>assistant find *<|im_end|>
Find all files/directories in all paths expanded by the glob pattern *
find *
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in current directory and execute the script itself with minimal invocation for those files/directories<|im_end|> <|...
Find all files/directories in current directory and execute the script itself with minimal invocation for those files/directories
find . -exec $0 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files and directories in the current directory recursively that contain spaces in their names<|im_end|> <|im_start|>assistant find . ...
Find all files and directories in the current directory recursively that contain spaces in their names
find . -name '* *'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files and directories in the current directory tree except those whose name is "dirname", case insensitive<|im_end|> <|im_start|>assi...
Find all files and directories in the current directory tree except those whose name is "dirname", case insensitive
find ./ -iname ! -iname dirname
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all the files/directories in the current directory tree which have been modified between 2014-08-25 and 2014-08-26<|im_end|> <|im_start|>...
Find all the files/directories in the current directory tree which have been modified between 2014-08-25 and 2014-08-26
find ./ -newermt 2014-08-25 ! -newermt 2014-08-26 -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files and directories in the current directory tree with "linkin park" in their names and copy them to /Users/tommye/Desktop/LP<|im_e...
Find all files and directories in the current directory tree with "linkin park" in their names and copy them to /Users/tommye/Desktop/LP
find . -iname "*linkin park*" -exec cp -r {} /Users/tommye/Desktop/LP \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in directories/files taken from the glob pattern '/folder/path/*' recursively that have not been modified in the la...
Find all files/directories in directories/files taken from the glob pattern '/folder/path/*' recursively that have not been modified in the last 2 hours and delete them
find /folder/path/* -mmin +120 -delete
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in directories/files taken from the glob pattern '/tmp/test/*' recursively that have not been modified from the sta...
Find all files/directories in directories/files taken from the glob pattern '/tmp/test/*' recursively that have not been modified from the start of the day
find /tmp/test/* -daystart -mtime +0
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system for which owner has at least read/write permissions, or the group has at least read permissio...
Find all files/directories in entire file system for which owner has at least read/write permissions, or the group has at least read permission, or others have at least read permission
find / -perm /u+rw,g+r,o+r
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system for which owner has read/write/execute permissions, or the group has at least execute permiss...
Find all files/directories in entire file system for which owner has read/write/execute permissions, or the group has at least execute permission, or others have at least execute permission
find / -perm /711
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system less than 50 bytes<|im_end|> <|im_start|>assistant find / -size -50c<|im_end|>
Find all files/directories in entire file system less than 50 bytes
find / -size -50c
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others<|im_end|> <|im_start|>a...
Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others
find / -perm /222
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others<|im_end|> <|im_start|>a...
Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others
find / -perm /a+w
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others<|im_end|> <|im_start|>a...
Find all files/directories in entire file system that have "write" bit set for either the owner, the group, or others
find / -perm /u+w,g+w,o+w
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in entire file system that are exactly 50 bytes<|im_end|> <|im_start|>assistant find / -size 50c<|im_end|>
Find all files/directories in entire file system that are exactly 50 bytes
find / -size 50c
GWHed/nl2bash