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 the ".bak" or swap files in kat folder<|im_end|>
<|im_start|>assistant
find kat -type f \( -name "*~" -p -name "*.bak" \) -delete<|... | delete all the ".bak" or swap files in kat folder | find kat -type f \( -name "*~" -p -name "*.bak" \) -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 '-' character from $1 and save the resultant string to variable 'COLUMN'<|im_end|>
<|im_start|>assistant
COLUMN=`echo $1 | tr -d -`... | Delete all '-' character from $1 and save the resultant string to variable 'COLUMN' | COLUMN=`echo $1 | tr -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
Delete all 'restore.php' files in /var/www and 3 levels below<|im_end|>
<|im_start|>assistant
find /var/www -maxdepth 4 -name 'restore.php' -e... | Delete all 'restore.php' files in /var/www and 3 levels below | find /var/www -maxdepth 4 -name 'restore.php' -exec 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
Delete all *txt files under current directory<|im_end|>
<|im_start|>assistant
find . -name "*txt" -type f -print | xargs rm<|im_end|> | Delete all *txt files under current directory | find . -name "*txt" -type f -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 .bam files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -name "*.bam" | xargs rm<|im_end|> | Delete all .bam files in the current directory tree | find . -name "*.bam" | 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 .c files present in the current directory and below<|im_end|>
<|im_start|>assistant
find . -name "*.c" | xargs rm -f<|im_end|> | Delete all the .c files present in the current directory and below | find . -name "*.c" | 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 all .pyc files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -name "*.pyc" | xargs -0 rm -rf<|im_end|> | Delete all .pyc files in the current directory tree | find . -name "*.pyc" | 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 all .pyc files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -name "*.pyc" | xargs rm -rf<|im_end|> | Delete all .pyc files in the current directory tree | find . -name "*.pyc" | 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 all .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -depth -name .svn -exec rm -fr {} \;<|im_end|... | Delete all .svn files/directories under current directory | find . -depth -name .svn -exec rm -fr {} \; | GWHed/nl2bash |
<|im_start|>system
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 .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn -delete<|im_end|> | Delete all .svn files/directories under current directory | find . -name .svn -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 .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn -exec rm -rf '{}' \;<|im_end|> | Delete all .svn files/directories under current directory | find . -name .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 all .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn -exec rm -rf {} +<|im_end|> | Delete all .svn files/directories under current directory | find . -name .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 all .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn -exec rm -rf {} \;<|im_end|> | Delete all .svn files/directories under current directory | find . -name .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 all .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn -exec rm -v {} \;<|im_end|> | Delete all .svn files/directories under current directory | find . -name .svn -exec rm -v {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete all .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn | xargs rm -fr<|im_end|> | Delete all .svn files/directories under current directory | find . -name .svn | xargs rm -fr | GWHed/nl2bash |
<|im_start|>system
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 .svn files/directories under current directory<|im_end|>
<|im_start|>assistant
find . -name .svn |xargs rm -rf<|im_end|> | Delete all .svn files/directories under current directory | find . -name .svn |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 all .svn subdirectories under current directory<|im_end|>
<|im_start|>assistant
rm -rf `find . -type d -name ".svn"`<|im_end|> | Delete all .svn subdirectories under current directory | rm -rf `find . -type d -name ".svn"` | GWHed/nl2bash |
<|im_start|>system
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 1US* (case insensitive) files under current directory<|im_end|>
<|im_start|>assistant
find . -iname "1US*" -exec rm {} \;<|im_end|> | Delete all 1US* (case insensitive) files under current directory | find . -iname "1US*" -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 __temp__* directories under maximum 1 level down the current directory tree<|im_end|>
<|im_start|>assistant
find . -maxdepth 1 -typ... | Delete all __temp__* directories under maximum 1 level down the current directory tree | find . -maxdepth 1 -type d -name '__temp__*' -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 all the backup files in current directory<|im_end|>
<|im_start|>assistant
find . -name "*.bak" -delete<|im_end|> | delete all the backup files in current directory | find . -name "*.bak" -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 broken symbolic links under '/usr/ports/packages' directory tree<|im_end|>
<|im_start|>assistant
find -L /usr/ports/packages -type ... | Delete all broken symbolic links under '/usr/ports/packages' directory tree | find -L /usr/ports/packages -type l -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 but the most recent 5 files<|im_end|>
<|im_start|>assistant
ls -tr | head -n -5 | xargs rm<|im_end|> | Delete all but the most recent 5 files | ls -tr | head -n -5 | 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 core files in the folder /prog which are bigger than 1KB<|im_end|>
<|im_start|>assistant
find /prog -type f -size +1000 -print ... | delete all the core files in the folder /prog which are bigger than 1KB | find /prog -type f -size +1000 -print -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
delete all the directories empty directories in the current folder<|im_end|>
<|im_start|>assistant
find . -type d -empty -delete<|im_end|> | delete all the directories empty directories in the current folder | find . -type d -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 directories found in $LOGDIR that are more than a work-week old<|im_end|>
<|im_start|>assistant
find $LOGDIR -type d -mtime +5 -exe... | Delete all directories found in $LOGDIR that are more than a work-week old | find $LOGDIR -type d -mtime +5 -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 all directories under '.cache/chromium/Default/Cache' directory tree that are at least 1 level deep and are bigger than 100 MB in size<... | Delete all directories under '.cache/chromium/Default/Cache' directory tree that are at least 1 level deep and are bigger than 100 MB in size | find .cache/chromium/Default/Cache/ -mindepth 1 -type d -size +100M -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 directories under '.cache/chromium/Default/Cache/' directory tree that are bigger than 100MB and are at least 1 level deep<|im_end|... | Delete all directories under '.cache/chromium/Default/Cache/' directory tree that are bigger than 100MB and are at least 1 level deep | find .cache/chromium/Default/Cache/ -mindepth 1 -type d -size +100M -exec rm -rf {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete all empty directories and directories that contain only empty directories under current directory<|im_end|>
<|im_start|>assistant
find ... | Delete all empty directories and directories that contain only empty directories under current directory | find -type d -empty -exec rmdir -vp --ignore-fail-on-non-empty {} + | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete all empty directories in the "test" directory tree<|im_end|>
<|im_start|>assistant
find test -depth -type d -empty -delete<|im_end|> | Delete all empty directories in the "test" directory tree | find test -depth -type d -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 empty directories in the current folder<|im_end|>
<|im_start|>assistant
find . -type d -empty -exec rmdir {} \;<|im_end|> | delete all the empty directories in the current folder | find . -type d -empty -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 all empty directories in minimum 1 level down the directory 'directory'<|im_end|>
<|im_start|>assistant
find directory -mindepth 1 -typ... | Delete all empty directories in minimum 1 level down the directory 'directory' | find directory -mindepth 1 -type d -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 empty directories under root<|im_end|>
<|im_start|>assistant
find root -type -d -empty -delete<|im_end|> | Delete all empty directories under root | find root -type -d -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 empty files and directories in the "test" directory tree<|im_end|>
<|im_start|>assistant
find test -depth -empty -delete<|im_end|> | Delete all empty files and directories in the "test" directory tree | find test -depth -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 empty files in the current directory ( empty file = size 0 bytes )<|im_end|>
<|im_start|>assistant
find . -empty -exec rm '{}' \;<|... | delete all empty files in the current directory ( empty file = size 0 bytes ) | find . -empty -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 empty files in the current directory<|im_end|>
<|im_start|>assistant
find . -empty -exec rm {}\;<|im_end|> | delete all the empty files in the current directory | find . -empty -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 empty files in the current directory only if they are ok and the user has the permission to delete them<|im_end|>
<|im_start|>a... | delete all the empty files in the current directory only if they are ok and the user has the permission to delete them | find . -empty -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 empty files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -empty -delete<|im_end|> | Delete all empty files in the current directory tree | find . -type f -empty -delete | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
delete all the empty files(files with size 0 bytes) in the current folder<|im_end|>
<|im_start|>assistant
find . -empty -delete -print<|im_end... | delete all the empty files(files with size 0 bytes) in the current folder | find . -empty -delete -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
delete all the empty in the current folder and all its sub directories<|im_end|>
<|im_start|>assistant
find . -depth -type d -empty -exec rmdi... | delete all the empty in the current folder and all its sub directories | find . -depth -type d -empty -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 all the empty in the current folder do not search in sub directories<|im_end|>
<|im_start|>assistant
find . -maxdepth 1 -type d -empty ... | delete all the empty in the current folder do not search in sub directories | find . -maxdepth 1 -type d -empty -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 files and directories<|im_end|>
<|im_start|>assistant
find -delete<|im_end|> | Delete all files and directories | find -delete | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Delete all files/directories in minimum 2 levels down the root directory<|im_end|>
<|im_start|>assistant
find root -mindepth 2 -delete<|im_end... | Delete all files/directories in minimum 2 levels down the root directory | find root -mindepth 2 -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 files/directories named 'file' under current directory tree<|im_end|>
<|im_start|>assistant
find -name file -delete<|im_end|> | Delete all files/directories named 'file' under current directory tree | find -name file -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 files/directories named 'sample' (case insensitive) under '/home/user/Series/' directory tree as super user<|im_end|>
<|im_start|>a... | Delete all files/directories named 'sample' (case insensitive) under '/home/user/Series/' directory tree as super user | sudo find /home/user/Series/ -iname sample -print0 | sudo 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
Delete all files/directories named test under maximum 2 level down the current directory<|im_end|>
<|im_start|>assistant
find . -maxdepth 2 -n... | Delete all files/directories named test under maximum 2 level down the current directory | find . -maxdepth 2 -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
Delete all files/directories older than 48 hours in /path/to/files* paths<|im_end|>
<|im_start|>assistant
find /path/to/files* -mtime +2 -dele... | Delete all files/directories older than 48 hours in /path/to/files* paths | find /path/to/files* -mtime +2 -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 files/directories under current directory tree excluding '.gitignore' files/directories and files/directories matching the patterns... | Delete all files/directories under current directory tree excluding '.gitignore' files/directories and files/directories matching the patterns '.git' or '.git/*' in their paths | find . ! -name '.gitignore' ! -path '.git' ! -path '.git/*' -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 all files/directories under current directory tree with '.$1' extension where $1 expands as the first positional parameter<|im_end|>
<|... | Delete all files/directories under current directory tree with '.$1' extension where $1 expands as the first positional parameter | find . -name "*.$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 files/directories with '.old' extension under current directory tree<|im_end|>
<|im_start|>assistant
find . -name “*.old” -delete<|... | Delete all files/directories with '.old' extension under current directory tree | find . -name “*.old” -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 files/directories with inode number 117672808 under current directory tree<|im_end|>
<|im_start|>assistant
find -inum 117672808 -ex... | Delete all files/directories with inode number 117672808 under current directory tree | find -inum 117672808 -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 files beneath the current directory that begin with the letters 'Foo'.<|im_end|>
<|im_start|>assistant
find . -type f -name "Foo*" ... | Delete all files beneath the current directory that begin with the letters 'Foo'. | find . -type f -name "Foo*" -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 files ending with "~" in current folder<|im_end|>
<|im_start|>assistant
find -name '*~' -delete<|im_end|> | delete all the files ending with "~" in current folder | find -name '*~' -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 files ending with "~" in current folder<|im_end|>
<|im_start|>assistant
find -name '*~' -print0 | xargs -0 rm<|im_end|> | delete all the files ending with "~" in current folder | find -name '*~' -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 files ending with "~" in current folder<|im_end|>
<|im_start|>assistant
find . -name "*~" -print | xargs rm<|im_end|> | delete all the files ending with "~" in current folder | find . -name "*~" -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 the files found in the current directory tree whose names begin with "heapdump"<|im_end|>
<|im_start|>assistant
find . -name heapdu... | Delete all the files found in the current directory tree whose names begin with "heapdump" | find . -name heapdump* -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 files found in the current directory tree whose names begin with "heapdump"<|im_end|>
<|im_start|>assistant
find . -name heapdu... | Delete all the files found in the current directory tree whose names begin with "heapdump" | find . -name heapdump*|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 files in the $DIR directory that have not been accessed in 5 or more days.<|im_end|>
<|im_start|>assistant
find "$DIR" -type f -ati... | Delete all files in the $DIR directory that have not been accessed in 5 or more days. | find "$DIR" -type f -atime +5 -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 files in the /TBD directory that were modified more than 1 day ago<|im_end|>
<|im_start|>assistant
find /TBD/* -mtime +1 -exec rm -... | Delete all files in the /TBD directory that were modified more than 1 day ago | find /TBD/* -mtime +1 -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 all files in the /myDir directory tree that were last modfied more than 7 days ago<|im_end|>
<|im_start|>assistant
find /myDir -mindept... | Delete all files in the /myDir directory tree that were last modfied more than 7 days ago | find /myDir -mindepth 1 -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 files in the current directory.<|im_end|>
<|im_start|>assistant
find . -exec /bin/rm {} \;<|im_end|> | Delete all files in the current directory. | find . -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 all files in the current directory tree whose names end with ~<|im_end|>
<|im_start|>assistant
find . -name "*~" -delete<|im_end|> | Delete all files in the current directory tree whose names end with ~ | find . -name "*~" -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 files in the current directory tree whose names end with ~<|im_end|>
<|im_start|>assistant
find . -name "*~" -exec rm {} \;<|im_end... | Delete all files in the current directory tree whose names end with ~ | find . -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 the files in the current folder<|im_end|>
<|im_start|>assistant
find . -delete<|im_end|> | delete all the files in the current folder | find . -delete | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
delete all the files in the current folder<|im_end|>
<|im_start|>assistant
find . -print0 | xargs -0 rm<|im_end|> | delete all the files in the current folder | find . -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 files in the current folder which are bigger than 1KB<|im_end|>
<|im_start|>assistant
find . -size +1024 ?print|xargs -i rm \;<... | delete all the files in the current folder which are bigger than 1KB | find . -size +1024 ?print|xargs -i 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 files in the current folder which have been modified in the last 14*24 hours<|im_end|>
<|im_start|>assistant
find . -mtime -14 ... | delete all the files in the current folder which have been modified in the last 14*24 hours | find . -mtime -14 -print|xargs -i 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 files in the current folder which end with ".bak" or ".backup" and which have not been accessed in the last 30 days<|im_end|>
<... | delete all the files in the current folder which end with ".bak" or ".backup" and which have not been accessed in the last 30 days | find . ( -name '*.bak' -o -name *.backup ) -type f -atime +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 all the files in the current folder which do not belong to any user<|im_end|>
<|im_start|>assistant
find / -nouser -exec rm {}\;<|im_e... | delete all the files in the current folder which do not belong to any user | find / -nouser -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 files in the current folder which do not belong to any user<|im_end|>
<|im_start|>assistant
find . -nouser | xargs rm<|im_end|> | delete all the files in the current folder which do not belong to any user | find . -nouser | 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 files in the file system which belong to the user edwarda<|im_end|>
<|im_start|>assistant
find / -user edwarda -exec rm "{}" \;... | delete all the files in the file system which belong to the user edwarda | find / -user edwarda -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 files in the file system which belong to the user edwarda after user confirmation<|im_end|>
<|im_start|>assistant
find / -user ... | delete all the files in the file system which belong to the user edwarda after user confirmation | find / -user edwarda -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 files in the home directory which ahve the name core in them<|im_end|>
<|im_start|>assistant
find ~/ -name 'core*' -exec rm {} \;<|... | delete all files in the home directory which ahve the name core in them | find ~/ -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
Delete all files named "filename" in the current directory tree, except the one with path ./path/to/filename<|im_end|>
<|im_start|>assistant
f... | Delete all files named "filename" in the current directory tree, except the one with path ./path/to/filename | find . -name "filename" -and -not -path "./path/to/filename" -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 files named "filename" in the current directory tree, except those with paths ending in "/myfolder/filename"<|im_end|>
<|im_start|>... | Delete all files named "filename" in the current directory tree, except those with paths ending in "/myfolder/filename" | find . -name "filename" -and -not -path "*/myfolder/filename" -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 files named '-F' under current directory tree<|im_end|>
<|im_start|>assistant
find . -name "-F" -exec rm {} \;<|im_end|> | Delete all files named '-F' under current directory tree | find . -name "-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 files named 'sample' (case insensitive) under '/home/user/Series' directory tree with superuser privilege<|im_end|>
<|im_start|>ass... | Delete all files named 'sample' (case insensitive) under '/home/user/Series' directory tree with superuser privilege | sudo find /home/user/Series/ -iname sample -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 files not owned by valid users<|im_end|>
<|im_start|>assistant
find / -nouser | xargs -0 rm<|im_end|> | Delete all files not owned by valid users | find / -nouser | 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 files that have not been accessed in the last 30 days<|im_end|>
<|im_start|>assistant
find . -type f -atime +30 -exec rm {} \;<|im_... | Delete all files that have not been accessed in the last 30 days | find . -type f -atime +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 all files that were modified more than 60 days ago under '/path-to-directory' tree<|im_end|>
<|im_start|>assistant
find /path-to-direct... | Delete all files that were modified more than 60 days ago under '/path-to-directory' tree | find /path-to-directory -mtime +60 -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 files under $DESTINATION directory tree that were modified more than 7 days ago<|im_end|>
<|im_start|>assistant
find $DESTINATION -... | Delete all files under $DESTINATION directory tree that were modified more than 7 days ago | find $DESTINATION -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 files under $INTRANETDESTINATION/weekly directory tree that were modified more than 32 days ago<|im_end|>
<|im_start|>assistant
fin... | Delete all files under $INTRANETDESTINATION/weekly directory tree that were modified more than 32 days ago | find $INTRANETDESTINATION/weekly -mtime +32 -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 files under '/home/backups' directory tree with '.tgz' or '.gz' extension (case insensitive) that were modified more thant 60 days ... | Delete all files under '/home/backups' directory tree with '.tgz' or '.gz' extension (case insensitive) that were modified more thant 60 days ago | find /home/backups -type f -iregex '.*\.t?gz$' -mtime +60 -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 files under /path/to/files that are not newer than dummyfile<|im_end|>
<|im_start|>assistant
find /path/to/files -type f ! -newer d... | Delete all files under /path/to/files that are not newer than dummyfile | find /path/to/files -type f ! -newer dummyfile -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 files under /path/to/input/ that match the case insensitive string literal 'spammer@spammy.com' in their contents<|im_end|>
<|im_st... | Delete all files under /path/to/input/ that match the case insensitive string literal 'spammer@spammy.com' in their contents | find /path/to/input/ -type f -exec grep -qiF spammer@spammy.com \{\} \; -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 files under and below the current directory<|im_end|>
<|im_start|>assistant
find -mindepth 1 -delete<|im_end|> | Delete all files under and below the current directory | find -mindepth 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 files under current directory tree with '.$1' extension where $1 expands as the first positional parameter<|im_end|>
<|im_start|>as... | Delete all files under current directory tree with '.$1' extension where $1 expands as the first positional parameter | find . -name "*.$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 files under root whose status were changed more than 30 minutes ago<|im_end|>
<|im_start|>assistant
find root -type -f -cmin +30 -d... | Delete all files under root whose status were changed more than 30 minutes ago | find root -type -f -cmin +30 -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 files under user's home directory tree that were accessed more than 365 days after their status was changed<|im_end|>
<|im_start|>a... | Delete all files under user's home directory tree that were accessed more than 365 days after their status was changed | find ~ -used +365 -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 files which start with "Tes" in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "Tes*" -exec rm {} \;<|... | delete all the files which start with "Tes" in the current folder | find . -type f -name "Tes*" -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 files with ' .o' extension in the entire filesystem<|im_end|>
<|im_start|>assistant
find project / src / -name "* .o" -exec rm -f {... | Delete all files with ' .o' extension in the entire filesystem | find project / src / -name "* .o" -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 files with 128128 inode number under current directory tree<|im_end|>
<|im_start|>assistant
find . -inum 128128 | xargs rm<|im_end|... | Delete all files with 128128 inode number under current directory tree | find . -inum 128128 | 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 files with indoe number $inum under current directory tree<|im_end|>
<|im_start|>assistant
find . -inum $inum -exec rm {} \;<|im_en... | Delete all files with indoe number $inum under current directory tree | find . -inum $inum -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 files with inode number 804180<|im_end|>
<|im_start|>assistant
find -inum 804180 -exec rm {} \<|im_end|> | Delete all files with inode number 804180 | find -inum 804180 -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 filename* files under /dir directory<|im_end|>
<|im_start|>assistant
find /dir -name "filename*" -type f -delete<|im_end|> | Delete all filename* files under /dir directory | find /dir -name "filename*" -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 filename* files under /dir directory<|im_end|>
<|im_start|>assistant
find /dir -name "filename*" -type f -exec rm {} \;<|im_end|> | Delete all filename* files under /dir directory | find /dir -name "filename*" -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 filename* files under /dir directory<|im_end|>
<|im_start|>assistant
find /dir -name "filename*" -type f -print | xargs rm<|im_end|... | Delete all filename* files under /dir directory | find /dir -name "filename*" -type f -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 hard links to the physical file with inode number 2655341<|im_end|>
<|im_start|>assistant
find /home -xdev -inum 2655341 | xargs rm... | Delete all hard links to the physical file with inode number 2655341 | find /home -xdev -inum 2655341 | 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 hidden files/directories under $some_directory including $some_directory<|im_end|>
<|im_start|>assistant
find $some_directory '.*' ... | Delete all hidden files/directories under $some_directory including $some_directory | find $some_directory '.*' -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 hidden files in the directory tree given as variable $FOLDER<|im_end|>
<|im_start|>assistant
find $FOLDER -name ".*" -delete<|im_en... | Delete all hidden files in the directory tree given as variable $FOLDER | find $FOLDER -name ".*" -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 hidden files under $some_directory<|im_end|>
<|im_start|>assistant
find "$some_directory" -type f -name '.*' -delete<|im_end|> | Delete all hidden files under $some_directory | find "$some_directory" -type f -name '.*' -delete | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.