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 *1234.56789* files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name '*1234.56789*'<|im_end|> | Find all *1234.56789* files/directories under current directory | find . -name '*1234.56789*' | 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 *Company* files/directories under /root/of/where/files/are directory<|im_end|>
<|im_start|>assistant
find /root/of/where/files/are -n... | Find all *Company* files/directories under /root/of/where/files/are directory | find /root/of/where/files/are -name *Company* | 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 *blue* files/directories under /myfiles<|im_end|>
<|im_start|>assistant
find /myfiles -name '*blue*'<|im_end|> | Find all *blue* files/directories under /myfiles | find /myfiles -name '*blue*' | 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 *company* (case-insensitive) files/directories under /basedir with null character as the delimiter<|im_end|>
<|im_start|>assistant
fi... | Find all *company* (case-insensitive) files/directories under /basedir with null character as the delimiter | find /basedir/ -iname '*company*' -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 *company* files/directories under /root/of/where/files/are directory<|im_end|>
<|im_start|>assistant
find /root/of/where/files/are -n... | Find all *company* files/directories under /root/of/where/files/are directory | find /root/of/where/files/are -name *company* | 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 *conf* files recursively under current directory<|im_end|>
<|im_start|>assistant
find . -name *conf*<|im_end|> | Find all *conf* files recursively under current directory | find . -name *conf* | 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 *fink* files/directories in entire file system<|im_end|>
<|im_start|>assistant
find / -name "*fink*" -print<|im_end|> | Find all *fink* files/directories in entire file system | find / -name "*fink*" -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 *fink* files/directories in entire file system<|im_end|>
<|im_start|>assistant
find / \( -type f -or -type d \) -name \*fink\* -print... | Find all *fink* files/directories in entire file system | find / \( -type f -or -type d \) -name \*fink\* -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 *fink* files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name "*fink*" -print<|im_end|> | Find all *fink* files/directories under current directory | find . -name "*fink*" -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 *foo files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name '*foo'<|im_end|> | Find all *foo files/directories under current directory | 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 *foo files/directories under current directory (error prone)<|im_end|>
<|im_start|>assistant
find . name *foo<|im_end|> | Find all *foo files/directories under current directory (error prone) | 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 *fstab* files under and below /etc<|im_end|>
<|im_start|>assistant
find /etc -name *fstab*<|im_end|> | Find all *fstab* files under and below /etc | find /etc -name *fstab* | 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 *gz files under asia and emea directory<|im_end|>
<|im_start|>assistant
find asia emea -type f -name "*gz"<|im_end|> | Find all *gz files under asia and emea directory | find asia emea -type f -name "*gz" | 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 *shp* directories under current directory and move '*' (literal) file/directory inside those directories to shp_all<|im_end|>
<|im_st... | Find all *shp* directories under current directory and move '*' (literal) file/directory inside those directories to shp_all | find . -name '*shp*' -execdir mv '{}/*' shp_all ';' | 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 *shp* directories under current directory and move all regular files inside those directories to ../shp_all/<|im_end|>
<|im_start|>as... | Find all *shp* directories under current directory and move all regular files inside those directories to ../shp_all/ | mv $(find $(find . -name "*shp*" -printf "%h\n" | uniq) -type f) ../shp_all/ | 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 *shp* files/directories under current directory and move them to ../shp_all/<|im_end|>
<|im_start|>assistant
find . -name "*shp*" -ex... | Find all *shp* files/directories under current directory and move them to ../shp_all/ | find . -name "*shp*" -exec mv {} ../shp_all/ \; | 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 under dir and print an rm command for each of them for deletion<|im_end|>
<|im_start|>assistant
find dir -name ... | Find all *~ files/directories under dir and print an rm command for each of them for deletion | find dir -name \*~ | xargs echo 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 .* files excluding list_files (case insensitive) under current directory<|im_end|>
<|im_start|>assistant
find . -iname ".*" \! -iname... | Find all .* files excluding list_files (case insensitive) under current directory | find . -iname ".*" \! -iname 'list_files' | 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 .bak files in or below the current directory and move them to ~/.old.files directory:<|im_end|>
<|im_start|>assistant
find . -name "*... | find all .bak files in or below the current directory and move them to ~/.old.files directory: | find . -name "*.sh" -print0 | xargs -0 -I {} mv {} ~/back.scripts | 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 .bak files starting from the current directory and delete them<|im_end|>
<|im_start|>assistant
find . -iname "*.bak" -type f -print |... | Find all .bak files starting from the current directory and delete them | find . -iname "*.bak" -type f -print | xargs /bin/rm -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 .c and .h files in the current directory tree and search them for "expr"<|im_end|>
<|im_start|>assistant
find -name '*.[ch]' | xargs ... | Find all .c and .h files in the current directory tree and search them for "expr" | find -name '*.[ch]' | xargs grep -E 'expr' | 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 .core files on the system starting from / and delete them<|im_end|>
<|im_start|>assistant
find / -name "*.core" -print -exec rm {} \;... | Find all .core files on the system starting from / and delete them | find / -name "*.core" -print -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 .core files on the system starting from / and delete them<|im_end|>
<|im_start|>assistant
find / -name "*.core" | xargs rm<|im_end|> | Find all .core files on the system starting from / and delete them | find / -name "*.core" | xargs 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 .gif and .jpg files in the /var/www directory tree<|im_end|>
<|im_start|>assistant
find /var/www -name *.gif -o -name *.jpg<|im_end|> | Find all .gif and .jpg files in the /var/www directory tree | find /var/www -name *.gif -o -name *.jpg | 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 .gif files in the /var/www directory tree<|im_end|>
<|im_start|>assistant
find /var/www -name *.gif<|im_end|> | Find all .gif files in the /var/www directory tree | find /var/www -name *.gif | 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 .gif files in the /var/www directory tree that are between 5 kB and 10 kB in size<|im_end|>
<|im_start|>assistant
find /var/www -name... | Find all .gif files in the /var/www directory tree that are between 5 kB and 10 kB in size | find /var/www -name *.gif -size +5k -size -10k | 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 .gz archives in the current directory tree and check if they are valid<|im_end|>
<|im_start|>assistant
find "*.gz" -exec gunzip -vt "... | Find all .gz archives in the current directory tree and check if they are valid | find "*.gz" -exec gunzip -vt "{}" + | 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 .gz archives in the current directory tree and check if they are valid<|im_end|>
<|im_start|>assistant
find . -name '*.gz' | xargs gu... | Find all .gz archives in the current directory tree and check if they are valid | find . -name '*.gz' | xargs gunzip -vt | 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 .gz archives in the current directory tree and check if they are valid<|im_end|>
<|im_start|>assistant
find . -name *.gz -exec gunzip... | Find all .gz archives in the current directory tree and check if they are valid | find . -name *.gz -exec gunzip '{}' \; | 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 .java files under and below the current directory<|im_end|>
<|im_start|>assistant
find . -name '*.java'<|im_end|> | Find all .java files under and below the current directory | find . -name '*.java' | 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 .java files under current directory<|im_end|>
<|im_start|>assistant
find . -print | grep '\.java'<|im_end|> | Find all .java files under current directory | find . -print | grep '\.java' | 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 .java files whose name contains "Message"<|im_end|>
<|im_start|>assistant
find . -print | grep '.*Message.*\.java'<|im_end|> | Find all .java files whose name contains "Message" | find . -print | grep '.*Message.*\.java' | 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 .jpg files in / and copy them to the current folder.<|im_end|>
<|im_start|>assistant
find / -type f -name *.jpg -exec cp {} . \;... | find all the .jpg files in / and copy them to the current folder. | find / -type f -name *.jpg -exec cp {} . \; | 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 .jpg files in the current directory and below.<|im_end|>
<|im_start|>assistant
find . -name “*.jpg”<|im_end|> | Find all .jpg files in the current directory and below. | find . -name “*.jpg” | 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 .less files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -name *.less<|im_end|> | Find all .less files in the current directory tree | find . -name *.less | 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 .mp3 files starting from the current directory<|im_end|>
<|im_start|>assistant
find . -type f -iname *.mp3<|im_end|> | Find all .mp3 files starting from the current directory | find . -type f -iname *.mp3 | 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 .mp3 files starting from the current directory and delete them<|im_end|>
<|im_start|>assistant
find . -type f -iname *.mp3 -delete<|i... | Find all .mp3 files starting from the current directory and delete them | find . -type f -iname *.mp3 -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 .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (... | Find all .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (" | find /srv/www/*/htdocs/system/application/ -name "*.php" -exec grep "debug (" {} \; -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 .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (... | Find all .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (" | find /srv/www/*/htdocs/system/application/ -name "*.php" -exec grep -H "debug (" {} + | 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 .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (... | Find all .php files in all directory trees matching pattern `/srv/www/*/htdocs/system/application/' and search those files for string "debug (" | find /srv/www/*/htdocs/system/application/ -name "*.php" -print0 | xargs -0 grep -H "debug (" | 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 .php files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -name "*.php"<|im_end|> | Find all .php files in the current directory tree | find . -type f -name "*.php" | 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 .php files starting from the root directory and ignoring /media<|im_end|>
<|im_start|>assistant
find / -name "*.php" -print -o -path ... | Find all .php files starting from the root directory and ignoring /media | find / -name "*.php" -print -o -path '/media' -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 .rb files owned by root in the /apps/ folder and below that have been accessed in the last two minutes.<|im_end|>
<|im_start|>assista... | Find all .rb files owned by root in the /apps/ folder and below that have been accessed in the last two minutes. | find /apps/ -user root -type f -amin -2 -name *.rb | 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 .sh files in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find . -name "*.sh" -exec rm -rf '{}' \<|im_e... | Find all .sh files in the current directory tree and remove them | find . -name "*.sh" -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 .sh files in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find . -name "*.sh" -print0 | xargs -0 rm -rf... | Find all .sh files in the current directory tree and remove them | find . -name "*.sh" -print0 | xargs -0 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 .sh files in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find . -name "*.sh"| xargs rm -rf<|im_end|> | Find all .sh files in the current directory tree and remove them | find . -name "*.sh"| xargs 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 .sh files in or below the current directory and move them to folder ~/back.scripts<|im_end|>
<|im_start|>assistant
find . -name "*.sh... | Find all .sh files in or below the current directory and move them to folder ~/back.scripts | find . -name "*.sh" -print0 | xargs -0 -I file mv file ~/back.scripts | 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 .sql files in the current directory recursively and print their path names separated by zeroes<|im_end|>
<|im_start|>assistant
find .... | Find all .sql files in the current directory recursively and print their path names separated by zeroes | find . -name '*.sql' -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 .svn directories under current directory and delete them<|im_end|>
<|im_start|>assistant
find . -type d -name ".svn" -print | xargs ... | Find all .svn directories under current directory and delete them | find . -type d -name ".svn" -print | xargs 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 .tmp files under and below the /tmp/ directory and remove them<|im_end|>
<|im_start|>assistant
find /tmp -name "*.tmp"| xargs rm<|im_... | Find all .tmp files under and below the /tmp/ directory and remove them | find /tmp -name "*.tmp"| xargs 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 .txt files in the /home/user directory tree and copy them to /home/backup<|im_end|>
<|im_start|>assistant
find /home/user -name '*.tx... | Find all .txt files in the /home/user directory tree and copy them to /home/backup | find /home/user -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents | 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 .txt files in the /home/user1 directory tree and copy them to /home/backup<|im_end|>
<|im_start|>assistant
find /home/user1 -name '*.... | Find all .txt files in the /home/user1 directory tree and copy them to /home/backup | find /home/user1 -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents | 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 .txt files in current directory and rename with .html .<|im_end|>
<|im_start|>assistant
find . -type f -name "*.txt" -exec mv {} `... | Find all .txt files in current directory and rename with .html . | find . -type f -name "*.txt" -exec mv {} `basename {} .html` .html \; | 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 .zip files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -depth -name *.zip<|im_end|> | Find all .zip files in the current directory tree | find . -depth -name *.zip | 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 .zip files starting from the current directory which are owned by user tommye<|im_end|>
<|im_start|>assistant
find . -type f -user to... | Find all .zip files starting from the current directory which are owned by user tommye | find . -type f -user tommye -iname "*.zip" | 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 /path/to/check/* regular files without descending into any directory<|im_end|>
<|im_start|>assistant
find /path/to/check/* -maxdepth ... | Find all /path/to/check/* regular files without descending into any directory | find /path/to/check/* -maxdepth 0 -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 1.txt, 2.txt and 3.txt files under current directory and change the permission to 444<|im_end|>
<|im_start|>assistant
find . \( -name... | Find all 1.txt, 2.txt and 3.txt files under current directory and change the permission to 444 | find . \( -name 1.txt -o -name 2.txt -o -name 3.txt \) -print|xargs chmod 444 | 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 100MB+ files and delete them<|im_end|>
<|im_start|>assistant
find / -size +100M -exec rm -rf {} \;<|im_end|> | Find all 100MB+ files and delete them | find / -size +100M -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 15MB files<|im_end|>
<|im_start|>assistant
find / -size 15M<|im_end|> | Find all 15MB files | find / -size 15M | 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 1US* files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name '1US*'<|im_end|> | Find all 1US* files/directories under current directory | find . -name '1US*' | 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 400 permission files under /data directory<|im_end|>
<|im_start|>assistant
find /data -type f -perm 400<|im_end|> | Find all 400 permission files under /data directory | find /data -type f -perm 400 | 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 400 permission files under /data directory<|im_end|>
<|im_start|>assistant
find /data -type f -perm 400 -print<|im_end|> | Find all 400 permission files under /data directory | find /data -type f -perm 400 -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 400 permission files under /data directory and change their permission to 755<|im_end|>
<|im_start|>assistant
find /data -type f -per... | Find all 400 permission files under /data directory and change their permission to 755 | find /data -type f -perm 400 -print | xargs 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 400 permission files under /data directory, print 'Modifying ' appended with file path for each of them and change their permission t... | Find all 400 permission files under /data directory, print 'Modifying ' appended with file path for each of them and change their permission to 755 | find /data -type f -perm 400 -exec echo Modifying {} \; -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 400 permission files under /data directory with null character as the delimiter<|im_end|>
<|im_start|>assistant
find /data -type f -p... | Find all 400 permission files under /data directory with null character as the delimiter | find /data -type f -perm 400 -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 50MB files<|im_end|>
<|im_start|>assistant
find / -size 50M<|im_end|> | Find all 50MB files | find / -size 50M | 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 664 permission files/drectories under current directory tree<|im_end|>
<|im_start|>assistant
find . -perm -664<|im_end|> | Find all 664 permission files/drectories under current directory tree | find . -perm -664 | 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 755 permission regular files under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -perm 755<|im_end|> | Find all 755 permission regular files under current directory tree | find . -type f -perm 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 777 permission directories under current directory and set permissions to 755<|im_end|>
<|im_start|>assistant
find . -type d -perm 7... | Find all 777 permission directories under current directory and set permissions to 755 | find . -type d -perm 777 -print -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 ES* and FS_* files under current directory<|im_end|>
<|im_start|>assistant
find . -type f \( -iname "ES*" -o -iname "FS_*" \)<|im_end... | Find all ES* and FS_* files under current directory | find . -type f \( -iname "ES*" -o -iname "FS_*" \) | 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 Name* files under ../../$name-module and rename them by replacing 'Name' with $Name (will be expanded in the current shell) in their ... | Find all Name* files under ../../$name-module and rename them by replacing 'Name' with $Name (will be expanded in the current shell) in their names | find ../../$name-module -print0 -name 'Name*' -type f | xargs -0 rename "s/Name/$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 aliencoders.[0-9]+ files/directories under /home/jassi/ directory<|im_end|>
<|im_start|>assistant
find /home/jassi/ -name "aliencoder... | Find all aliencoders.[0-9]+ files/directories under /home/jassi/ directory | find /home/jassi/ -name "aliencoders.[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 aliencoders.[0-9]+ files under /home/jassi/ directory<|im_end|>
<|im_start|>assistant
find /home/jassi/ -type f -name "aliencoders.[0... | Find all aliencoders.[0-9]+ files under /home/jassi/ directory | find /home/jassi/ -type f -name "aliencoders.[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 the backup files in the current folder and delete them<|im_end|>
<|im_start|>assistant
find . -type f -name "*.bak" -exec rm -f {} \;... | find all the backup files in the current folder and delete them | find . -type f -name "*.bak" -exec rm -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 backup files in the current folder and delete them<|im_end|>
<|im_start|>assistant
find . -type f -name “FILE-TO-FIND” -delete;<|... | find all the backup files in the current folder and delete them | find . -type f -name “FILE-TO-FIND” -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 the backup files in the current folder and delete them after user confirmation<|im_end|>
<|im_start|>assistant
find . -type f -name "... | find all the backup files in the current folder and delete them after user confirmation | find . -type f -name "*.bak" -exec rm -i {} \; | 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 broken symlinks under /path/to/search directory<|im_end|>
<|im_start|>assistant
find /path/to/search -type l -xtype l<|im_end|> | Find all broken symlinks under /path/to/search directory | find /path/to/search -type l -xtype 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 broken symlinks under /path/to/search directory<|im_end|>
<|im_start|>assistant
find /path/to/search -xtype l<|im_end|> | Find all broken symlinks under /path/to/search directory | find /path/to/search -xtype 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find -L . -type l<|im_end|> | Find all broken symlinks under current directory | find -L . -type 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find -type l -xtype l<|im_end|> | Find all broken symlinks under current directory | find -type l -xtype 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find -xtype l<|im_end|> | Find all broken symlinks under current directory | find -xtype 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find . -type l -xtype l<|im_end|> | Find all broken symlinks under current directory | find . -type l -xtype 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find . -xtype l<|im_end|> | Find all broken symlinks under current directory | find . -xtype 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 broken symlinks under current directory<|im_end|>
<|im_start|>assistant
find ./ -type l -exec file {} \; |grep broken<|im_end|> | Find all broken symlinks under current directory | find ./ -type l -exec file {} \; |grep broken | 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 btree*.c files under current directory<|im_end|>
<|im_start|>assistant
find . -type f -name 'btree*.c'<|im_end|> | Find all btree*.c files under current directory | find . -type f -name 'btree*.c' | 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 build* directories under /var/www/html/ and print all but first 5 appending with the string 'rf '<|im_end|>
<|im_start|>assistant
fin... | Find all build* directories under /var/www/html/ and print all but first 5 appending with the string 'rf ' | find /var/www/html/ -type d -name "build*" | sort | tail -n +5 | xargs -I % echo -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 build* directories under /var/www/html/ and reverse sort them<|im_end|>
<|im_start|>assistant
find /var/www/html/ -type d -name "buil... | Find all build* directories under /var/www/html/ and reverse sort them | find /var/www/html/ -type d -name "build*" | 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 build* directories under current directory and reverse sort them<|im_end|>
<|im_start|>assistant
find . -type d -name "build*" | sort... | Find all build* directories under current directory and reverse sort them | find . -type d -name "build*" | 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 C source code files from the current directory tree that contain "keyword" in their pathnames, ignoring the case<|im_end|>
<|im_start... | Find all C source code files from the current directory tree that contain "keyword" in their pathnames, ignoring the case | find . -type f \( -iname “*.c” \) |grep -i “keyword” | 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 catalina* files/directories under /path/to/search/in<|im_end|>
<|im_start|>assistant
find /path/to/search/in -name 'catalina*'<|im_en... | Find all catalina* files/directories under /path/to/search/in | find /path/to/search/in -name 'catalina*' | 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 catalina* files/directories under current directory<|im_end|>
<|im_start|>assistant
find -name 'catalina*'<|im_end|> | Find all catalina* files/directories under current directory | find -name 'catalina*' | 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 class files or sh script files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f \( -name "*.class" -o -name "*.s... | find all class files or sh script files in the current folder | find . -type f \( -name "*.class" -o -name "*.sh" \) | 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 configuration files in /etc folder along with the last access & modification time<|im_end|>
<|im_start|>assistant
find /etc -name... | find all the configuration files in /etc folder along with the last access & modification time | find /etc -name "*.conf" -printf "%f %a, %t\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 configuration files in a folder<|im_end|>
<|im_start|>assistant
find /home/pat -iname "*.conf"<|im_end|> | find all configuration files in a folder | find /home/pat -iname "*.conf" | 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 configuration files which have been accessed in the last 30 minutes.<|im_end|>
<|im_start|>assistant
find /etc/sysconfig -amin -3... | find all the configuration files which have been accessed in the last 30 minutes. | find /etc/sysconfig -amin -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 the configuration or text files in current directory<|im_end|>
<|im_start|>assistant
find . -type f \( -name "*.conf" -or -name "*.tx... | find all the configuration or text files in current directory | find . -type f \( -name "*.conf" -or -name "*.txt" \) -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 core files in the entire file system and delete them<|im_end|>
<|im_start|>assistant
find / -name core -exec rm -f {} \;<|im_end... | find all the core files in the entire file system and delete them | find / -name core -exec rm -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 core files in the temp folder and force delete them<|im_end|>
<|im_start|>assistant
find /tmp -name core -type f -print | xargs /... | find all the core files in the temp folder and force delete them | find /tmp -name core -type f -print | xargs /bin/rm -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 cpp files in current folder<|im_end|>
<|im_start|>assistant
find -name "*.cpp"<|im_end|> | find all the cpp files in current folder | find -name "*.cpp" | 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 cpp files in the current folder<|im_end|>
<|im_start|>assistant
find . -iname '*.cpp' -print<|im_end|> | find all the cpp files in the current folder | find . -iname '*.cpp' -print | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.