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 hidden directories starting from the current directory<|im_end|>
<|im_start|>assistant
find . -type d -name ".*"<|im_end|> | Find all hidden directories starting from the current directory | 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
finda all the hidden files excluding those having the extension htaccess<|im_end|>
<|im_start|>assistant
find . -type f \( -iname ".*" ! -inam... | finda all the hidden files excluding those having the extension htaccess | find . -type f \( -iname ".*" ! -iname ".htaccess" \) | GWHed/nl2bash |
<|im_start|>system
You 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 hidden files in the current folder which have been modified after profile file<|im_end|>
<|im_start|>assistant
find . -type f -name "... | find all hidden files in the current folder which have been modified after profile file | find . -type f -name ".*" -newer .cshrc -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 hidden files starting from the directory given as variable $FOLDER<|im_end|>
<|im_start|>assistant
find $FOLDER -name ".*"<|im_end|> | Find all hidden files starting from the directory given as variable $FOLDER | find $FOLDER -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 hidden (regular) files under /tmp<|im_end|>
<|im_start|>assistant
find /tmp -type f -name ".*"<|im_end|> | Find all hidden (regular) files under /tmp | find /tmp -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 the html files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.html"<|im_end|> | find all the html files in the current folder | find . -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 all the html files in the current folder and rename them to .var files<|im_end|>
<|im_start|>assistant
find -name '*.html' -print0 | xarg... | find all the html files in the current folder and rename them to .var files | find -name '*.html' -print0 | xargs -0 rename 's/\.html$/.var/' | GWHed/nl2bash |
<|im_start|>system
You 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 HTML files starting with letter 'a' in the current directory and below<|im_end|>
<|im_start|>assistant
find . -name a\*.html<|im_end|... | Find all HTML files starting with letter 'a' in the current directory and below | find . -name a\*.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 HTML files starting with letter 'a' in the current directory and below ignoring the case<|im_end|>
<|im_start|>assistant
find . -inam... | Find all HTML files starting with letter 'a' in the current directory and below ignoring the case | find . -iname a\*.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 the html files that are acces in the last 24 hours in the current folder<|im_end|>
<|im_start|>assistant
find . -mtime 1 -name "*.htm... | find all the html files that are acces in the last 24 hours in the current folder | find . -mtime 1 -name "*.html" -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 html files which are modified in the last 7 days<|im_end|>
<|im_start|>assistant
find . -mtime -7 -name "*.html"<|im_end|> | find all the html files which are modified in the last 7 days | find . -mtime -7 -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 all the html, javascript and text files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "*.htm*" -o -name "*.j... | find all the html, javascript and text files in the current folder | find . -type f -name "*.htm*" -o -name "*.js*" -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 all html or cgi files in current folder<|im_end|>
<|im_start|>assistant
find ./ -type f -iregex ".*\.html$" -or -iregex ".*\.cgi$"<|im_en... | find all html or cgi files in current folder | find ./ -type f -iregex ".*\.html$" -or -iregex ".*\.cgi$" | GWHed/nl2bash |
<|im_start|>system
You 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 httpd.conf files in entire file system<|im_end|>
<|im_start|>assistant
find / -name httpd.conf<|im_end|> | Find all httpd.conf files in entire file system | find / -name 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 all image.pdf files/directories under ./polkadots<|im_end|>
<|im_start|>assistant
find ./polkadots -name 'image.pdf'<|im_end|> | Find all image.pdf files/directories under ./polkadots | find ./polkadots -name 'image.pdf' | GWHed/nl2bash |
<|im_start|>system
You 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 image.pdf files/directories under ./polkadots with null character as the delimiter<|im_end|>
<|im_start|>assistant
find ./polkadots -... | Find all image.pdf files/directories under ./polkadots with null character as the delimiter | find ./polkadots -name "image.pdf" -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 image.pdf files under ./polkadots<|im_end|>
<|im_start|>assistant
find ./polkadots -type f -name "image.pdf"<|im_end|> | Find all image.pdf files under ./polkadots | find ./polkadots -type f -name "image.pdf" | GWHed/nl2bash |
<|im_start|>system
You 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 index.* files/directories under current directory<|im_end|>
<|im_start|>assistant
find -name 'index.*'<|im_end|> | Find all index.* files/directories under current directory | find -name 'index.*' | GWHed/nl2bash |
<|im_start|>system
You 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 in the current folder and search for the pattern REGEX<|im_end|>
<|im_start|>assistant
find . -name '*.java' -exec grep RE... | find all java files in the current folder and search for the pattern REGEX | find . -name '*.java' -exec grep REGEX {} \; | GWHed/nl2bash |
<|im_start|>system
You 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 javascript files in current folder using regular expressions<|im_end|>
<|im_start|>assistant
find . -regex '.+\.js'<|im_end|> | find all the javascript files in current folder using regular expressions | find . -regex '.+\.js' | GWHed/nl2bash |
<|im_start|>system
You 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 javascript files under the current folder<|im_end|>
<|im_start|>assistant
find . -name '*.js'<|im_end|> | find all javascript files under the current folder | find . -name '*.js' | GWHed/nl2bash |
<|im_start|>system
You 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 current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "*.JPG"<|im_end|> | find all jpg files in current folder | find . -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 all jpg files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.jpg"<|im_end|> | find all jpg files in the current folder | 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 the jpg files in the directory /ftp/dir which are bigger than 500KB<|im_end|>
<|im_start|>assistant
find /ftp/dir/ -size +500k -iname... | find all the jpg files in the directory /ftp/dir which are bigger than 500KB | find /ftp/dir/ -size +500k -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 jpg,png,jpeg,pdf,tif,tiff,bmp and other image formats using regular expressions excluding those ending with "_ocr.pdf"<|im_end|>
<|im... | find all jpg,png,jpeg,pdf,tif,tiff,bmp and other image formats using regular expressions excluding those ending with "_ocr.pdf" | find /somepath -type f -iregex ".*\.(pdf\|tif\|tiff\|png\|jpg\|jpeg\|bmp\|pcx\|dcx)" ! -name "*_ocr.pdf" -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 js files under the build direcotry except build/external and build/log directory.<|im_end|>
<|im_start|>assistant
find build -not \( ... | find all js files under the build direcotry except build/external and build/log directory. | find build -not \( -path build/external -prune \) -not \( -path build/blog -prune \) -name \*.js | GWHed/nl2bash |
<|im_start|>system
You 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 files which path neither ./dir1 nor ./dir2<|im_end|>
<|im_start|>assistant
find . -name '*.js' -not \( -path "./dir1" -o -path "./... | find all js files which path neither ./dir1 nor ./dir2 | find . -name '*.js' -not \( -path "./dir1" -o -path "./dir2/*" \) | GWHed/nl2bash |
<|im_start|>system
You 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 files which path does not contain ./node_modules/* nor './vendor/*"<|im_end|>
<|im_start|>assistant
find -name '*.js' -not -path '... | find all js files which path does not contain ./node_modules/* nor './vendor/*" | find -name '*.js' -not -path './node_modules/*' -not -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 all leaf directories that include only one occurrence of "modules"<|im_end|>
<|im_start|>assistant
find -regex '.*/modules\(/.*\|$\)' \! ... | Find all leaf directories that include only one occurrence of "modules" | find -regex '.*/modules\(/.*\|$\)' \! -regex '.*/modules/.*/modules\(/.*\|$\)' -type d -links 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 level 1 subdirectories of the current directory<|im_end|>
<|im_start|>assistant
find . -maxdepth 1 -type d<|im_end|> | Find all level 1 subdirectories of the current directory | find . -maxdepth 1 -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 lines matching "$USER" in "file" and number the output<|im_end|>
<|im_start|>assistant
grep $USER file |nl<|im_end|> | Find all lines matching "$USER" in "file" and number the output | grep $USER file |nl | GWHed/nl2bash |
<|im_start|>system
You 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 links in the current folder and following it to the pointed path<|im_end|>
<|im_start|>assistant
find -L /target -type l<|im_end|... | find all the links in the current folder and following it to the pointed path | find -L /target -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 the links in the current folder which are broken<|im_end|>
<|im_start|>assistant
find /target -type l -xtype l<|im_end|> | find all the links in the current folder which are broken | find /target -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 the links in somedirectory and print them in a single line (to avoid the problem of files having newline in their names)<|im_end|>
<|... | find all the links in somedirectory and print them in a single line (to avoid the problem of files having newline in their names) | find "somedir" -type l -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 links pointing to /path/to/foo.txt<|im_end|>
<|im_start|>assistant
find . -lname /path/to/foo.txt<|im_end|> | Find all links pointing to /path/to/foo.txt | find . -lname /path/to/foo.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 all links to path/to/file<|im_end|>
<|im_start|>assistant
find -L -samefile path/to/file<|im_end|> | Find all links to path/to/file | find -L -samefile path/to/file | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
(Linux specific) Find all loadable modules for current kernel, whose name includes "perf"<|im_end|>
<|im_start|>assistant
find /lib/modules/`u... | (Linux specific) Find all loadable modules for current kernel, whose name includes "perf" | find /lib/modules/`uname -r` -regex .*perf.* | GWHed/nl2bash |
<|im_start|>system
You 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 log files in the file system<|im_end|>
<|im_start|>assistant
find / -name "*.log"<|im_end|> | find all the log files in the file system | find / -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 all log files larger then 100MB in /home directory and delete them .<|im_end|>
<|im_start|>assistant
find /home -type f -name *.log -siz... | find all log files larger then 100MB in /home directory and delete them . | find /home -type f -name *.log -size +100M -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
Finds all the log* files in /myDir recursively that are more than 7 days older, skipping already created .bz2 archives and compresses them.<|i... | Finds all the log* files in /myDir recursively that are more than 7 days older, skipping already created .bz2 archives and compresses them. | find /myDir -name 'log*' -and -not -name '*.bz2' -ctime +7 -exec bzip2 -zv {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Finds all the log* files recursively in /myDir that are more than 7 days older and compresses them.<|im_end|>
<|im_start|>assistant
find /myDi... | Finds all the log* files recursively in /myDir that are more than 7 days older and compresses them. | find /myDir -name "log*" -ctime +7 -exec bzip2 -zv {} \; | GWHed/nl2bash |
<|im_start|>system
You 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 Makefile's in the current directory tree<|im_end|>
<|im_start|>assistant
find -type f -name "Makefile"<|im_end|> | Find all Makefile's in the current directory tree | find -type f -name "Makefile" | GWHed/nl2bash |
<|im_start|>system
You 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 Makefile's in the current directory tree and look for line 235 in each of them<|im_end|>
<|im_start|>assistant
find . -name Makefile ... | Find all Makefile's in the current directory tree and look for line 235 in each of them | find . -name Makefile -print0 | xargs -0 grep -nH $ | grep :235: | GWHed/nl2bash |
<|im_start|>system
You 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 mp3 files in the current folder and move them to another folder<|im_end|>
<|im_start|>assistant
find . -name "*.mp3" -exec mv {} ... | find all the mp3 files in the current folder and move them to another folder | find . -name "*.mp3" -exec mv {} "/Users/sir/Music//iTunes/iTunes Media/Automatically Add to iTunes.localized/" \; | GWHed/nl2bash |
<|im_start|>system
You 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 mp3 files in the file system<|im_end|>
<|im_start|>assistant
find / -iname "*.mp3" -print<|im_end|> | find all the mp3 files in the file system | find / -iname "*.mp3" -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 MP3 files in the home directory tree that were modified in the last 24 hours<|im_end|>
<|im_start|>assistant
find ~ -type f -mtime 0 ... | Find all MP3 files in the home directory tree that were modified in the last 24 hours | find ~ -type f -mtime 0 -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 MP3s in the /home directory tree<|im_end|>
<|im_start|>assistant
find /home -type f -name '*.mp3'<|im_end|> | Find all MP3s in the /home directory tree | find /home -type f -name '*.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 mysong.ogg files/directories under your home directory<|im_end|>
<|im_start|>assistant
find $HOME -name 'mysong.ogg'<|im_end|> | Find all mysong.ogg files/directories under your home directory | find $HOME -name 'mysong.ogg' | GWHed/nl2bash |
<|im_start|>system
You 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 normal files in the home directory which have been accesed in the last 30 days with the size greater than or equal to 100k.<|im_e... | find all the normal files in the home directory which have been accesed in the last 30 days with the size greater than or equal to 100k. | find $HOME -type f -atime +30 -size 100k | GWHed/nl2bash |
<|im_start|>system
You 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 of the character devices on the system<|im_end|>
<|im_start|>assistant
find / -type c<|im_end|> | Find all of the character devices on the system | find / -type 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 of jzb's files<|im_end|>
<|im_start|>assistant
find -user jzb<|im_end|> | Find all of jzb's files | find -user jzb | GWHed/nl2bash |
<|im_start|>system
You 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 or single file called tecmint.txt under the / directory of owner root<|im_end|>
<|im_start|>assistant
find / -user root -name tecmint... | Find all or single file called tecmint.txt under the / directory of owner root | find / -user root -name tecmint.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 all orm* files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name 'orm*'<|im_end|> | Find all orm* files/directories under current directory | find . -name 'orm*' | GWHed/nl2bash |
<|im_start|>system
You 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 orm.* files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name "orm.*"<|im_end|> | Find all orm.* files/directories under current directory | find . -name "orm.*" | GWHed/nl2bash |
<|im_start|>system
You 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 pdf files excluding *_signed.pdf files under /some/dir with null character as the delimiter<|im_end|>
<|im_start|>assistant
find /som... | Find all pdf files excluding *_signed.pdf files under /some/dir with null character as the delimiter | find /some/dir -name "*.pdf" ! -name "*_signed.pdf" -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 pdf files in the current folder<|im_end|>
<|im_start|>assistant
find . -name “*.pdf” -print<|im_end|> | find all pdf files in the current folder | find . -name “*.pdf” -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 pdf files under /dir/containing/unsigned with null character as the delimiter<|im_end|>
<|im_start|>assistant
find /dir/containing/un... | Find all pdf files under /dir/containing/unsigned with null character as the delimiter | find /dir/containing/unsigned -name '*.pdf' -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 PDFs owned by user “seamstress”<|im_end|>
<|im_start|>assistant
find / -user seamstress -iname “*.pdf”<|im_end|> | find all PDFs owned by user “seamstress” | find / -user seamstress -iname “*.pdf” | GWHed/nl2bash |
<|im_start|>system
You 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 perl files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "*.pl"<|im_end|> | find all the perl files in the current folder | find . -type f -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 all the perl files in the current folder, print0 is used to handle files with new lines in their names or only spaces<|im_end|>
<|im_star... | find all the perl files in the current folder, print0 is used to handle files with new lines in their names or only spaces | find . -type f -name "*.pl" -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 PHP files in the current directory recursively<|im_end|>
<|im_start|>assistant
find . -name \*.php -type f<|im_end|> | Find all PHP files in the current directory recursively | find . -name \*.php -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 PHP files in the current directory recursively and search them for string "$test" with 8 simultaneous processes<|im_end|>
<|im_start|... | Find all PHP files in the current directory recursively and search them for string "$test" with 8 simultaneous processes | find . -name \*.php -type f -print0 | xargs -0 -n1 -P8 grep -Hn '$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 the php files in the current folder<|im_end|>
<|im_start|>assistant
find . -name \*.php<|im_end|> | find all the php files in the current folder | find . -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 the php files in the current folder<|im_end|>
<|im_start|>assistant
find . -name “*.[php|PHP]” -print<|im_end|> | find all the php files in the current folder | find . -name “*.[php|PHP]” -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 php files in current folder and search for multiple patterns in these files<|im_end|>
<|im_start|>assistant
find -name '*.php' -e... | find all the php files in current folder and search for multiple patterns in these files | find -name '*.php' -exec grep -li "fincken" {} + | xargs grep -l "TODO" | GWHed/nl2bash |
<|im_start|>system
You 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 php files in current folder and search for multiple patterns in these files and display the file names<|im_end|>
<|im_start|>assi... | find all the php files in current folder and search for multiple patterns in these files and display the file names | find -name '*.php' -exec grep -in "fincken" {} + | grep TODO | cut -d: -f1 | 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 the php files in current folder using regular expressions<|im_end|>
<|im_start|>assistant
find . -regex '.+\.php'<|im_end|> | find all the php files in current folder using regular expressions | find . -regex '.+\.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 that belong to user 'takuya' and have been modified in the last 1 day<|im_end|>
<|im_start|>assistant
find -user takuya -na... | Find all php files that belong to user 'takuya' and have been modified in the last 1 day | find -user takuya -name '*.php' -daystart -mtime -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 PHP files under current directory<|im_end|>
<|im_start|>assistant
find . -type f -name *.php<|im_end|> | Find all PHP files under current directory | 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 under current directory that contain only one line<|im_end|>
<|im_start|>assistant
find . -type f -name '*.php' -exec wc -l... | Find all PHP files under current directory that contain only one line | find . -type f -name '*.php' -exec wc -l {} \; | egrep "^\s*1\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 php files whose name is tecmint.php in a current working directory<|im_end|>
<|im_start|>assistant
find . -type f -name tecmint.php<|... | Find all php files whose name is tecmint.php in a current working directory | find . -type f -name tecmint.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 the php/javascript files in current folder using regular expressions<|im_end|>
<|im_start|>assistant
find . -regex '.+\.\(php|js\)'<|... | find all the php/javascript files in current folder using regular expressions | find . -regex '.+\.\(php|js\)' | GWHed/nl2bash |
<|im_start|>system
You 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 png files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name '*.png'<|im_end|> | find all png files in the current folder | find . -type f -name '*.png' | GWHed/nl2bash |
<|im_start|>system
You 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 png files in the current folder which are present in the pattern list search .txt<|im_end|>
<|im_start|>assistant
find . -name '*... | find all the png files in the current folder which are present in the pattern list search .txt | find . -name '*.png' | grep -f search.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 all python files (.py files) in $topdir directory tree and search for 'Makefile' in all these folders and display all distinct folders ha... | Find all python files (.py files) in $topdir directory tree and search for 'Makefile' in all these folders and display all distinct folders having 'Makefile' | find "$topdir" -name '*.py' -printf '%h\0' | xargs -0 -I {} find {} -mindepth 1 -maxdepth 1 -name Makefile -printf '%h\n' | sort -u | GWHed/nl2bash |
<|im_start|>system
You 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 python files under current directory tree, save the list to 'output.txt' and search for 'something' in those files<|im_end|>
<|im_sta... | Find all python files under current directory tree, save the list to 'output.txt' and search for 'something' in those files | find . -name '*.py' | tee output.txt | xargs grep '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 raw images in the current folder and pass them one at a time to the xargs command and enable parallel processing of the files<|im_end... | find all raw images in the current folder and pass them one at a time to the xargs command and enable parallel processing of the files | find . -type f -iname '*.CR2' -print0 | xargs -0 -n 1 -P 8 -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 read me files in a folder<|im_end|>
<|im_start|>assistant
find /usr/share/doc -name README<|im_end|> | find all read me files in a folder | find /usr/share/doc -name README | GWHed/nl2bash |
<|im_start|>system
You 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 Read Only files<|im_end|>
<|im_start|>assistant
find / -perm /u=r<|im_end|> | Find all Read Only files | find / -perm /u=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 read only files in /home directory<|im_end|>
<|im_start|>assistant
find /home -type f -perm /u=r<|im_end|> | Find all read only files in /home directory | find /home -type f -perm /u=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 regex ".*/[a-f0-9\-]\{36\}\.jpg" files<|im_end|>
<|im_start|>assistant
find . -regextype sed -regex ".*/[a-f0-9\-]\{36\}\.jpg"<|im_e... | find all regex ".*/[a-f0-9\-]\{36\}\.jpg" files | find . -regextype sed -regex ".*/[a-f0-9\-]\{36\}\.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 regex "./[a-f0-9\-]\{36\}\.jpg" files<|im_end|>
<|im_start|>assistant
find . -regex "./[a-f0-9\-]\{36\}\.jpg"<|im_end|> | find all regex "./[a-f0-9\-]\{36\}\.jpg" files | find . -regex "./[a-f0-9\-]\{36\}\.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 regex '\./[a-f0-9\-]\{36\}\.jpg' files<|im_end|>
<|im_start|>assistant
find . -regex '\./[a-f0-9\-]\{36\}\.jpg'<|im_end|> | find all regex '\./[a-f0-9\-]\{36\}\.jpg' files | find . -regex '\./[a-f0-9\-]\{36\}\.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 regular *.css files<|im_end|>
<|im_start|>assistant
find . -type f -name "*.css"<|im_end|> | Find all regular *.css files | find . -type f -name "*.css" | GWHed/nl2bash |
<|im_start|>system
You 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 .abc files under and below /the/path and rename them prefixing their names with "version_1"<|im_end|>
<|im_start|>assistant
f... | Find all regular .abc files under and below /the/path and rename them prefixing their names with "version_1" | find /the/path -type f -name '*.abc' -execdir rename 's/\.\/(.+)\.abc$/version1_$1.abc/' {} \; | GWHed/nl2bash |
<|im_start|>system
You 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 1 level down the $dir directory<|im_end|>
<|im_start|>assistant
find $dir -maxdepth 1 -type f<|im_end|> | Find all regular files 1 level down the $dir directory | find $dir -maxdepth 1 -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 regular file and create jw-htmlfiles.tar<|im_end|>
<|im_start|>assistant
find . -type f -name "*html" | xargs tar cvf jw-htmlfiles.ta... | find all regular file and create jw-htmlfiles.tar | find . -type f -name "*html" | xargs tar cvf jw-htmlfiles.tar - | GWHed/nl2bash |
<|im_start|>system
You 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 then display the number of occurrences of banana without lines not proper end<|im_end|>
<|im_start|>assistant
find . -... | find all regular files then display the number of occurrences of banana without lines not proper end | find . -type f -print0| xargs -0 grep -c banana| grep -v ":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 regular files exclude .o and exclude *.swp and output line number of soc_attach if it has<|im_end|>
<|im_start|>assistant
find . \( ... | find all regular files exclude .o and exclude *.swp and output line number of soc_attach if it has | find . \( ! -path "./output/*" \) -a \( -type f \) -a \( ! -name '*.o' \) -a \( ! -name '*.swp' \) | xargs grep -n soc_attach | GWHed/nl2bash |
<|im_start|>system
You 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 in the "aaa" directory<|im_end|>
<|im_start|>assistant
find aaa/ -maxdepth 1 -type f<|im_end|> | Find all regular files in the "aaa" directory | find aaa/ -maxdepth 1 -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 regular files in $DIR directory tree which have not been modified in the last 15 days and delete them<|im_end|>
<|im_start|>assis... | Find all the regular files in $DIR directory tree which have not been modified in the last 15 days and delete them | find "$DIR" -type f -mtime +15 -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 the regular files in $DIR directory tree which have not been modified in the last 450 days and delete them<|im_end|>
<|im_start|>assi... | Find all the regular files in $DIR directory tree which have not been modified in the last 450 days and delete them | find $DIR -type f -mtime +450 -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 the normal/regular files in /etc/sysconfig which have been accesses in the last 30 minutes<|im_end|>
<|im_start|>assistant
find /etc/... | find all the normal/regular files in /etc/sysconfig which have been accesses in the last 30 minutes | find /etc/sysconfig -amin -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 regular/normal files in the /path folder and delete them<|im_end|>
<|im_start|>assistant
find /path -type f -delete<|im_end|> | find all the regular/normal files in the /path folder and delete them | find /path -type f -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 regular/normal files in the /path folder and delete them<|im_end|>
<|im_start|>assistant
find /path -type f -exec rm '{}' \;<|im_... | find all the regular/normal files in the /path folder and delete them | find /path -type f -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 the regular/normal files in the /path folder and delete them<|im_end|>
<|im_start|>assistant
find /path -type f -print0 | xargs -0 rm... | find all the regular/normal files in the /path folder and delete them | find /path -type f -print0 | xargs -0 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 regular files in the /path/to/base/dir tree<|im_end|>
<|im_start|>assistant
find /path/to/base/dir -type f<|im_end|> | Find all regular files in the /path/to/base/dir tree | find /path/to/base/dir -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 regular files in /usr/bin accessed more than 20 days ago<|im_end|>
<|im_start|>assistant
find /usr/bin -type f -atime +20<|im_end|> | Find all regular files in /usr/bin accessed more than 20 days ago | find /usr/bin -type f -atime +20 | GWHed/nl2bash |
<|im_start|>system
You 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 in /usr/bin modified less than within the last 10 days<|im_end|>
<|im_start|>assistant
find /usr/bin -type f -mtime -10... | Find all regular files in /usr/bin modified less than within the last 10 days | find /usr/bin -type f -mtime -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 all the regular/normal files in all the directories in the /some/dir and delete them<|im_end|>
<|im_start|>assistant
find /some/dir -type... | find all the regular/normal files in all the directories in the /some/dir and delete them | find /some/dir -type d -exec find {} -type f -delete \; | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.