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 '.git' directories in directory tree /home/madhu/release/workspace<|im_end|>
<|im_start|>assistant
find /home/madhu/release/workspace -ty... | Find '.git' directories in directory tree /home/madhu/release/workspace | find /home/madhu/release/workspace -type d -name '.git' | 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 '.git' directories in directory tree /path/to/files and print the pathnames of their parents<|im_end|>
<|im_start|>assistant
find /path/t... | Find '.git' directories in directory tree /path/to/files and print the pathnames of their parents | find /path/to/files -type d -name '.git' -exec 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 '.java' files with checksum 0bee89b07a248e27c83fc3d5951213c1 in the current directory<|im_end|>
<|im_start|>assistant
md5sum *.java | gre... | Find '.java' files with checksum 0bee89b07a248e27c83fc3d5951213c1 in the current directory | md5sum *.java | grep 0bee89b07a248e27c83fc3d5951213c1 | 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 `string' in all *.java files ignoring the case of that string<|im_end|>
<|im_start|>assistant
find . -type f -name "*.java" -exec grep -i... | Find `string' in all *.java files ignoring the case of that string | find . -type f -name "*.java" -exec grep -il string {} \; | 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 *.avi and *.flv files in /path/to/your/directory and below and copy them to /path/to/specific/folder<|im_end|>
<|im_start|>assistant
find... | Find *.avi and *.flv files in /path/to/your/directory and below and copy them to /path/to/specific/folder | find /path/to/your/directory -regex '.*\.\(avi\|flv\)' -exec cp {} /path/to/specific/folder \; | 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 *.c and *.sh files<|im_end|>
<|im_start|>assistant
find . -type f \( -name "*.c" -o -name "*.sh" \)<|im_end|> | Find *.c and *.sh files | find . -type f \( -name "*.c" -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 *.conf files/directories only upto 1 level down under /etc directory and show a few lines of output from the end<|im_end|>
<|im_start|>as... | Find *.conf files/directories only upto 1 level down under /etc directory and show a few lines of output from the end | find /etc -maxdepth 1 -name "*.conf" | tail | 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 *.conf files/directories only upto 2 levels down under /etc directory and show a few lines of output from the end<|im_end|>
<|im_start|>a... | Find *.conf files/directories only upto 2 levels down under /etc directory and show a few lines of output from the end | find /etc -maxdepth 2 -name "*.conf" | tail | 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 *.gif files under the currently directory and sub-directories and list them using the ls command<|im_end|>
<|im_start|>assistant
find . -... | find *.gif files under the currently directory and sub-directories and list them using the ls command | find . -name *.gif -exec ls {} \; | 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 *.html files in the /usr/src/linux directory tree<|im_end|>
<|im_start|>assistant
find /usr/src/linux -name "*.html"<|im_end|> | Find *.html files in the /usr/src/linux directory tree | find /usr/src/linux -name "*.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 *.o files with permissions 664 in the current directory tree<|im_end|>
<|im_start|>assistant
find . -name *.o -perm 664 -print<|im_end|> | Find *.o files with permissions 664 in the current directory tree | find . -name *.o -perm 664 -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 *.pl files/directories under /users/tom<|im_end|>
<|im_start|>assistant
find /users/tom -name "*.pl"<|im_end|> | Find *.pl files/directories under /users/tom | find /users/tom -name "*.pl" | 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 *.scm files recursively in the current directory<|im_end|>
<|im_start|>assistant
find . -name '*.scm'<|im_end|> | Find *.scm files recursively in the current directory | find . -name '*.scm' | 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 *.tex files in the current directory tree that contain text "documentclass"<|im_end|>
<|im_start|>assistant
find . -type f -name *.tex -p... | Find *.tex files in the current directory tree that contain text "documentclass" | find . -type f -name *.tex -print0 | xargs -0 grep -l 'documentclass' | 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 *.txt files in the current directory tree, ignoring paths ./Movies/*, ./Downloads/*, and ./Music/*<|im_end|>
<|im_start|>assistant
find .... | Find *.txt files in the current directory tree, ignoring paths ./Movies/*, ./Downloads/*, and ./Music/* | find . -type f -name "*.txt" ! -path "./Movies/*" ! -path "./Downloads/*" ! -path "./Music/*" | 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 *2011* files and grep for the string 'From: Ralph' in those files<|im_end|>
<|im_start|>assistant
find . -name '*2011*' -print | xargs -n... | Find *2011* files and grep for the string 'From: Ralph' in those files | find . -name '*2011*' -print | xargs -n2 grep 'From: Ralph' | 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 *log files/directories within a maximum of 3 levels of directories<|im_end|>
<|im_start|>assistant
find / -maxdepth 3 -name "*log"<|im_e... | Find *log files/directories within a maximum of 3 levels of directories | find / -maxdepth 3 -name "*log" | 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 -name '*.js' -not -path './node_modules/*' -not -path './vendor/*'<|im_end|>
<|im_start|>assistant
find -name '*.js' -not \( -path './nod... | find -name '*.js' -not -path './node_modules/*' -not -path './vendor/*' | find -name '*.js' -not \( -path './node_modules/*' -o -path './vendor/*' \) | 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 .bmp or .txt files<|im_end|>
<|im_start|>assistant
find /home/user/Desktop -name '*.bmp' -o -name '*.txt'<|im_end|> | find .bmp or .txt files | find /home/user/Desktop -name '*.bmp' -o -name '*.txt' | 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 .gif files in /var/www and below that were last changed between 90 and 180 days ago<|im_end|>
<|im_start|>assistant
find /var/www -name *... | find .gif files in /var/www and below that were last changed between 90 and 180 days ago | find /var/www -name *.gif -ctime +90 -ctime -180 | 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 the .groovy files outside the "./target" directory path<|im_end|>
<|im_start|>assistant
find . -name "*.groovy" -not -path "./target/*" ... | Find the .groovy files outside the "./target" directory path | find . -name "*.groovy" -not -path "./target/*" -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 .java files in the current directory tree that contain 'TODO', and print their names<|im_end|>
<|im_start|>assistant
find . -name "*.java... | Find .java files in the current directory tree that contain 'TODO', and print their names | find . -name "*.java" -exec grep -Hin TODO {} + | basename `cut -d ":" -f 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 .jpg files owned by user daniel in the current directory and its sub-directories.<|im_end|>
<|im_start|>assistant
find . -user daniel -ty... | Find .jpg files owned by user daniel in the current directory and its sub-directories. | find . -user daniel -type f -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 .jpg files owned by user daniel in the current directory and its sub-directories but ignore any file beginning with "autumn".<|im_end|>
<... | Find .jpg files owned by user daniel in the current directory and its sub-directories but ignore any file beginning with "autumn". | find . -user daniel -type f -name *.jpg ! -name autumn* | 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 .rmv files in the ./root directory recursively and copy them to directory /copy/to/here<|im_end|>
<|im_start|>assistant
find root -name '... | Find .rmv files in the ./root directory recursively and copy them to directory /copy/to/here | find root -name '*.rmv' -type f -exec cp --parents "{}" /copy/to/here \; | 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 .rmv files in the ./root directory recursively and copy them to directory /copy/to/here<|im_end|>
<|im_start|>assistant
find root -name '... | Find .rmv files in the ./root directory recursively and copy them to directory /copy/to/here | find root -name '*.rmv' -type f -exec cp {} /copy/to/here \; | 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 .rmv files in the current directory recursively<|im_end|>
<|im_start|>assistant
find . -name *.rmv<|im_end|> | Find .rmv files in the current directory recursively | find . -name *.rmv | 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 .txt files on the system whose size is greater than 12000 bytes<|im_end|>
<|im_start|>assistant
find / -name "*.txt" -size +12000c<|im_en... | Find .txt files on the system whose size is greater than 12000 bytes | find / -name "*.txt" -size +12000c | 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 the ten biggest files<|im_end|>
<|im_start|>assistant
find /home -type f -exec du -s {} \; | sort -r -k1,1n | head<|im_end|> | find the ten biggest files | find /home -type f -exec du -s {} \; | sort -r -k1,1n | 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 10 largest files in the current directory and its subdirectories<|im_end|>
<|im_start|>assistant
du -hsx * | sort -rh | head -10<|im_end|... | Find 10 largest files in the current directory and its subdirectories | du -hsx * | sort -rh | head -10 | 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 <fileName> files/directories under current directory<|im_end|>
<|im_start|>assistant
find -name "<fileName>"<|im_end|> | Find <fileName> files/directories under current directory | find -name "<fileName>" | 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 a 'fool.scala' named regular file under /opt /usr /var those directories.<|im_end|>
<|im_start|>assistant
find /opt /usr /var -name foo.s... | find a 'fool.scala' named regular file under /opt /usr /var those directories. | find /opt /usr /var -name foo.scala -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 a 400 permission file under /data directory<|im_end|>
<|im_start|>assistant
find /data -type f -perm 400 -print -quit<|im_end|> | Find a 400 permission file under /data directory | find /data -type f -perm 400 -print -quit | 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 a difference between website content of "http://tldp.org/LDP/abs/html/" and "http://www.redhat.com/mirrors/LDP/LDP/abs/html/"<|im_end|>
<... | find a difference between website content of "http://tldp.org/LDP/abs/html/" and "http://www.redhat.com/mirrors/LDP/LDP/abs/html/" | diff <(curl -s http://tldp.org/LDP/abs/html/) <(curl -s http://www.redhat.com/mirrors/LDP/LDP/abs/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 a directory named 'project.images' in the entire filesystem and show it in long listing format<|im_end|>
<|im_start|>assistant
find / -t... | Find a directory named 'project.images' in the entire filesystem and show it in long listing format | find / -type d -name "project.images" -ls | 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 a hostname that resolves to IP '173.194.33.71'<|im_end|>
<|im_start|>assistant
dig +short -x 173.194.33.71<|im_end|> | Find a hostname that resolves to IP '173.194.33.71' | dig +short -x 173.194.33.71 | 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 a more recent version of httpd.conf file than /etc/apache-perl/httpd.conf in entire file system<|im_end|>
<|im_start|>assistant
find / -n... | Find a more recent version of httpd.conf file than /etc/apache-perl/httpd.conf in entire file system | find / -name httpd.conf -newer /etc/apache-perl/httpd.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 a single file called tecmint.txt and remove it<|im_end|>
<|im_start|>assistant
find . -type f -name "tecmint.txt" -exec rm -f {} \;<|im_e... | Find a single file called tecmint.txt and remove it | find . -type f -name "tecmint.txt" -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 a specfic video file in the current directory<|im_end|>
<|im_start|>assistant
find ./ -name "foo.mp4" -exec echo {} \;<|im_end|> | find a specfic video file in the current directory | find ./ -name "foo.mp4" -exec echo {} \; | 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 a used disk space of a target directory and files inside of it<|im_end|>
<|im_start|>assistant
du -h your_directory<|im_end|> | Find a used disk space of a target directory and files inside of it | du -h your_directory | 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 a.out, *.o and core files under the current directory and sub-directories and delete them.<|im_end|>
<|im_start|>assistant
find . \( -nam... | find a.out, *.o and core files under the current directory and sub-directories and delete them. | find . \( -name a.out -o -name '*.o' -o -name 'core' \) -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 a.out and object files in the current directory tree<|im_end|>
<|im_start|>assistant
find . ( -name a.out -o -name *.o ) -print<|im_end|> | Find a.out and object files in the current directory tree | find . ( -name a.out -o -name *.o ) -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 absolute path of command with PID "$pid"<|im_end|>
<|im_start|>assistant
readlink -f `ls --dereference /proc/$pid/exe`<|im_end|> | Find absolute path of command with PID "$pid" | readlink -f `ls --dereference /proc/$pid/exe` | 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 al the files that are modified exactly 2 days ago<|im_end|>
<|im_start|>assistant
find -daystart -mtime 2<|im_end|> | find al the files that are modified exactly 2 days ago | find -daystart -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 al the tmp directories in the current directory and create a dump of it<|im_end|>
<|im_start|>assistant
find . -type d -name tmp -prune -... | find al the tmp directories in the current directory and create a dump of it | find . -type d -name tmp -prune -o -print | cpio -dump /backup | 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 current folder and display their count<|im_end|>
<|im_start|>assistant
find ./ -name '*.JPG' -type f | wc -l<|im_... | find all the ".JPG" files in current folder and display their count | find ./ -name '*.JPG' -type f | 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 the ".c" files in the folder "/home/you" which have been accessed in the last 30*24 hours<|im_end|>
<|im_start|>assistant
find /home/... | find all the ".c" files in the folder "/home/you" which have been accessed in the last 30*24 hours | find /home/you -iname "*.c" -atime -30 -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 ".c" files in the folder /home/david which have been modified in the last 48 hours<|im_end|>
<|im_start|>assistant
find /home/dav... | find all the ".c" files in the folder /home/david which have been modified in the last 48 hours | find /home/david -mtime -2 -name '*.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 ".flac" files in current folder starting with "cmn-"<|im_end|>
<|im_start|>assistant
find . -name 'cmn-*.flac'<|im_end|> | find all ".flac" files in current folder starting with "cmn-" | find . -name 'cmn-*.flac' | 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 ".flac" files starting with "cmn-" and search for files having CJK characters using unicodes<|im_end|>
<|im_start|>assistant
find . -... | find all ".flac" files starting with "cmn-" and search for files having CJK characters using unicodes | find . -name 'cmn-*.flac' -print | grep -P '[\x4e00-\x9fa5]' | 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 ".flac" files starting with "cmn-" and search for files having CJK characters using unicodes<|im_end|>
<|im_start|>assistant
find . -... | find all ".flac" files starting with "cmn-" and search for files having CJK characters using unicodes | find . -name 'cmn-*\.flac' -print | grep -P './cmn-[\x4e00-\x9fa5]\.flac' | 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 ".sh" files in the current folder ( case insensitive search)<|im_end|>
<|im_start|>assistant
find -iname *.SH<|im_end|> | find all the ".sh" files in the current folder ( case insensitive search) | find -iname *.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 ".wma" files in the folder "$current_directory"<|im_end|>
<|im_start|>assistant
find "${current_directory}" -type f -iname "*.wma... | find all the ".wma" files in the folder "$current_directory" | find "${current_directory}" -type f -iname "*.wma" | 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 "G*.html" files modified more than 7 days ago in the current directory tree<|im_end|>
<|im_start|>assistant
find . -mtime +7 -name "G... | Find all "G*.html" files modified more than 7 days ago in the current directory tree | find . -mtime +7 -name "G*.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 "YourProgramName" regular files in the current directory tree and print the full paths to the directories containing them<|im_end|>
<... | Find all "YourProgramName" regular files in the current directory tree and print the full paths to the directories containing them | find . -type f -name YourProgramName -execdir pwd \; | 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_log" files in the folder "/home" which are bigger than 5MB and force delete them<|im_end|>
<|im_start|>assistant
find /hom... | find all the "error_log" files in the folder "/home" which are bigger than 5MB and force delete them | find /home -size +5000000b -name "error_log" -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 "jpg" file in a folder.<|im_end|>
<|im_start|>assistant
find /win/C -iname *JPG<|im_end|> | find all the "jpg" file in a folder. | find /win/C -iname *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 the "passwd" files in the entire file system<|im_end|>
<|im_start|>assistant
find / -iname passwd<|im_end|> | find all the "passwd" files in the entire file system | find / -iname passwd | 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 files/directories under current directory and enter into the parent directory of the first one found<|im_end|>
<|im_start|>assista... | Find all $1 files/directories under current directory and enter into the parent directory of the first one found | cd $(find . -name $1 | xargs 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 $2 files in $1 path and search for the regex expanded by $3 in those files<|im_end|>
<|im_start|>assistant
find $1 -name "$2" -exec g... | Find all $2 files in $1 path and search for the regex expanded by $3 in those files | find $1 -name "$2" -exec grep -Hn "$3" {} \; | 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 $2 files in $1 path and search for the regex expanded by $3 in those files excluding the files with /proc in their paths<|im_end|>
<|... | Find all $2 files in $1 path and search for the regex expanded by $3 in those files excluding the files with /proc in their paths | find $1 -name "$2" | grep -v '/proc' | xargs grep -Hn "$3" {} \; | 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' files under $HOME directory which context contains sprintf<|im_end|>
<|im_start|>assistant
find $HOME -name '*.c' -print | xarg... | find all '*.c' files under $HOME directory which context contains sprintf | find $HOME -name '*.c' -print | xargs grep -l sprintf | 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 under current directory<|im_end|>
<|im_start|>assistant
find ./ -name '*~'<|im_end|> | Find all '*~' files under current directory | 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 'custlist*' files under current directory<|im_end|>
<|im_start|>assistant
find . -name custlist\*<|im_end|> | Find all 'custlist*' files under current directory | find . -name custlist\* | 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 `doc.txt' files in the current directory tree printing "found" for each of them<|im_end|>
<|im_start|>assistant
find ./ -name doc.txt... | Find all `doc.txt' files in the current directory tree printing "found" for each of them | find ./ -name doc.txt -printf "found\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 'js' suffix files exclue the path *exclude/this/dir*' under current dirctory<|im_end|>
<|im_start|>assistant
find . -name '*.js' -no... | find all 'js' suffix files exclue the path *exclude/this/dir*' under current dirctory | find . -name '*.js' -not -path '*exclude/this/dir*' | 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 'test' directories in the current directory tree<|im_end|>
<|im_start|>assistant
find -type d -a -name test<|im_end|> | Find all 'test' directories in the current directory tree | find -type d -a -name test | 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 'test' directories in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find -type d -a -name test|xargs rm ... | Find all 'test' directories in the current directory tree and remove them | find -type d -a -name test|xargs rm -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 'test' directories in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find . -name test -type d -print0|xa... | Find all 'test' directories in the current directory tree and remove them | find . -name test -type d -print0|xargs -0 rm -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 'test' directories in the current directory tree and remove them<|im_end|>
<|im_start|>assistant
find . -type d -name 'test' -exec rm... | Find all 'test' directories in the current directory tree and remove them | find . -type d -name 'test' -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 * * regular files under current directory<|im_end|>
<|im_start|>assistant
find . -type f -name "* *"<|im_end|> | Find all * * regular files under current directory | find . -type f -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 *$VERSION* files/directories under current directory where $VERSION is a variable<|im_end|>
<|im_start|>assistant
find . -name "*$VER... | Find all *$VERSION* files/directories under current directory where $VERSION is a variable | find . -name "*$VERSION*" | 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 under current directory<|im_end|>
<|im_start|>assistant
find . -type f -name '*-*'<|im_end|> | Find all *-* files under current directory | find . -type f -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 *.$input_file_type files/directories under $source_dir with the null character as the delimiter<|im_end|>
<|im_start|>assistant
find ... | Find all *.$input_file_type files/directories under $source_dir with the null character as the delimiter | find "$source_dir" -name "*.$input_file_type" -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 /home/feeds/data directory<|im_end|>
<|im_start|>assistant
find /home/feeds/data -type d \( -name 'def/incoming... | Find all *.* directories under /home/feeds/data directory | find /home/feeds/data -type d \( -name 'def/incoming' -o -name '456/incoming' -o -name arkona \) -prune -o -name '*.*' -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 not within .git directory and run $SED_CMD -i "s/$1/$2/g" on each of them<|im_end|>
<|im_start|>assistant
find . -type f -n... | Find all *.* files not within .git directory and run $SED_CMD -i "s/$1/$2/g" on each of them | find . -type f -name "*.*" -not -path "*/.git/*" -print0 | xargs -0 $SED_CMD -i "s/$1/$2/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 *.* files under current directory<|im_end|>
<|im_start|>assistant
find . -type f -a -name '*.*'<|im_end|> | Find all *.* files under current directory | find . -type f -a -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 *.[ch] files under current directory<|im_end|>
<|im_start|>assistant
find . -name '*.[ch]'<|im_end|> | Find all *.[ch] files under current directory | find . -name '*.[ch]' | 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 *.axvw files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name '*.axvw'<|im_end|> | Find all *.axvw files/directories under current directory | find . -name '*.axvw' | 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 *.c files at any level of directory Programming under any 'src' directory<|im_end|>
<|im_start|>assistant
find ~/Programming -pat... | Find all the *.c files at any level of directory Programming under any 'src' directory | find ~/Programming -path '*/src/*.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 *.c files in /usr/src bigger than 100k<|im_end|>
<|im_start|>assistant
find /usr/src -name '*.c' -size +100k -print<|im_end|> | Find all *.c files in /usr/src bigger than 100k | find /usr/src -name '*.c' -size +100k -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 *.c files located under /home and below<|im_end|>
<|im_start|>assistant
find /home -name "*.c"<|im_end|> | Find all *.c files located under /home and below | find /home -name "*.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 *.c files on the system and feed the output to wc<|im_end|>
<|im_start|>assistant
find / -name *.c | wc<|im_end|> | Find all *.c files on the system and feed the output to wc | find / -name *.c | wc | 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 files under and below the current directory that contain "hogehoge"<|im_end|>
<|im_start|>assistant
find . -name \*.c | xargs gre... | Find all *.c files under and below the current directory that contain "hogehoge" | find . -name \*.c | xargs grep hogehoge | 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 files under and below the current directory that contain "wait_event_interruptible"<|im_end|>
<|im_start|>assistant
find . -name ... | Find all *.c files under and below the current directory that contain "wait_event_interruptible" | find . -name \*.c -exec grep wait_event_interruptible {} + | 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 files under and below the current directory that contain "wait_event_interruptible"<|im_end|>
<|im_start|>assistant
find . -name ... | Find all *.c files under and below the current directory that contain "wait_event_interruptible" | find . -name \*.c -exec grep wait_event_interruptible {} /dev/null \; | 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 files under and below the current directory that contain "wait_event_interruptible"<|im_end|>
<|im_start|>assistant
find . -name ... | Find all *.c files under and below the current directory that contain "wait_event_interruptible" | find . -name \*.c -print | xargs grep wait_event_interruptible /dev/null | 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 files under and below the current directory that contain "wait_event_interruptible"<|im_end|>
<|im_start|>assistant
find . -name ... | Find all *.c files under and below the current directory that contain "wait_event_interruptible" | find . -name \*.c -print0 | xargs -0 grep wait_event_interruptible /dev/null | 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 *.cgi files/directories under current directory and change their permission to 775<|im_end|>
<|im_start|>assistant
find . -name '*.cg... | Find all *.cgi files/directories under current directory and change their permission to 775 | find . -name '*.cgi' -print0 | xargs -0 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 the *.conf files under / (root)<|im_end|>
<|im_start|>assistant
find / -name "*.conf"<|im_end|> | find all the *.conf files under / (root) | 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 *.cpp files in the current directory tree that contain "sub" in their names<|im_end|>
<|im_start|>assistant
find . -name "*sub*.cpp"<... | Find all *.cpp files in the current directory tree that contain "sub" in their names | find . -name "*sub*.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 *.css files under /starting/directory and print filenames and the lines matching the regex '\.ExampleClass' from those files<|im_end|... | Find all *.css files under /starting/directory and print filenames and the lines matching the regex '\.ExampleClass' from those files | find /starting/directory -type f -name '*.css' | xargs -ti grep '\.ExampleClass' {} | 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 *.csv files under /foot/bar/ and move them to some_dir<|im_end|>
<|im_start|>assistant
find /foot/bar/ -name '*.csv' -print0 | xargs ... | Find all *.csv files under /foot/bar/ and move them to some_dir | find /foot/bar/ -name '*.csv' -print0 | xargs -0 mv -t some_dir | 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 *.csv files which modify within last 2 days in /home directory then zip ( archive )-<|im_end|>
<|im_start|>assistant
find /home/arc... | find all *.csv files which modify within last 2 days in /home directory then zip ( archive )- | find /home/archive -type f -name "*.csv" -mtime -2 -exec gzip -9f {} \; | 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 *.data files under jcho directory<|im_end|>
<|im_start|>assistant
find jcho -name *.data<|im_end|> | Find all *.data files under jcho directory | find jcho -name *.data | 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 *.dbf files/directories in entire file system<|im_end|>
<|im_start|>assistant
find / -name "*.dbf"<|im_end|> | Find all *.dbf files/directories in entire file system | find / -name "*.dbf" | 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 *.dbf files/directories in entire file system and print their sorted and unique parent directory paths<|im_end|>
<|im_start|>assistan... | Find all *.dbf files/directories in entire file system and print their sorted and unique parent directory paths | find / -name \*.dbf -print0 | xargs -0 -n1 dirname | sort | uniq | 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 *.err files under current directory that are larger than 5120 bytes in size<|im_end|>
<|im_start|>assistant
find . -type f -size +10 ... | Find all *.err files under current directory that are larger than 5120 bytes in size | find . -type f -size +10 -name "*.err" | 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 *.ext files/directories under current directory and print their path and parent directory path<|im_end|>
<|im_start|>assistant
find /... | Find all *.ext files/directories under current directory and print their path and parent directory path | find /path -type f -name "*.ext" -printf "%p:%h\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 *.foo files under current directory and print their contents<|im_end|>
<|im_start|>assistant
cat $(find . -name '*.foo')<|im_end|> | Find all *.foo files under current directory and print their contents | cat $(find . -name '*.foo') | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.