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
Delete all hidden files under $some_directory<|im_end|>
<|im_start|>assistant
find "$some_directory" -type f -name '.*' -exec rm '{}' \;<|im_e... | Delete all hidden files under $some_directory | find "$some_directory" -type f -name '.*' -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
Delete all hidden files under $some_directory<|im_end|>
<|im_start|>assistant
find "$some_directory" -type f -name '.*' | xargs rm<|im_end|> | Delete all hidden files under $some_directory | find "$some_directory" -type f -name '.*' | 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
Delete all HTML files under tree ~/mydir<|im_end|>
<|im_start|>assistant
find ~/mydir -iname '*.htm' -exec rm {} \;<|im_end|> | Delete all HTML files under tree ~/mydir | find ~/mydir -iname '*.htm' -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
delete all instances of the file "bad" if its size is 0 bytes<|im_end|>
<|im_start|>assistant
find . -name bad -empty -delete<|im_end|> | delete all instances of the file "bad" if its size is 0 bytes | find . -name bad -empty -delete | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
delete all the log files in the current folder<|im_end|>
<|im_start|>assistant
find -name '*.log' -delete<|im_end|> | delete all the log files in the current folder | find -name '*.log' -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
delete all the log files in the current folder<|im_end|>
<|im_start|>assistant
find ./ -name '*.log' -print0 | xargs -0 rm<|im_end|> | delete all the log files in the current folder | find ./ -name '*.log' -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
delete all the log files in the current folder<|im_end|>
<|im_start|>assistant
find ./ -name '*.log' | xargs rm<|im_end|> | delete all the log files in the current folder | find ./ -name '*.log' | 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
delete all the log files which have not been modified in the last 5 days after user confirmation<|im_end|>
<|im_start|>assistant
find . — name... | delete all the log files which have not been modified in the last 5 days after user confirmation | find . — name "*.LOG" — mtime +5 -ok 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
delete all the mp3 files in the current folder.<|im_end|>
<|im_start|>assistant
find . -type f -name "*.mp3" -exec rm -f {} \;<|im_end|> | delete all the mp3 files in the current folder. | find . -type f -name "*.mp3" -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
delete all the mp3 files in the home folder<|im_end|>
<|im_start|>assistant
find /home/ -exec grep -l “mp3” {} \; | xargs rm<|im_end|> | delete all the mp3 files in the home folder | find /home/ -exec grep -l “mp3” {} \; | 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
Delete all MP3 files under /tmp<|im_end|>
<|im_start|>assistant
find /tmp -iname '*.mp3' -print0 | xargs -0 rm<|im_end|> | Delete all MP3 files under /tmp | find /tmp -iname '*.mp3' -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
delete all the mp4 files in the folder /home which are bigger than 10MB<|im_end|>
<|im_start|>assistant
find /home -type f -name *.mp4 -size +... | delete all the mp4 files in the folder /home which are bigger than 10MB | find /home -type f -name *.mp4 -size +10M -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
Delete all non digits from index "$i" in bash array "depsAlastmodified" and print the hex dump as characters<|im_end|>
<|im_start|>assistant
e... | Delete all non digits from index "$i" in bash array "depsAlastmodified" and print the hex dump as characters | echo "${depsAlastmodified[$i]}" | tr -cd '[[:digit:]]' | od -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
delete all the normal files in the current directory whcih have the word "gui" in their content.<|im_end|>
<|im_start|>assistant
find / -type ... | delete all the normal files in the current directory whcih have the word "gui" in their content. | find / -type f -print0 | xargs -0 grep -liwZ GUI | xargs -0 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
delete all the normal files in the current folder and do not delete those in the subfolders<|im_end|>
<|im_start|>assistant
find . -maxdepth 1... | delete all the normal files in the current folder and do not delete those in the subfolders | find . -maxdepth 1 -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
delete all the php files in the folder /var/www<|im_end|>
<|im_start|>assistant
find /var/www/*.php -type f -exec rm {} \;<|im_end|> | delete all the php files in the folder /var/www | find /var/www/*.php -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
delete all the regular files in the temp folder which have not been changed in the last 15*24 hours<|im_end|>
<|im_start|>assistant
find /tmp/... | delete all the regular files in the temp folder which have not been changed in the last 15*24 hours | find /tmp/ -ctime +15 -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
delete all the regular files in the temp folder which have not been modified in the last 24 hours<|im_end|>
<|im_start|>assistant
find /tmp/ -... | delete all the regular files in the temp folder which have not been modified in the last 24 hours | find /tmp/ -type f -mtime +1 -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
delete all the regular files in the temp folder which have not been modified in the last 24 hours<|im_end|>
<|im_start|>assistant
find /tmp/ -... | delete all the regular files in the temp folder which have not been modified in the last 24 hours | find /tmp/ -type f -mtime +1 -exec rm {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
delete all the regular files in the temp folder which have not been modified in the last 24 hours<|im_end|>
<|im_start|>assistant
find /tmp/ -... | delete all the regular files in the temp folder which have not been modified in the last 24 hours | find /tmp/ -type f -mtime +1 -print0 | xargs -0 -n1 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
Delete all regular files named 'FILE-TO-FIND' under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -name "FILE-TO-FIND"... | Delete all regular files named 'FILE-TO-FIND' under current directory tree | find . -type f -name "FILE-TO-FIND" -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
Delete all regular files named 'FindCommandExamples.txt' under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -name "Fi... | Delete all regular files named 'FindCommandExamples.txt' under current directory tree | find . -type f -name "FindCommandExamples.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
Delete all regular files named 'IMAG1806.jpg' under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -name "IMAG1806.jpg"... | Delete all regular files named 'IMAG1806.jpg' under current directory tree | find . -type f -name "IMAG1806.jpg" -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
Delete all regular files named 'IMAGE1806.jpg' under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -name 'IMAGE1806.jp... | Delete all regular files named 'IMAGE1806.jpg' under current directory tree | find . -type f -name 'IMAGE1806.jpg' -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
Delete all regular files that have not been modified in the last 31 days under '/path/to/junk/files' directory tree<|im_end|>
<|im_start|>assi... | Delete all regular files that have not been modified in the last 31 days under '/path/to/junk/files' directory tree | find /path/to/junk/files -type f -mtime +31 -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
Delete all regular files that have not been modified in the last 60 weeks under $DIR directory tree<|im_end|>
<|im_start|>assistant
find $DIR ... | Delete all regular files that have not been modified in the last 60 weeks under $DIR directory tree | find $DIR -type f -mtime +60w -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
Delete all regular files that reside in directory $OUTPUTDIR and below, and were last modified more than 7 days ago<|im_end|>
<|im_start|>assi... | Delete all regular files that reside in directory $OUTPUTDIR and below, and were last modified more than 7 days ago | find $OUTPUTDIR -type f -mtime +7 -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
Delete all regular files that start with 'sess_' in their names, are at least 1 level deep and were modified more than $gc_maxlifetime minutes... | Delete all regular files that start with 'sess_' in their names, are at least 1 level deep and were modified more than $gc_maxlifetime minutes ago under $save_path directory tree | find -O3 "$save_path" -depth -mindepth 1 -name 'sess_*' -ignore_readdir_race -type f -cmin "+$gc_maxlifetime" -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
Delete all regular files under $DIR directory tree that have been modified before file $a<|im_end|>
<|im_start|>assistant
find "$DIR" -type f ... | Delete all regular files under $DIR directory tree that have been modified before file $a | find "$DIR" -type f \! -newer "$a" -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
Delete all regular files with '.cache' extension that were accessed more than 30 days ago under $HOME/Library/Safari/Icons directory tree<|im_... | Delete all regular files with '.cache' extension that were accessed more than 30 days ago under $HOME/Library/Safari/Icons directory tree | find $HOME/Library/Safari/Icons -type f -atime +30 -name "*.cache" -print -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
Delete all regular files with inode number 314167125 under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -inum 3141671... | Delete all regular files with inode number 314167125 under current directory tree | find . -type f -inum 314167125 -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
delete all the text files from the current folder after user confirmation<|im_end|>
<|im_start|>assistant
find . -name "*.txt" -ok rm {} \;<|i... | delete all the text files from the current folder after user confirmation | find . -name "*.txt" -ok 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
delete all the text files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "*.txt" -delete<|im_end|> | delete all the text files in the current folder | find . -type f -name "*.txt" -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
delete all the text files in the current folder.<|im_end|>
<|im_start|>assistant
find . -type f -name "*.txt" -exec rm -f {} \;<|im_end|> | delete all the text files in the current folder. | find . -type f -name "*.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
delete all text files in the entire file system<|im_end|>
<|im_start|>assistant
find / -type f -name "*.txt" -print | xargs rm<|im_end|> | delete all text files in the entire file system | find / -type f -name "*.txt" -print | 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
delete all text files in the home folder after user confirmation<|im_end|>
<|im_start|>assistant
find $HOME/. -name "*.txt" -ok rm {} \;<|im_e... | delete all text files in the home folder after user confirmation | find $HOME/. -name "*.txt" -ok 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
delete all the tmp files ( files with the extension tmp ) in the /tmp folder<|im_end|>
<|im_start|>assistant
find /tmp -name "*.tmp" | xargs r... | delete all the tmp files ( files with the extension tmp ) in the /tmp folder | 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
delete all the trace files (".trc") from the folder $DBA/$ORACLE_SID/bdump/ which have not been accessed in the last 7*24 hours<|im_end|>
<|im... | delete all the trace files (".trc") from the folder $DBA/$ORACLE_SID/bdump/ which have not been accessed in the last 7*24 hours | find $DBA/$ORACLE_SID/bdump/*.trc -mtime +7 -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
delete all the trace files (".trc") which have not been been accessed in the last 30*24 hours<|im_end|>
<|im_start|>assistant
find /dirpath \(... | delete all the trace files (".trc") which have not been been accessed in the last 30*24 hours | find /dirpath \( -name \*.trc -a -mtime +30 \) -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
Delete and count files in $DIR_TO_CLEAN that are older than $DAYS_TO_SAVE days<|im_end|>
<|im_start|>assistant
find "$DIR_TO_CLEAN" -type -f -... | Delete and count files in $DIR_TO_CLEAN that are older than $DAYS_TO_SAVE days | find "$DIR_TO_CLEAN" -type -f -mtime "+$DAYS_TO_SAVE" -exec rm {} \; -printf '.' | wc -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
Delete characters in columns 36 through 40 from the output of "finger"<|im_end|>
<|im_start|>assistant
finger | cut --complement -c36-40<|im_... | Delete characters in columns 36 through 40 from the output of "finger" | finger | cut --complement -c36-40 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Deletes empty folder 'nonsense_dir'.<|im_end|>
<|im_start|>assistant
rmdir nonsense_dir<|im_end|> | Deletes empty folder 'nonsense_dir'. | rmdir nonsense_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
Delete everything in the current directory<|im_end|>
<|im_start|>assistant
find -mindepth 1 -maxdepth 1 -print0 | xargs -0 rm -rf<|im_end|> | Delete everything in the current directory | find -mindepth 1 -maxdepth 1 -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
Delete files "*doc copoy" in directory tree /mnt/zip<|im_end|>
<|im_start|>assistant
find /mnt/zip -name "*doc copy" -execdir rm "{}" \;<|im_e... | Delete files "*doc copoy" in directory tree /mnt/zip | find /mnt/zip -name "*doc copy" -execdir 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
Delete files containing whitespaces<|im_end|>
<|im_start|>assistant
find . -name "* *" -exec rm -f {} \;<|im_end|> | Delete files containing whitespaces | find . -name "* *" -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
Delete files containing whitespaces without recursion<|im_end|>
<|im_start|>assistant
find . -name '*[+{;"\\=?~()<>&*|$ ]*' -maxdepth 0 -exec ... | Delete files containing whitespaces without recursion | find . -name '*[+{;"\\=?~()<>&*|$ ]*' -maxdepth 0 -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
Delete files in $DIR_TO_CLEAN older than $DAYS_TO_SAVE days<|im_end|>
<|im_start|>assistant
find "$DIR_TO_CLEAN" -mtime +$DAYS_TO_SAVE -exec r... | Delete files in $DIR_TO_CLEAN older than $DAYS_TO_SAVE days | find "$DIR_TO_CLEAN" -mtime +$DAYS_TO_SAVE -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
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -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
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -exec /bin/rm {} \+ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -exec /bin/rm {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -execdir /bin/rm {} \+ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -print | xargs /bin/rm | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete files in /var/tmp/stuff and below that have not been modified in over 90 days<|im_end|>
<|im_start|>assistant
find /var/tmp/stuff -mtim... | Delete files in /var/tmp/stuff and below that have not been modified in over 90 days | find /var/tmp/stuff -mtime +90 -print0 | xargs -0 /bin/rm | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete files in the DIR directory tree whose names begin with "2015" and contain "album" or "picture"<|im_end|>
<|im_start|>assistant
find DIR... | Delete files in the DIR directory tree whose names begin with "2015" and contain "album" or "picture" | find DIR \( -name 2015\* -a \( -name \*album\* -o -name \*picture\* \) \) -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
Delete files older than 31 days<|im_end|>
<|im_start|>assistant
find ./ -mtime +31 -delete<|im_end|> | Delete files older than 31 days | find ./ -mtime +31 -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
Delete files under $LOCATION that match $REQUIRED_FILES in their names and were modified more than 360 minutes ago<|im_end|>
<|im_start|>assis... | Delete files under $LOCATION that match $REQUIRED_FILES in their names and were modified more than 360 minutes ago | find $LOCATION -name $REQUIRED_FILES -type f -mmin +360 -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
Delete the files under the current working directory with inode numbers specified on standard input<|im_end|>
<|im_start|>assistant
xargs -n 1... | Delete the files under the current working directory with inode numbers specified on standard input | xargs -n 1 -I '{}' find "$(pwd)" -type f -inum '{}' -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
Delete files with inode number specified by [inode-number] under current directory<|im_end|>
<|im_start|>assistant
find . -inum [inode-number]... | Delete files with inode number specified by [inode-number] under current directory | find . -inum [inode-number] -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
Deletes folder like /tmp/*/* or deeper, older than +7 days if they don`t contain files or other folders.<|im_end|>
<|im_start|>assistant
find ... | Deletes folder like /tmp/*/* or deeper, older than +7 days if they don`t contain files or other folders. | find /tmp/*/* -mtime +7 -type d -exec rmdir {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete history entry at offset, defined in first argument of executed script<|im_end|>
<|im_start|>assistant
history -d "$1"<|im_end|> | Delete history entry at offset, defined in first argument of executed script | history -d "$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
Delete interactively all the files/directories with inode number 782263 under current directory tree<|im_end|>
<|im_start|>assistant
find . -i... | Delete interactively all the files/directories with inode number 782263 under current directory tree | find . -inum 782263 -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
Delete line 2 in numbered file "file" and renumber<|im_end|>
<|im_start|>assistant
grep -v '^2 ' file | cut -d' ' -f2- | nl -w1 -s' '<|im_end|... | Delete line 2 in numbered file "file" and renumber | grep -v '^2 ' file | cut -d' ' -f2- | nl -w1 -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
Delete the oldest file with '.tgz' or '.gz' extension under '/home/backups' directory tree<|im_end|>
<|im_start|>assistant
ls -tr $(find /home... | Delete the oldest file with '.tgz' or '.gz' extension under '/home/backups' directory tree | ls -tr $(find /home/backups -name '*.gz' -o -name '*.tgz')|head -1|xargs 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
delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn"<... | delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn" | find . -iname .svn -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
delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn"<... | delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn" | find . -iname .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
delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn"<... | delete recursively, without prompting, any files or directories under the current directory that case insensitively match the filename ".svn" | find . -iname .svn -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
delete what was typed in the command line and run "pwd" when button "\e[24~"<|im_end|>
<|im_start|>assistant
bind '"\e[24~":"\C-k \C-upwd\n"'<... | delete what was typed in the command line and run "pwd" when button "\e[24~" | bind '"\e[24~":"\C-k \C-upwd\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
Delimit standard input with ":" and display as a table<|im_end|>
<|im_start|>assistant
column -s: -t<|im_end|> | Delimit standard input with ":" and display as a table | column -s: -t | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
To descend at most one levels of directories below the command line arguments pass the -maxdepth 1 option. This will avoid deleting nested dir... | To descend at most one levels of directories below the command line arguments pass the -maxdepth 1 option. This will avoid deleting nested directories: | find . -maxdepth 1 -type d -iname ".[^.]*" -print0 | xargs -I {} -0 rm -rvf "{}" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Descend into every directory under /etc and print the file/directory names with relative paths<|im_end|>
<|im_start|>assistant
find /etc -exec... | Descend into every directory under /etc and print the file/directory names with relative paths | find /etc -execdir 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
Determine the user associated with stdin<|im_end|>
<|im_start|>assistant
who -m<|im_end|> | Determine the user associated with stdin | who -m | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Disables shell option 'compat31'.<|im_end|>
<|im_start|>assistant
shopt -u compat31<|im_end|> | Disables shell option 'compat31'. | shopt -u compat31 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Disables shell option 'dotglob'.<|im_end|>
<|im_start|>assistant
shopt -u dotglob<|im_end|> | Disables shell option 'dotglob'. | shopt -u dotglob | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Disables shell option 'nocasematch'.<|im_end|>
<|im_start|>assistant
shopt -u nocasematch<|im_end|> | Disables shell option 'nocasematch'. | shopt -u nocasematch | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Disables shell option 'nullglob'.<|im_end|>
<|im_start|>assistant
shopt -u nullglob<|im_end|> | Disables shell option 'nullglob'. | shopt -u nullglob | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Discard the first letter from every line in $line and calculate the md5 sum of the remaining<|im_end|>
<|im_start|>assistant
echo $line | cut ... | Discard the first letter from every line in $line and calculate the md5 sum of the remaining | echo $line | cut -c2- | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display "/tmp/file" as a table of width 30 with columns filled before rows<|im_end|>
<|im_start|>assistant
column -x -c 30 /tmp/file<|im_end|> | Display "/tmp/file" as a table of width 30 with columns filled before rows | column -x -c 30 /tmp/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
Display "infile" as printable characters or backslash escapes<|im_end|>
<|im_start|>assistant
cat infile | od -c<|im_end|> | Display "infile" as printable characters or backslash escapes | cat infile | od -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
display ten files in the tmp directory<|im_end|>
<|im_start|>assistant
find /tmp | head<|im_end|> | display ten files in the tmp directory | find /tmp | 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
Display 12345 backwards<|im_end|>
<|im_start|>assistant
echo 12345 | rev<|im_end|> | Display 12345 backwards | echo 12345 | rev | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display the 5 largest files in the current directory and its sub-directories.<|im_end|>
<|im_start|>assistant
find . -type f -exec ls -s {} \;... | Display the 5 largest files in the current directory and its sub-directories. | find . -type f -exec ls -s {} \; | sort -n -r | head -5 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display the 5 smallest files in the current directory and its sub-directories ignoring any empty files.<|im_end|>
<|im_start|>assistant
find .... | Display the 5 smallest files in the current directory and its sub-directories ignoring any empty files. | find . -not -empty -type f -exec ls -s {} \; | sort -n | head -5 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display 798 backwards<|im_end|>
<|im_start|>assistant
echo 798|rev<|im_end|> | Display 798 backwards | echo 798|rev | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display a character dump of "oldfile"<|im_end|>
<|im_start|>assistant
od -c oldfile<|im_end|> | Display a character dump of "oldfile" | od -c oldfile | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display a count of regular files in each directory at the current level.<|im_end|>
<|im_start|>assistant
find -P . -type f | rev | cut -d/ -f2... | Display a count of regular files in each directory at the current level. | find -P . -type f | rev | cut -d/ -f2- | rev | cut -d/ -f1-2 | cut -d/ -f2- | sort | uniq -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
Display a dump of "file" as floating point values of double size<|im_end|>
<|im_start|>assistant
od -t fD file<|im_end|> | Display a dump of "file" as floating point values of double size | od -t fD 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
Display a dump of standard input as floating point values of double size<|im_end|>
<|im_start|>assistant
od -t fD<|im_end|> | Display a dump of standard input as floating point values of double size | od -t fD | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display a list of all the files in the file system which do not belong to any group and search only in jfs and jfs2 file systems<|im_end|>
<|i... | display a list of all the files in the file system which do not belong to any group and search only in jfs and jfs2 file systems | find / -nogroup \( -fstype jfs -o -fstype jfs2 \) -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
display a list of all the files in the file system which do not belong to any user and search only in jfs and jfs2 file systems<|im_end|>
<|im... | display a list of all the files in the file system which do not belong to any user and search only in jfs and jfs2 file systems | find / -nouser \( -fstype jfs -o -fstype jfs2 \) -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
display a list of all files in the folder passed as argument to a script<|im_end|>
<|im_start|>assistant
find $@ -ls<|im_end|> | display a list of all files in the folder passed as argument to a script | find $@ -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
display a list of all the files in the home folder which have been modified today<|im_end|>
<|im_start|>assistant
find ~ -type f -mtime 0 -ls... | display a list of all the files in the home folder which have been modified today | find ~ -type f -mtime 0 -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
display a list of all java or jsp files in the current folders<|im_end|>
<|im_start|>assistant
find . \( -name '*jsp' -o -name '*java' \) -typ... | display a list of all java or jsp files in the current folders | find . \( -name '*jsp' -o -name '*java' \) -type f -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
display a list of all regular/normal files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -ls<|im_end|> | display a list of all regular/normal files in the current folder | find . -type f -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
display a list of all the normal/regular files in the file system ,excluding the folder proc which have the suid or sgid bit set<|im_end|>
<|i... | display a list of all the normal/regular files in the file system ,excluding the folder proc which have the suid or sgid bit set | find / -path /proc -prune -o -type f -perm +6000 -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
Display a list of files with sizes in decreasing order of size of all the regular files under '/your/dir' directory tree that are bigger than ... | Display a list of files with sizes in decreasing order of size of all the regular files under '/your/dir' directory tree that are bigger than 5 MB in size | find /your/dir -type f -size +5M -print0 | xargs -0 ls -1Ssh | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display a long listing of all the "Trash" files in the folder /home<|im_end|>
<|im_start|>assistant
find /home -name Trash -exec ls -al {} \;<... | display a long listing of all the "Trash" files in the folder /home | find /home -name Trash -exec ls -al {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display a long listing of all 0777 permission directories under current directory tree<|im_end|>
<|im_start|>assistant
find . -perm 0777 -type... | Display a long listing of all 0777 permission directories under current directory tree | find . -perm 0777 -type d -exec ls -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
display a long listing of all the directories in current directory<|im_end|>
<|im_start|>assistant
find . -type d -ls<|im_end|> | display a long listing of all the directories in current directory | find . -type d -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
display a long listing of all the directories in the current folder<|im_end|>
<|im_start|>assistant
find . -type d -exec ls -algd {} \;<|im_en... | display a long listing of all the directories in the current folder | find . -type d -exec ls -algd {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display a long listing of all the directories in the entire file system<|im_end|>
<|im_start|>assistant
find / -print0 -type d | xargs -0 ls -... | display a long listing of all the directories in the entire file system | find / -print0 -type d | xargs -0 ls -al | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.