text large_stringlengths 242 1.17k | nl large_stringlengths 13 387 | bash large_stringlengths 1 715 | source large_stringclasses 3
values |
|---|---|---|---|
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the file system which belong to no user or which have no user<|im_end|>
<|im_start|>assistant
find / -nouser<|im_end|> | find all files in the file system which belong to no user or which have no 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
find all the files in the file system which belong to the user "pat" and with the name "dateiname"<|im_end|>
<|im_start|>assistant
find / -use... | find all the files in the file system which belong to the user "pat" and with the name "dateiname" | find / -user pat -iname "Dateiname" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the file system which belong to the user pat and having the word "filename" in their name.<|im_end|>
<|im_start|>assistant
f... | find all files in the file system which belong to the user pat and having the word "filename" in their name. | find / -user pat -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
find all files in the file system which have no user and no group<|im_end|>
<|im_start|>assistant
find / -nouser -nogroup<|im_end|> | find all files in the file system which have no user and no group | find / -nouser -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
find all files in the file system which have not been accessed in the last 2 days<|im_end|>
<|im_start|>assistant
find / -atime +2<|im_end|> | find all files in the file system which have not been accessed in the last 2 days | find / -atime +2 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the file system which have not been modified in the last 100*24 hours<|im_end|>
<|im_start|>assistant
find / -mtime +100... | find all the files in the file system which have not been modified in the last 100*24 hours | find / -mtime +100 -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the file system which have the permission 777 and with the name "dateiname"<|im_end|>
<|im_start|>assistant
find / -perm... | find all the files in the file system which have the permission 777 and with the name "dateiname" | find / -perm 777 -iname "Dateiname" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the file system which have read permission to the user and display the ten files<|im_end|>
<|im_start|>assistant
find / ... | find all the files in the file system which have read permission to the user and display the ten files | find / -perm /u=r | head | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the file system which have sticky bit enabled to the user<|im_end|>
<|im_start|>assistant
find / -perm -u+s<|im_end|> | find all the files in the file system which have sticky bit enabled to the user | find / -perm -u+s | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the file system whose size is bigger than 3GB<|im_end|>
<|im_start|>assistant
find / -size +3G<|im_end|> | find all files in the file system whose size is bigger than 3GB | find / -size +3G | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the file system whose size is exactly 2KB<|im_end|>
<|im_start|>assistant
find / -size 2048c<|im_end|> | find all files in the file system whose size is exactly 2KB | find / -size 2048c | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder "/mp3-collection" which are bigger than 10MB excluding those that start with the word Metallica<|im_end|>
<|i... | find all the files in the folder "/mp3-collection" which are bigger than 10MB excluding those that start with the word Metallica | find /mp3-collection -size +10000k ! -name "Metallica*" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder "/u/bill" which have been accessed in the last 2-6 minutes<|im_end|>
<|im_start|>assistant
find /u/bill -amin... | find all the files in the folder "/u/bill" which have been accessed in the last 2-6 minutes | find /u/bill -amin +2 -amin -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
find all the files in the folder "/usr/app/etl/01/OTH/log/tra" which have been modified in the last 240 hours excluding hidden files and tho... | find all the files in the folder "/usr/app/etl/01/OTH/log/tra" which have been modified in the last 240 hours excluding hidden files and those with the name "/usr/app/etl/01/CLE/par/files_to_skip.par" | find /usr/app/etl/01/OTH/log/tra -type f ! -name ".*" -mtime -10 | egrep -vf /usr/app/etl/01/CLE/par/files_to_skip.par | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder ./machbook and change the owner of them to the user with id "184"<|im_end|>
<|im_start|>assistant
find ./mach... | find all the files in the folder ./machbook and change the owner of them to the user with id "184" | find ./machbook -exec chown 184 {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder .home/calvin which have been modified in th last 45 minutes<|im_end|>
<|im_start|>assistant
find /home/calvin... | find all the files in the folder .home/calvin which have been modified in th last 45 minutes | find /home/calvin/ -mmin -45 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the folder /etc which have been modified after /tmp/foo<|im_end|>
<|im_start|>assistant
find /etc -newer /tmp/foo<|im_end|> | find all files in the folder /etc which have been modified after /tmp/foo | find /etc -newer /tmp/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
find all the files in the folder /home which are bigger than 10MB and smaller than 50 MB<|im_end|>
<|im_start|>assistant
find /home -size +10M... | find all the files in the folder /home which are bigger than 10MB and smaller than 50 MB | find /home -size +10M -size -50M | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder /opt which have been accessed exactly 20 days ago<|im_end|>
<|im_start|>assistant
find /opt -atime 20<|im_end... | find all the files in the folder /opt which have been accessed exactly 20 days ago | find /opt -atime 20 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder /opt which have been changed in the last 120 minutes<|im_end|>
<|im_start|>assistant
find /opt -cmin -120<|i... | find all the files in the folder /opt which have been changed in the last 120 minutes | find /opt -cmin -120 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder /opt which have been modified exactly 20 days ago<|im_end|>
<|im_start|>assistant
find /opt -mtime 20<|im_end... | find all the files in the folder /opt which have been modified exactly 20 days ago | find /opt -mtime 20 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder /path/to/dir which have been modified after a specific date (Feb 07)<|im_end|>
<|im_start|>assistant
find /pa... | find all the files in the folder /path/to/dir which have been modified after a specific date (Feb 07) | find /path/to/dir -newermt “Feb 07” | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the folder /path/to/dir which have been modified between two dates<|im_end|>
<|im_start|>assistant
find /path/to/dir -newerm... | find all files in the folder /path/to/dir which have been modified between two dates | find /path/to/dir -newermt yyyy-mm-dd ! -newermt yyyy-mm-dd -ls | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder /work which belong to the user "olivier"<|im_end|>
<|im_start|>assistant
find /work -user olivier -print<|im_... | find all the files in the folder /work which belong to the user "olivier" | find /work -user olivier -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder Musica and display them in a single line null separated<|im_end|>
<|im_start|>assistant
find Música/* | egrep... | find all the files in the folder Musica and display them in a single line null separated | find Música/* | egrep -Z \/\\. | xargs -0 echo | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the folder ~/Music which begin with "Automatically Add"<|im_end|>
<|im_start|>assistant
find ~/Music/ -name "Automatical... | find all the files in the folder ~/Music which begin with "Automatically Add" | find ~/Music/ -name "Automatically Add*" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in your home directory and below that are larger than 100M.<|im_end|>
<|im_start|>assistant
find ~ -size +100M<|im_end|> | Find all files in your home directory and below that are larger than 100M. | find ~ -size +100M | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in your home directory and below that are smaller than 100M.<|im_end|>
<|im_start|>assistant
find ~ -size -100M<|im_end|> | Find all files in your home directory and below that are smaller than 100M. | find ~ -size -100M | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in the home directory tree that are owned by another user and change their ownership to the current user<|im_end|>
<|im_start|>... | Find all files in the home directory tree that are owned by another user and change their ownership to the current user | find ~ ! -user $USER -exec sudo chown ${USER}:"{}" \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in the home directory with open permissions<|im_end|>
<|im_start|>assistant
find ~ -perm 777<|im_end|> | Find all files in the home directory with open permissions | find ~ -perm 777 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder that are modified day before yesterday<|im_end|>
<|im_start|>assistant
find $HOME -mtime -2 -mtime +1<|i... | find all the files in the home folder that are modified day before yesterday | find $HOME -mtime -2 -mtime +1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which are bigger than 2MB and zip them<|im_end|>
<|im_start|>assistant
find ~ -size +2000000c -regex '.*... | find all the files in the home folder which are bigger than 2MB and zip them | find ~ -size +2000000c -regex '.*[^gz]' -exec gzip '{}' ';' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which are less than 300Bytes<|im_end|>
<|im_start|>assistant
find ~ -size -300b<|im_end|> | find all the files in the home folder which are less than 300Bytes | find ~ -size -300b | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which are less than 42 Bytes<|im_end|>
<|im_start|>assistant
find / -size 42<|im_end|> | find all the files in the home folder which are less than 42 Bytes | find / -size 42 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the home folder which are modified in the last 2 days.<|im_end|>
<|im_start|>assistant
find ~ -type f -mtime -2<|im_end|> | find all files in the home folder which are modified in the last 2 days. | find ~ -type f -mtime -2 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which have been modified after a file<|im_end|>
<|im_start|>assistant
find $HOME -newer ~joeuser/lastbat... | find all the files in the home folder which have been modified after a file | find $HOME -newer ~joeuser/lastbatch.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in home folder which have been modified after a timestamp<|im_end|>
<|im_start|>assistant
find ~ -newer /tmp/timestamp<|im_end|... | find all files in home folder which have been modified after a timestamp | find ~ -newer /tmp/timestamp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files in the home folder which have been modified between 72 and 96 hours before<|im_end|>
<|im_start|>assistant
find ~ -mtime 2 -mti... | find all files in the home folder which have been modified between 72 and 96 hours before | find ~ -mtime 2 -mtime -4 -daystart | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in home folder which have been modified in the last 24 hours<|im_end|>
<|im_start|>assistant
find $HOME -mtime -1<|im_end|> | find all the files in home folder which have been modified in the last 24 hours | find $HOME -mtime -1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which have been modified in the last 30 minutes<|im_end|>
<|im_start|>assistant
find $HOME -mmin -30<|im... | find all the files in the home folder which have been modified in the last 30 minutes | find $HOME -mmin -30 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the home folder which have been modified today<|im_end|>
<|im_start|>assistant
find ~ -type f -mtime 0<|im_end|> | find all the files in the home folder which have been modified today | find ~ -type f -mtime 0 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in the level 6 subdirecotries of /usr/src and below, ignoring CVS files<|im_end|>
<|im_start|>assistant
find /usr/src -name CVS... | Find all files in the level 6 subdirecotries of /usr/src and below, ignoring CVS files | find /usr/src -name CVS -prune -o -mindepth +6 -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in maximum 1 level down the current directory that were modified less than 1 day ago<|im_end|>
<|im_start|>assistant
find -maxd... | Find all files in maximum 1 level down the current directory that were modified less than 1 day ago | find -maxdepth 1 -type f -mtime -1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files in maximum 1 level down the current directory that were modified less than 1 day ago from today<|im_end|>
<|im_start|>assistant... | Find all files in maximum 1 level down the current directory that were modified less than 1 day ago from today | find -maxdepth 1 -type f -daystart -mtime -1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the present directory which have the group staff and check if is a symbolic link and display it.<|im_end|>
<|im_start|>a... | find all the files in the present directory which have the group staff and check if is a symbolic link and display it. | find `pwd` -group staff -exec find {} -type l -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
Filnd all files in root directory with 777 permission and change permision 644 with chmod commad .<|im_end|>
<|im_start|>assistant
find / -ty... | Filnd all files in root directory with 777 permission and change permision 644 with chmod commad . | find / -type f -perm 777 -print -exec chmod 644 {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files in the root folder which have been modified in the last 24 hours and print them<|im_end|>
<|im_start|>assistant
find / -mti... | find all the files in the root folder which have been modified in the last 24 hours and print them | 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
Find all files in ~/clang+llvm-3.3/bin/ and print 'basename /file/path' for each file<|im_end|>
<|im_start|>assistant
find ~/clang+llvm-3.3/bi... | Find all files in ~/clang+llvm-3.3/bin/ and print 'basename /file/path' for each file | find ~/clang+llvm-3.3/bin/ -type f -exec echo basename {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files matching "abc*" in the current directory and append a column with "OK"<|im_end|>
<|im_start|>assistant
find . -name 'abc*' -exe... | Find all files matching "abc*" in the current directory and append a column with "OK" | find . -name 'abc*' -exec echo {}' OK' \; | column -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
Find all files matching the pattern "${pattern}" in their name and execute ${my_command} for each of them with the file path as argument<|im_e... | Find all files matching the pattern "${pattern}" in their name and execute ${my_command} for each of them with the file path as argument | find ${directory} -name "${pattern}" -print0 | xargs -0 ${my_command} | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files matching pattern '.#*' in the current directory tree<|im_end|>
<|im_start|>assistant
find -iname '.#*'<|im_end|> | Find all files matching pattern '.#*' in the current directory tree | find -iname '.#*' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files matching shell pattern "foo/bar" in the foo directory tree<|im_end|>
<|im_start|>assistant
find foo -path foo/bar -print<|im_en... | Find all files matching shell pattern "foo/bar" in the foo directory tree | find foo -path foo/bar -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files modified on the 7th of June, 2007, starting from the current directory<|im_end|>
<|im_start|>assistant
find . -type f -newermt ... | Find all files modified on the 7th of June, 2007, starting from the current directory | find . -type f -newermt 2007-06-07 ! -newermt 2007-06-08 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
finds all files modified within a certain time frame recursively<|im_end|>
<|im_start|>assistant
find . -type f -newermt "2013-06-01" \! -newe... | finds all files modified within a certain time frame recursively | find . -type f -newermt "2013-06-01" \! -newermt "2013-06-20" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files more than 700 megabytes<|im_end|>
<|im_start|>assistant
find / -size +700M<|im_end|> | Find all files more than 700 megabytes | find / -size +700M | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in<|im_end|>
<|im_start|>as... | Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in | find . -name "file.ext" -execdir pwd ';' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in<|im_end|>
<|im_start|>as... | Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in | find `pwd` -name "file.ext" -exec echo $(dirname {}) \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in<|im_end|>
<|im_start|>as... | Find all files named "file.ext" in the current directory tree and print the path names of the directories they are in | find `pwd` -name file.ext |xargs -l1 dirname | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "file.ext" within the current folder and print the path where each one is located<|im_end|>
<|im_start|>assistant
find `p... | Find all files named "file.ext" within the current folder and print the path where each one is located | find `pwd` -name "file.ext" -exec dirname {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "filename"<|im_end|>
<|im_start|>assistant
find -name "filename"<|im_end|> | Find all files named "filename" | find -name "filename" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "filename" in the current directory tree, not descending into "FOLDER1" directories<|im_end|>
<|im_start|>assistant
find ... | Find all files named "filename" in the current directory tree, not descending into "FOLDER1" directories | find . '(' -name FOLDER1 -prune -o -name filename ')' -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "filename" in the current directory tree, not descending into "FOLDER1" directories<|im_end|>
<|im_start|>assistant
find ... | Find all files named "filename" in the current directory tree, not descending into "FOLDER1" directories | find . -name FOLDER1 -prune -o -name filename | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "foo_bar" in the current directory recursively<|im_end|>
<|im_start|>assistant
find -name foo_bar<|im_end|> | Find all files named "foo_bar" in the current directory recursively | find -name foo_bar | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named "something" in the current folder and below and run them through the ls -l command in a one batch.<|im_end|>
<|im_start|>... | Find all files named "something" in the current folder and below and run them through the ls -l command in a one batch. | find . -name something | xargs -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
Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them beginning with USE_RC_SUBR<|im_end|>
<|... | Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them beginning with USE_RC_SUBR | find /usr/ports/ -name Makefile -exec grep ^USE_RC_SUBR '{}' '+' | wc -l | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them matching regular expression '^MASTER_SI... | Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them matching regular expression '^MASTER_SITE.*CPAN' | find /usr/ports/ -name Makefile -exec grep '^MASTER_SITE.*CPAN' '{}' '+' | wc -l | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them matching regular expression '^MASTER_SI... | Find all files named 'Makefile' in the /usr/ports directory tree and count the number of lines in them matching regular expression '^MASTER_SITE_SUBDIR.*\.\./.*authors' | find /usr/ports/ -name Makefile -exec grep '^MASTER_SITE_SUBDIR.*\.\./.*authors' '{}' '+' | wc -l | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'file' in 1 level down the current directory whose status were changed more than 1 day ago<|im_end|>
<|im_start|>assistan... | Find all files named 'file' in 1 level down the current directory whose status were changed more than 1 day ago | find . -maxdepth 1 -ctime +1 -name 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
Find all files named 'file' in 1 level down the current directory whose status were changed more than 1 hour ago<|im_end|>
<|im_start|>assista... | Find all files named 'file' in 1 level down the current directory whose status were changed more than 1 hour ago | find . -maxdepth 1 -cmin +60 -name 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
Find all files named `file1' on the system<|im_end|>
<|im_start|>assistant
find / -name file1<|im_end|> | Find all files named `file1' on the system | find / -name file1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'foo' under current directory tree without descending into directories named 'foo'<|im_end|>
<|im_start|>assistant
find .... | Find all files named 'foo' under current directory tree without descending into directories named 'foo' | find . -name foo -type d -prune -o -name foo -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'foo' under your home directory and list them with confirmation prompt<|im_end|>
<|im_start|>assistant
find ~ -type f -na... | Find all files named 'foo' under your home directory and list them with confirmation prompt | find ~ -type f -name 'foo*' -ok 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
find all files named `linux' on the system<|im_end|>
<|im_start|>assistant
find / -name linux<|im_end|> | find all files named `linux' on the system | find / -name linux | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'new' under current directory tree and display their contents<|im_end|>
<|im_start|>assistant
find . -name new -print -ex... | Find all files named 'new' under current directory tree and display their contents | find . -name new -print -exec cat {} + | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'new' under current directory tree and display their contents<|im_end|>
<|im_start|>assistant
find . -name new -print -ex... | Find all files named 'new' under current directory tree and display their contents | find . -name new -print -exec cat {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files named 'text.txt' under current directory tree and display their contents<|im_end|>
<|im_start|>assistant
find . -name 'text.txt... | Find all files named 'text.txt' under current directory tree and display their contents | find . -name 'text.txt' -print -exec cat {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files newer than httpd.conf under and below the current directory<|im_end|>
<|im_start|>assistant
find . -newer httpd.conf<|im_end|> | Find all files newer than httpd.conf under and below the current directory | find . -newer httpd.conf | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all files not ending in ".html"<|im_end|>
<|im_start|>assistant
find . -type f -not -name "*.html"<|im_end|> | find all files not ending in ".html" | find . -type f -not -name "*.html" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files of the user with UID=1000<|im_end|>
<|im_start|>assistant
find -uid 1000<|im_end|> | Find all files of the user with UID=1000 | find -uid 1000 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files of the user with UID=1000<|im_end|>
<|im_start|>assistant
find -user 1000<|im_end|> | Find all files of the user with UID=1000 | find -user 1000 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
find all the files older than 30 days<|im_end|>
<|im_start|>assistant
find /tmp -mtime +30 -print<|im_end|> | find all the files older than 30 days | find /tmp -mtime +30 -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files on the system that are larger than 600 MB<|im_end|>
<|im_start|>assistant
find / -size +600M -print<|im_end|> | Find all files on the system that are larger than 600 MB | find / -size +600M -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files on the system that are world writeable<|im_end|>
<|im_start|>assistant
find / -perm -0002<|im_end|> | Find all files on the system that are world writeable | find / -perm -0002 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all the files on the system that have been changed within the last hour<|im_end|>
<|im_start|>assistant
find / -cmin -60<|im_end|> | Find all the files on the system that have been changed within the last hour | find / -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
Find all files on the system whose names are 'autoload.php'<|im_end|>
<|im_start|>assistant
find / -name autoload.php<|im_end|> | Find all files on the system whose names are 'autoload.php' | find / -name autoload.php | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files on the system whose names are 'composer.json'<|im_end|>
<|im_start|>assistant
find / -name composer.json<|im_end|> | Find all files on the system whose names are 'composer.json' | find / -name composer.json | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files on the system whose names are 'drush'<|im_end|>
<|im_start|>assistant
find / -name drush<|im_end|> | Find all files on the system whose names are 'drush' | find / -name drush | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files owned by group `group2'<|im_end|>
<|im_start|>assistant
find / -group group2<|im_end|> | Find all files owned by group `group2' | find / -group group2 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files owned by group `root' in the current directory tree and change their user to `temp'<|im_end|>
<|im_start|>assistant
find . -gro... | Find all files owned by group `root' in the current directory tree and change their user to `temp' | find . -group root -print | xargs chown temp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files owned by user `comp'<|im_end|>
<|im_start|>assistant
find / -user comp<|im_end|> | Find all files owned by user `comp' | find / -user comp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files owned by the user daniel in the current directory and below.<|im_end|>
<|im_start|>assistant
find . -user daniel<|im_end|> | Find all files owned by the user daniel in the current directory and below. | find . -user daniel | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files owned by user vivek<|im_end|>
<|im_start|>assistant
find / -user vivek<|im_end|> | Find all files owned by user vivek | find / -user vivek | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all file paths under current directory, perform a reverse sort and show first 10 file paths with their status change time<|im_end|>
<|im_... | Find all file paths under current directory, perform a reverse sort and show first 10 file paths with their status change time | find . -type f -printf "%C@ %p\n" | sort -r | 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
find all files read less than 1 minute ago<|im_end|>
<|im_start|>assistant
find . -amin -1<|im_end|> | find all files read less than 1 minute ago | find . -amin -1 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all the files recursively in directories or files taken from the glob pattern /tmp/test/* that have been modified today<|im_end|>
<|im_st... | Find all the files recursively in directories or files taken from the glob pattern /tmp/test/* that have been modified today | find /tmp/test/* -mtime -0 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files recursively starting from / that have been modified in the past 30 minutes and list them<|im_end|>
<|im_start|>assistant
find /... | Find all files recursively starting from / that have been modified in the past 30 minutes and list them | find / -mmin -30 -ls | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files recursively which end in ".php"<|im_end|>
<|im_start|>assistant
find . -name "*.php" -print<|im_end|> | Find all files recursively which end in ".php" | find . -name "*.php" -print | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files residing in /home/dm/Video or below that were changed less than 7 days ago<|im_end|>
<|im_start|>assistant
find /home/dm/Video ... | Find all files residing in /home/dm/Video or below that were changed less than 7 days ago | find /home/dm/Video -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
Find all files residing in /home/dm/Video or below that were last changed at least 10 days ago<|im_end|>
<|im_start|>assistant
find /home/dm/V... | Find all files residing in /home/dm/Video or below that were last changed at least 10 days ago | find /home/dm/Video -mtime +10 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Find all files, starting from / but ignoring removable media, whose names end with ".rpm"<|im_end|>
<|im_start|>assistant
find / -xdev -name "... | Find all files, starting from / but ignoring removable media, whose names end with ".rpm" | find / -xdev -name "*.rpm" | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.