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 display all files ending with "ini" in current folder<|im_end|> <|im_start|>assistant find . -type f -name '*.ini'<|im_end|>
display all files ending with "ini" in current folder
find . -type f -name '*.ini'
GWHed/nl2bash
<|im_start|>system 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 all the files having spaces in the current folder<|im_end|> <|im_start|>assistant find . -name "filename including space"<|im_end|>
display all the files having spaces in the current folder
find . -name "filename including space"
GWHed/nl2bash
<|im_start|>system 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 all the files having spaces in the current folder<|im_end|> <|im_start|>assistant find . -name "filename including space" -print0<|im_...
display all the files having spaces in the current folder
find . -name "filename including space" -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 display all the files having the word "searched phrasse" in their name in the current folder excluding those from the paths "/tmp/" and "./var...
display all the files having the word "searched phrasse" in their name in the current folder excluding those from the paths "/tmp/" and "./var/log"
find . -type f -name "*searched phrasse*" ! -path "./tmp/*" ! -path "./var/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 display all the files in the /usr folder which have the permissions 777<|im_end|> <|im_start|>assistant find /usr -perm 0777 -print<|im_end|>
display all the files in the /usr folder which have the permissions 777
find /usr -perm 0777 -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 display all the files in the kat folder<|im_end|> <|im_start|>assistant find kat -printf "%f\n"<|im_end|>
display all the files in the kat folder
find kat -printf "%f\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 display all the files in the current directory and do not search in sub directories<|im_end|> <|im_start|>assistant find . -maxdepth 1 -print0...
display all the files in the current directory and do not search in sub directories
find . -maxdepth 1 -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 display all the files in the current directory and do not search in the sub directories<|im_end|> <|im_start|>assistant find . -maxdepth 0 -pr...
display all the files in the current directory and do not search in the sub directories
find . -maxdepth 0 -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 display all the files in the current directory excluding those that are in the 'secret' directory<|im_end|> <|im_start|>assistant find . -name...
display all the files in the current directory excluding those that are in the 'secret' directory
find . -name 'secret' -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in the current directory excluding those that are present in the directories whose name starts with "efence" and do not sear...
display all files in the current directory excluding those that are present in the directories whose name starts with "efence" and do not search in the sub directories
find * -maxdepth 0 -name "efence*" -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display all files in the current directory tree that match "*foo"<|im_end|> <|im_start|>assistant tree -P "*foo"<|im_end|>
Display all files in the current directory tree that match "*foo"
tree -P "*foo"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in the current folder after pruning those in the current folder ( dot is the output of this command )<|im_end|> <|im_start|>...
display all files in the current folder after pruning those in the current folder ( dot is the output of this command )
find . -prune -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 display all the files in the current folder along with the change time and display file names of the last 10 changed files<|im_end|> <|im_star...
display all the files in the current folder along with the change time and display file names of the last 10 changed files
find . -type f -printf "%C@ %p\n" | sort -rn | head -n 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 display all files in the current folder along with their last access timestamps<|im_end|> <|im_start|>assistant find . -printf "%h/%f : dernie...
display all files in the current folder along with their last access timestamps
find . -printf "%h/%f : dernier accès le %Ac\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 display all files in the current folder along with their last accessed timestamps<|im_end|> <|im_start|>assistant find . -printf "%h/%f : dern...
display all files in the current folder along with their last accessed timestamps
find . -printf "%h/%f : dernier accès le %AA %Ad %AB %AY à %AH:%AM:%AS\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 display all the files in the current folder along with the modification time and display file names of the last 10 modified files<|im_end|> <|...
display all the files in the current folder along with the modification time and display file names of the last 10 modified files
find . -type f -printf '%T@ %p\n' | sort -n | tail -10 | cut -f2- -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 display all files in the current folder and do not search in the sub directories<|im_end|> <|im_start|>assistant find . -maxdepth 0<|im_end|>
display all files in the current folder and do not search in the sub directories
find . -maxdepth 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 display all the files in the current folder and do not search in sub directories and move them to the directory /directory1/directory2.<|im_en...
display all the files in the current folder and do not search in sub directories and move them to the directory /directory1/directory2.
find . -maxdepth 1 -type f | xargs -I ‘{}’ sudo mv {} /directory1/directory2
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder and traverse from the sub directories<|im_end|> <|im_start|>assistant find . -type d -depth<|im_en...
display all the files in the current folder and traverse from the sub directories
find . -type d -depth
GWHed/nl2bash
<|im_start|>system 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 all files in current folder ending with "~" or "#" using regular expression<|im_end|> <|im_start|>assistant find -regex "^.*~$\|^.*#$"...
display all files in current folder ending with "~" or "#" using regular expression
find -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 display all the files in the current folder except those whose name is "PERSONAL"<|im_end|> <|im_start|>assistant find . -name PERSONAL -prune...
display all the files in the current folder except those whose name is "PERSONAL"
find . -name PERSONAL -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in current folder excluding current folder (.)<|im_end|> <|im_start|>assistant find . \! -name '.'<|im_end|>
display all files in current folder excluding current folder (.)
find . \! -name '.'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder excluding the current folder and do not search in the sub directories<|im_end|> <|im_start|>assis...
display all the files in the current folder excluding the current folder and do not search in the sub directories
find . -maxdepth 1 -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 display all the files in the current folder excluding the directory aa<|im_end|> <|im_start|>assistant find . -type d ! -name aa<|im_end|>
display all the files in the current folder excluding the directory aa
find . -type d ! -name aa
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder excluding the files with the name mmm<|im_end|> <|im_start|>assistant find . -name mmm -prune -o -...
display all the files in the current folder excluding the files with the name mmm
find . -name mmm -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder excluding the perl files<|im_end|> <|im_start|>assistant find . -not -name "*.pl"<|im_end|>
display all the files in the current folder excluding the perl files
find . -not -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 display all the files in the current folder excluding search in the paths containing the folder having the word "mmm"<|im_end|> <|im_start|>as...
display all the files in the current folder excluding search in the paths containing the folder having the word "mmm"
find . ! -path *mmm*
GWHed/nl2bash
<|im_start|>system 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 all files in current folder excluding text files<|im_end|> <|im_start|>assistant find . ! -name "*.txt"<|im_end|>
display all files in current folder excluding text files
find . ! -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 display all the files in the current folder excluding those ending with ".disabled" in sorted order<|im_end|> <|im_start|>assistant find /targ...
display all the files in the current folder excluding those ending with ".disabled" in sorted order
find /target/ | grep -v '\.disabled$' | sort
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder excluding those that are present in the folder "secret"<|im_end|> <|im_start|>assistant find . \( ...
display all the files in the current folder excluding those that are present in the folder "secret"
find . \( -name 'secret' -a -prune \) -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder excluding those that are present in the path "./etc"<|im_end|> <|im_start|>assistant find . ! -who...
display all the files in the current folder excluding those that are present in the path "./etc"
find . ! -wholename "./etc*"
GWHed/nl2bash
<|im_start|>system 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 all files in current folder excluding those that have the word "git" in their name and display files that have git in their path names...
display all files in current folder excluding those that have the word "git" in their name and display files that have git in their path names
find . ! -name '*git*' | grep git
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder excluding those which are in the path of ".git"<|im_end|> <|im_start|>assistant find . ! -path "*...
display all the files in the current folder excluding those which are in the path of ".git"
find . ! -path "*.git*" -type f -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 display all the files in the current folder excluding those which are present in "./src/emacs" folder<|im_end|> <|im_start|>assistant find ....
display all the files in the current folder excluding those which are present in "./src/emacs" folder
find . -path './src/emacs' -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder expect perl shell and python fiels<|im_end|> <|im_start|>assistant find . -not -name "*.pl" -not -...
display all the files in the current folder expect perl shell and python fiels
find . -not -name "*.pl" -not -name "*.sh" -not -name "*.py"
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder for the files which have been accessed in the last 24 hours<|im_end|> <|im_start|>assistant find ....
display all the files in the current folder for the files which have been accessed in the last 24 hours
find . -type f -atime -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 display all the files in the current folder in a single line separated by null command<|im_end|> <|im_start|>assistant sudo find . -print0<|im...
display all the files in the current folder in a single line separated by null command
sudo find . -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 display all the files in the current folder that are at least one week old (7 days) but less then 30 days old<|im_end|> <|im_start|>assistant ...
display all the files in the current folder that are at least one week old (7 days) but less then 30 days old
find . -mtime +30 -a -mtime -7 -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 display all files in the current folder that have been modified in the last 24 hours whose name has only 1 letter<|im_end|> <|im_start|>assist...
display all files in the current folder that have been modified in the last 24 hours whose name has only 1 letter
find . -name \? -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 display all the files in the current folder that end with ".ksh"<|im_end|> <|im_start|>assistant find . -name "*.ksh" -prune<|im_end|>
display all the files in the current folder that end with ".ksh"
find . -name "*.ksh" -prune
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in current folder using regular expression<|im_end|> <|im_start|>assistant find -regex "$rx"<|im_end|>
display all files in current folder using regular expression
find -regex "$rx"
GWHed/nl2bash
<|im_start|>system 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 all files in current folder which are bigger than 1 MB<|im_end|> <|im_start|>assistant find . -size +1M<|im_end|>
display all files in current folder which are bigger than 1 MB
find . -size +1M
GWHed/nl2bash
<|im_start|>system 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 all files in current folder which are bigger than 100KB but are less than 500KB<|im_end|> <|im_start|>assistant find . -size +100k -a ...
display all files in current folder which are bigger than 100KB but are less than 500KB
find . -size +100k -a -size -500k
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which are bigger than 100MB and save the output list to the file /root/big.txt<|im_end|> <|im_star...
display all the files in the current folder which are bigger than 100MB and save the output list to the file /root/big.txt
find \( -size +100M -fprintf /root/big.txt %-10s %p\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 display all the files in current folder which are bigger than 10KB<|im_end|> <|im_start|>assistant find . -size +10k<|im_end|>
display all the files in current folder which are bigger than 10KB
find . -size +10k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder which have are bigger than 1KB<|im_end|> <|im_start|>assistant find . -size +1024 -print<|im_end|>
display all the files in the current folder which have are bigger than 1KB
find . -size +1024 -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 display all the files in the current folder which are in the path "./sr*sc"<|im_end|> <|im_start|>assistant find . -path './sr*sc'<|im_end|>
display all the files in the current folder which are in the path "./sr*sc"
find . -path './sr*sc'
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which are in the path ending with the folder f<|im_end|> <|im_start|>assistant find . -path '*f'<...
display all the files in the current folder which are in the path ending with the folder f
find . -path '*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 display all files in the current folder which are not empty<|im_end|> <|im_start|>assistant find . ! -size 0k<|im_end|>
display all files in the current folder which are not empty
find . ! -size 0k
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which are present in the path "./src/emacs"<|im_end|> <|im_start|>assistant find . -path './src/em...
display all the files in the current folder which are present in the path "./src/emacs"
find . -path './src/emacs' -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in current folder which have been accessed in the last 15 days<|im_end|> <|im_start|>assistant find . -atime -15<|im_end...
display all the files in current folder which have been accessed in the last 15 days
find . -atime -15
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which have been accessed in the last 60 minutes<|im_end|> <|im_start|>assistant find . -amin -60<|...
display all the files in the current folder which have been accessed in the last 60 minutes
find . -amin -60
GWHed/nl2bash
<|im_start|>system 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 all the files in current folder which have been changed in the last 2-6 days<|im_end|> <|im_start|>assistant find . -cmin +2 -cmin -6<...
display all the files in current folder which have been changed in the last 2-6 days
find . -cmin +2 -cmin -6
GWHed/nl2bash
<|im_start|>system 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 all the files in current folder which have been changed in the last 24 hours<|im_end|> <|im_start|>assistant find . -ctime -1 -print<|...
display all the files in current folder which have been changed in the last 24 hours
find . -ctime -1 -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 display all the files in the current folder which have been modified after the files "/bin/sh"<|im_end|> <|im_start|>assistant find . -newer /...
display all the files in the current folder which have been modified after the files "/bin/sh"
find . -newer /bin/sh
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder which have been modified between two dates<|im_end|> <|im_start|>assistant find . -newermt “Sep 1 ...
display all the files in the current folder which have been modified between two dates
find . -newermt “Sep 1 2006” -and \! -newermt “Sep 10 2006”
GWHed/nl2bash
<|im_start|>system 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 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...
display all the files in the current folder which have been modified in the last 14*24 hours
find . -mtime -14 -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 display all the files in the current folder which have been modified in the last 2 days<|im_end|> <|im_start|>assistant find . -mtime -2<|im_e...
display all the files in the current folder which have been modified in the last 2 days
find . -mtime -2
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder which have been modified in the last 24 hours<|im_end|> <|im_start|>assistant find . -mtime -1<|im...
display all the files in the current folder which have been modified in the last 24 hours
find . -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 display all the files in the current folder which have been modified in the last 24 hours<|im_end|> <|im_start|>assistant find . -mtime -1 -pr...
display all the files in the current folder which have been modified in the last 24 hours
find . -mtime -1 -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 display all the files in the current folder which have been modified in the last 24 hours excluding all directories<|im_end|> <|im_start|>assi...
display all the files in the current folder which have been modified in the last 24 hours excluding all directories
find . \( -type d ! -name . -prune \) -o \( -mtime -1 -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 display all the files in the current folder which have been modified in the last 5*24 hours<|im_end|> <|im_start|>assistant find . -mtime -5<|...
display all the files in the current folder which have been modified in the last 5*24 hours
find . -mtime -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 all files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant find -mmin 60<|im_end|>
display all files in current folder which have been modified in the last 60 minutes
find -mmin 60
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which have colon in their name<|im_end|> <|im_start|>assistant find . -name "*:*"<|im_end|>
display all the files in the current folder which have colon in their name
find . -name "*:*"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the current folder which end with ".bash"<|im_end|> <|im_start|>assistant find . -name "*.bash"<|im_end|>
display all the files in the current folder which end with ".bash"
find . -name "*.bash"
GWHed/nl2bash
<|im_start|>system 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 all files in the current folder which end with extension "myfile" followed by two digits<|im_end|> <|im_start|>assistant find . -regex...
display all files in the current folder which end with extension "myfile" followed by two digits
find . -regex '.*myfile[0-9][0-9]?'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in the current folder which end with extension "myfile" followed by one digit or two digits<|im_end|> <|im_start|>assistant ...
display all files in the current folder which end with extension "myfile" followed by one digit or two digits
find . -\( -name "myfile[0-9][0-9]" -o -name "myfile[0-9]" \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in the current folder which end with extension "myfile" followed by one digit or two digits<|im_end|> <|im_start|>assistant ...
display all files in the current folder which end with extension "myfile" followed by one digit or two digits
find . -regextype sed -regex '.*myfile[0-9]\{1,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 display all the files in the current folder which hare in the sub directory trees of the folders which begin with the word "kt" followed by a ...
display all the files in the current folder which hare in the sub directory trees of the folders which begin with the word "kt" followed by a digit
find . -path './kt[0-9] '
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in current folder which have not been modified in the last 7 days<|im_end|> <|im_start|>assistant find . -mtime +7<|im_e...
display all the files in current folder which have not been modified in the last 7 days
find . -mtime +7
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which have not been modified in the last 7 days and which are not in the list "file.lst"<|im_end|>...
display all the files in the current folder which have not been modified in the last 7 days and which are not in the list "file.lst"
find -mtime +7 -print | grep -Fxvf file.lst
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which do not belong to any group<|im_end|> <|im_start|>assistant find . -nogroup<|im_end|>
display all the files in the current folder which do not belong to any group
find . -nogroup
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which do not belong to any user<|im_end|> <|im_start|>assistant find . -nouser<|im_end|>
display all the files in the current folder which do not belong to any user
find . -nouser
GWHed/nl2bash
<|im_start|>system 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 all files in the current folder which do not belong to the user john<|im_end|> <|im_start|>assistant find . ! -user john<|im_end|>
display all files in the current folder which do not belong to the user john
find . ! -user john
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which have the permissions 777 and which have been modified in the last 24 hours.<|im_end|> <|im_s...
display all the files in the current folder which have the permissions 777 and which have been modified in the last 24 hours.
find . -perm 777 -mtime 0 -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 display all the files in the current folder which have the permissions 777 and which have been modified in the last 24 hours.<|im_end|> <|im_s...
display all the files in the current folder which have the permissions 777 and which have been modified in the last 24 hours.
find . -perm 777 -a -mtime 0 -a -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 display all the files in current folder which start with "file2015-0"<|im_end|> <|im_start|>assistant find . -name "file2015-0*"<|im_end|>
display all the files in current folder which start with "file2015-0"
find . -name "file2015-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 display all the files in the current folder which start with either "fileA_" or "fileB_"<|im_end|> <|im_start|>assistant find . -name 'fileA_*...
display all the files in the current folder which start with either "fileA_" or "fileB_"
find . -name 'fileA_*' -o -name 'fileB_*'
GWHed/nl2bash
<|im_start|>system 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 all files in the current folder which start with met<|im_end|> <|im_start|>assistant find -name met*<|im_end|>
display all files in the current folder which start with met
find -name met*
GWHed/nl2bash
<|im_start|>system 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 all the files in the current folder which have the word "bills" in their name<|im_end|> <|im_start|>assistant find . -name '*bills*' -...
display all the files in the current folder which have the word "bills" in their name
find . -name '*bills*' -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 display all the files in current folder which have write permission to all the users<|im_end|> <|im_start|>assistant find . -perm /222<|im_end...
display all the files in current folder which have write permission to all the users
find . -perm /222
GWHed/nl2bash
<|im_start|>system 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 all files in the current folder with the name test excluding those that are present folder test<|im_end|> <|im_start|>assistant find ....
display all files in the current folder with the name test excluding those that are present folder test
find . -name test -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in the current folder with the name test excluding those that are present in the sub folders of the test folder<|im_end|> <|...
display all files in the current folder with the name test excluding those that are present in the sub folders of the test folder
find . -name test -prune
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files in current folder with NULL separating each file<|im_end|> <|im_start|>assistant find . -print0<|im_end|>
display all files in current folder with NULL separating each file
find . -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 display all files in the directory "dir" which have been accessed in the last 60 minutes<|im_end|> <|im_start|>assistant find /dir -amin -60<|...
display all files in the directory "dir" which have been accessed in the last 60 minutes
find /dir -amin -60
GWHed/nl2bash
<|im_start|>system 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 all files in the directory "dir" which have been changed in the last 60 minutes<|im_end|> <|im_start|>assistant find /dir -cmin -60<|i...
display all files in the directory "dir" which have been changed in the last 60 minutes
find /dir -cmin -60
GWHed/nl2bash
<|im_start|>system 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 all the files in the directory modules<|im_end|> <|im_start|>assistant find . -name modules<|im_end|>
display all the files in the directory modules
find . -name modules
GWHed/nl2bash
<|im_start|>system 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 all files in the entire file system<|im_end|> <|im_start|>assistant find /<|im_end|>
display all files in the entire file system
find /
GWHed/nl2bash
<|im_start|>system 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 all the files in the entire file system<|im_end|> <|im_start|>assistant find / -name "*" — print<|im_end|>
display all the files in the entire file system
find / -name "*" — print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the entire file system<|im_end|> <|im_start|>assistant find / -type f -exec echo {} \;<|im_end|>
display all the files in the entire file system
find / -type f -exec echo {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the entire file system which are bigger than 10MB<|im_end|> <|im_start|>assistant find / -size +10000k<|im_end|>
display all the files in the entire file system which are bigger than 10MB
find / -size +10000k
GWHed/nl2bash
<|im_start|>system 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 all the files in the entire file system which begin with "apache-tomcat"<|im_end|> <|im_start|>assistant find / -name "apache-tomcat*"...
display all the files in the entire file system which begin with "apache-tomcat"
find / -name "apache-tomcat*"
GWHed/nl2bash
<|im_start|>system 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 all the files in the entire file system which have set uid bit set.<|im_end|> <|im_start|>assistant find / -perm -u+s -print<|im_end|>
display all the files in the entire file system which have set uid bit set.
find / -perm -u+s -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 display all the files in the file system excluding all the ".c" files<|im_end|> <|im_start|>assistant find / \! -name "*.c" -print<|im_end|>
display all the files in the file system excluding all the ".c" files
find / \! -name "*.c" -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 display all files in the file system which are bigger than 50MB and having size "filename" in them<|im_end|> <|im_start|>assistant find / -siz...
display all files in the file system which are bigger than 50MB and having size "filename" in them
find / -size +50M -iname "filename"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files in the file system which are changed a minute ago<|im_end|> <|im_start|>assistant find / -newerct '1 minute ago' -print<...
display all the files in the file system which are changed a minute ago
find / -newerct '1 minute ago' -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 display all the files in the file system which are present in nfs system<|im_end|> <|im_start|>assistant find / -fstype nfs -print<|im_end|>
display all the files in the file system which are present in nfs system
find / -fstype nfs -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 display all the files in the file system which are smaller than 20 bytes<|im_end|> <|im_start|>assistant find / -size 20<|im_end|>
display all the files in the file system which are smaller than 20 bytes
find / -size 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 display all the files in the file system which have been modified in the last 10 minutes<|im_end|> <|im_start|>assistant find / -mmin -10<|im_...
display all the files in the file system which have been modified in the last 10 minutes
find / -mmin -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 display all the files in the file system which belong to no group<|im_end|> <|im_start|>assistant find / -nogroup staff -print<|im_end|>
display all the files in the file system which belong to no group
find / -nogroup staff -print
GWHed/nl2bash