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 the files/directories under '/var/adm' directory tree that have not been modified in the last 3 days<|im_end|> <|im_start|>assistant ...
Find all the files/directories under '/var/adm' directory tree that have not been modified in the last 3 days
find /var/adm -mtime +3 -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/directories under '/var/log' directory tree that bave been modified today (from the start of the day)<|im_end|> <|im_start|>ass...
Find all files/directories under '/var/log' directory tree that bave been modified today (from the start of the day)
find /var/log -daystart -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/directories under '/var/tmp' directory tree that belong to a user with user id 1000<|im_end|> <|im_start|>assistant find /var/t...
Find all files/directories under '/var/tmp' directory tree that belong to a user with user id 1000
find /var/tmp -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/directories under 'A' directory tree excluding directory 'A/a' and all of it's contents<|im_end|> <|im_start|>assistant find A ...
Find all files/directories under 'A' directory tree excluding directory 'A/a' and all of it's contents
find A \! -path "A/a/*" -a \! -path "A/a"
GWHed/nl2bash
<|im_start|>system 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/directories under 'A' directory tree excluding the paths containing the directory 'a'<|im_end|> <|im_start|>assistant find A \!...
Find all files/directories under 'A' directory tree excluding the paths containing the directory 'a'
find A \! -path "A/a/*"
GWHed/nl2bash
<|im_start|>system 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/directories under 'my key phrase' directory<|im_end|> <|im_start|>assistant find 'my key phrase'<|im_end|>
Find all files/directories under 'my key phrase' directory
find 'my key phrase'
GWHed/nl2bash
<|im_start|>system 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/directories under .. directory and copy them to ~/foo/bar<|im_end|> <|im_start|>assistant find .. -exec cp -t ~/foo/bar -- {} +...
Find all files/directories under .. directory and copy them to ~/foo/bar
find .. -exec cp -t ~/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/directories under ./var/log directory<|im_end|> <|im_start|>assistant find ./var/log<|im_end|>
Find all files/directories under ./var/log directory
find ./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 Find all files/directories under /home/baumerf/public_html/ that were modified less than 60 minutes ago excluding *.log files/directories<|im_...
Find all files/directories under /home/baumerf/public_html/ that were modified less than 60 minutes ago excluding *.log files/directories
find /home/baumerf/public_html/ -mmin -60 -not -name \*.log
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories under /home/baumerf/public_html/ that were modified less than 60 minutes ago excluding error_log files/directories<...
Find all files/directories under /home/baumerf/public_html/ that were modified less than 60 minutes ago excluding error_log files/directories
find /home/baumerf/public_html/ -mmin -60 -not -name error_log
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories under /home/bozo/projects directory that were modified 1 day ago<|im_end|> <|im_start|>assistant find /home/bozo/pr...
Find all files/directories under /home/bozo/projects directory that were modified 1 day ago
find /home/bozo/projects -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/directories under /home/feeds/data directory<|im_end|> <|im_start|>assistant find /home/feeds/data<|im_end|>
Find all files/directories under /home/feeds/data directory
find /home/feeds/data
GWHed/nl2bash
<|im_start|>system 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/directories under /home/foo/public_html/ that were modified less than 60 minutes ago<|im_end|> <|im_start|>assistant grep ! err...
Find all files/directories under /home/foo/public_html/ that were modified less than 60 minutes ago
grep ! error_log | find /home/foo/public_html/ -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 Find all files/directories under /myfiles that are 2560 bytes in size<|im_end|> <|im_start|>assistant find /myfiles -size 5<|im_end|>
Find all files/directories under /myfiles that are 2560 bytes in size
find /myfiles -size 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 Find all files/directories under /myfiles that were accessed more than 30 days ago<|im_end|> <|im_start|>assistant find /myfiles -atime +30<|i...
Find all files/directories under /myfiles that were accessed more than 30 days ago
find /myfiles -atime +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 files/directories under /myfiles that were modified 2 days ago<|im_end|> <|im_start|>assistant find /myfiles -mtime 2<|im_end|>
Find all files/directories under /myfiles that were modified 2 days ago
find /myfiles -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 files/directories under /path directory that were modified more than 30 minutes ago<|im_end|> <|im_start|>assistant find /path -mtime...
Find all files/directories under /path directory that were modified more than 30 minutes ago
find /path -mtime +30m
GWHed/nl2bash
<|im_start|>system 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/directories under /path/to/dir and set directory permission to 0755 and file permission to 0644<|im_end|> <|im_start|>assistant...
Find all files/directories under /path/to/dir and set directory permission to 0755 and file permission to 0644
find /path/to/dir -type d -exec chmod 0755 '{}' \; -o -type f -exec chmod 0644 '{}' \;
GWHed/nl2bash
<|im_start|>system 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/directories under /path/to/dir/* paths and print the timestamp in YmdHMS format along with their paths and object of symlinks<|...
Find all files/directories under /path/to/dir/* paths and print the timestamp in YmdHMS format along with their paths and object of symlinks
find /path/to/dir/* -printf "%TY%Tm%Td%TH%TM%TS|%p|%l\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 Find all files/directories under /proc and run ls command on each.<|im_end|> <|im_start|>assistant find /proc -exec ls '{}' \;<|im_end|>
Find all files/directories under /proc and run ls command on each.
find /proc -exec 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/directories under /usr/tom which matches the extended regex '*.pl| *.pm' in their names<|im_end|> <|im_start|>assistant find /...
Find all files/directories under /usr/tom which matches the extended regex '*.pl| *.pm' in their names
find /usr/tom | egrep '*.pl| *.pm'
GWHed/nl2bash
<|im_start|>system 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/directories under /var/log directory<|im_end|> <|im_start|>assistant find /var/log<|im_end|>
Find all files/directories under /var/log directory
find /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 Find all files/directories under _CACHE_* directories<|im_end|> <|im_start|>assistant find _CACHE_*<|im_end|>
Find all files/directories under _CACHE_* directories
find _CACHE_*
GWHed/nl2bash
<|im_start|>system 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/directories under current /export/home/someone directory and upload them to ftp://somehost/tmp/<|im_end|> <|im_start|>assistant...
Find all files/directories under current /export/home/someone directory and upload them to ftp://somehost/tmp/
find /export/home/someone -exec curl -u someone:password -vT {} ftp://somehost/tmp/
GWHed/nl2bash
<|im_start|>system 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/directories under current directory<|im_end|> <|im_start|>assistant find -print<|im_end|>
Find all files/directories under current directory
find -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/directories under current directory<|im_end|> <|im_start|>assistant find -print0 | xargs -0<|im_end|>
Find all files/directories under current directory
find -print0 | xargs -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/directories under current directory<|im_end|> <|im_start|>assistant find ./<|im_end|>
Find all files/directories under current directory
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 Find all files/directories under current directory<|im_end|> <|im_start|>assistant find | xargs<|im_end|>
Find all files/directories under current directory
find | xargs
GWHed/nl2bash
<|im_start|>system 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/directories under current directory and append a null character at the end of each path<|im_end|> <|im_start|>assistant find -p...
Find all files/directories under current directory and append a null character at the end of each path
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 Find all files/directories under current directory and count the number of lines for the output<|im_end|> <|im_start|>assistant find |wc -l<|i...
Find all files/directories under current directory and count the number of lines for the output
find |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 and directories under the current directory and display the inode of each one, using printf<|im_end|> <|im_start|>assistant fin...
find all files and directories under the current directory and display the inode of each one, using printf
find . -printf "%i \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 Find all files/directories under current directory and print their paths<|im_end|> <|im_start|>assistant find . -exec echo {} ";"<|im_end|>
Find all files/directories under current directory and print their paths
find . -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 Find all files/directories under current directory and print their paths<|im_end|> <|im_start|>assistant find . -exec echo {} ';'<|im_end|>
Find all files/directories under current directory and print their paths
find . -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 Find all files/directories under current directory and print their paths<|im_end|> <|im_start|>assistant find . -exec echo {} +<|im_end|>
Find all files/directories under current directory and print their paths
find . -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 Find all files/directories under current directory and print their paths<|im_end|> <|im_start|>assistant find . -exec echo {} \+<|im_end|>
Find all files/directories under current directory and print their paths
find . -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 Find all files/directories under current directory and print their paths<|im_end|> <|im_start|>assistant find . -exec echo {} \;<|im_end|>
Find all files/directories under current directory and print their paths
find . -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 Find all files/directories under current directory and print them twice in each line<|im_end|> <|im_start|>assistant find | xargs -i sh -c "ec...
Find all files/directories under current directory and print them twice in each line
find | xargs -i sh -c "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 files/directories under current directory and print them with newline as the delimiter<|im_end|> <|im_start|>assistant find -print | ...
Find all files/directories under current directory and print them with newline as the delimiter
find -print | xargs -d'\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 Find all files/directories under current directory and set their permission to 775<|im_end|> <|im_start|>assistant find . -type f -exec chmod ...
Find all files/directories under current directory and set their permission to 775
find . -type f -exec chmod 775 {} \;
GWHed/nl2bash
<|im_start|>system 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/directories under current directory and sort them<|im_end|> <|im_start|>assistant find | sort<|im_end|>
Find all files/directories under current directory and sort them
find | 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 Find all files/directories under current directory bypassing file hierarchies in lexicographical order<|im_end|> <|im_start|>assistant find -s...
Find all files/directories under current directory bypassing file hierarchies in lexicographical order
find -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/directories under current directory excluding the paths that match the POSIX extended regex ".*def/incoming.*|.*456/incoming.*"...
Find all files/directories under current directory excluding the paths that match the POSIX extended regex ".*def/incoming.*|.*456/incoming.*"
find . -regex-type posix-extended -regex ".*def/incoming.*|.*456/incoming.*" -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 Find all files/directories under current directory in maximum 3 levels deep<|im_end|> <|im_start|>assistant find -maxdepth 3<|im_end|>
Find all files/directories under current directory in maximum 3 levels deep
find -maxdepth 3
GWHed/nl2bash
<|im_start|>system 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/directories under current directory matching the case insensitive pattern 'pattern'<|im_end|> <|im_start|>assistant find -iname...
Find all files/directories under current directory matching the case insensitive pattern 'pattern'
find -iname pattern
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that are greater than 10MB in size<|im_end|> <|im_start|>assistant find . -size +10M<|im_en...
Find all files/directories under current directory that are greater than 10MB in size
find . -size +10M
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that match the case insensitive extended regex .*/(EA|FS)_.*<|im_end|> <|im_start|>assistan...
Find all files/directories under current directory that match the case insensitive extended regex .*/(EA|FS)_.*
find -E . -iregex '.*/(EA|FS)_.*'
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that match the case insensitive glob pattern {EA,FS}_*<|im_end|> <|im_start|>assistant find...
Find all files/directories under current directory that match the case insensitive glob pattern {EA,FS}_*
find . -iname "{EA,FS}_*"
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that match the case insensitive regex .*/\(EA\|FS\)_.*<|im_end|> <|im_start|>assistant find...
Find all files/directories under current directory that match the case insensitive regex .*/\(EA\|FS\)_.*
find . -iregex '.*/\(EA\|FS\)_.*'
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that match the case insensitive regex ./\(RT\|ED\).* and show several lines of output from ...
Find all files/directories under current directory that match the case insensitive regex ./\(RT\|ED\).* and show several lines of output from the beginning
find . -iregex './\(RT\|ED\).*' | 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 files/directories under current directory that match the case insensitive regex ./\(EA\|FS\)_.*<|im_end|> <|im_start|>assistant find ...
Find all files/directories under current directory that match the case insensitive regex ./\(EA\|FS\)_.*
find . -iregex './\(EA\|FS\)_.*'
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that were accessed 30 minutes ago<|im_end|> <|im_start|>assistant find -amin 30<|im_end|>
Find all files/directories under current directory that were accessed 30 minutes ago
find -amin 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 files/directories under current directory that were accessed less than 1 day ago<|im_end|> <|im_start|>assistant find . -atime -1 -pr...
Find all files/directories under current directory that were accessed less than 1 day ago
find . -atime -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/directories under current directory that were accessed more than 25 but less than 35 minutes ago<|im_end|> <|im_start|>assistan...
Find all files/directories under current directory that were accessed more than 25 but less than 35 minutes ago
find -amin +25 -amin -35
GWHed/nl2bash
<|im_start|>system 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/directories under current directory that were modified later than /reference/file<|im_end|> <|im_start|>assistant find . -newer...
Find all files/directories under current directory that were modified later than /reference/file
find . -newer /reference/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/directories under current directory tree excluding hidden files/directories<|im_end|> <|im_start|>assistant find . -not -path '...
Find all files/directories under current directory tree excluding hidden files/directories
find . -not -path '*/\.*'
GWHed/nl2bash
<|im_start|>system 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/directories under current directory tree that belong to user 'john'<|im_end|> <|im_start|>assistant find . -user john<|im_end|>
Find all files/directories under current directory tree that belong to 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 Find all files/directories under current directory tree that belong to the user 'tom'<|im_end|> <|im_start|>assistant find ./ -user tom<|im_en...
Find all files/directories under current directory tree that belong to the user 'tom'
find ./ -user tom
GWHed/nl2bash
<|im_start|>system 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/directories under current directory tree that contain 'pattern' in their names<|im_end|> <|im_start|>assistant find -name "*pat...
Find all files/directories under current directory tree that contain 'pattern' in their names
find -name "*pattern*"
GWHed/nl2bash
<|im_start|>system 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/directories under current directory tree that start with 'R' and end with 'VER' in their names and were modified more than 1 da...
Find all files/directories under current directory tree that start with 'R' and end with 'VER' in their names and were modified more than 1 day ago
find . -name "R*VER" -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/directories under current directory tree that start with 'test' in their names without descending into directories with the sam...
Find all files/directories under current directory tree that start with 'test' in their names without descending into directories with the same name pattern
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 Find all files/directories under current directory tree whose names start with 'some_text_2014.08.19'<|im_end|> <|im_start|>assistant find . -...
Find all files/directories under current directory tree whose names start with 'some_text_2014.08.19'
find . -name 'some_text_2014.08.19*'
GWHed/nl2bash
<|im_start|>system 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/directories under current directory tree whose names start with 'test' followed by two digits and end with '.txt' extension<|im...
Find all files/directories under current directory tree whose names start with 'test' followed by two digits and end with '.txt' extension
find . -regextype sed -regex "./test[0-9]\{2\}.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/directories under current directory tree whose paths match the regex 'filename-regex.\*\.html'<|im_end|> <|im_start|>assistant ...
Find all files/directories under current directory tree whose paths match the regex 'filename-regex.\*\.html'
find . -regex filename-regex.\*\.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/directories under current directory tree with '.old' extension<|im_end|> <|im_start|>assistant find . -name ”*.old” -print<|im_...
Find all files/directories under current directory tree with '.old' extension
find . -name ”*.old” -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/directories under current directory tree with inode number 211028 and move them to 'newname.dir'<|im_end|> <|im_start|>assistan...
Find all files/directories under current directory tree with inode number 211028 and move them to 'newname.dir'
find . -inum 211028 -exec mv {} newname.dir \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories under current directory which have read-write permission for owner and only read permission for group and others<|i...
Find all files/directories under current directory which have read-write permission for owner and only read permission for group and others
find -perm -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 files/directories under current directory with 'FooBar' in their paths and copy them to ~/foo/bar<|im_end|> <|im_start|>assistant fin...
Find all files/directories under current directory with 'FooBar' in their paths and copy them to ~/foo/bar
find .|grep "FooBar"|xargs -I{} cp "{}" ~/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/directories under current directory with a Depth-First search<|im_end|> <|im_start|>assistant find dir -depth<|im_end|>
Find all files/directories under current directory with a Depth-First search
find dir -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 Find all files/directories under current directory with null character as the delimiter and then replace the null characters with :<|im_end|> ...
Find all files/directories under current directory with null character as the delimiter and then replace the null characters with :
find -print0 | tr "\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 and directories under current directory without crossing over to other partitions<|im_end|> <|im_start|>assistant find . -xdev ...
Find all files and directories under current directory without crossing over to other partitions
find . -xdev -print0
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories under directory '.cache/chromium/Default/Cache/' which are bigger than 100MB and which are atleast 1 level deep and...
Find all files/directories under directory '.cache/chromium/Default/Cache/' which are bigger than 100MB and which are atleast 1 level deep and delete them
find .cache/chromium/Default/Cache/ -mindepth 1 -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 Find all files/directories under test directory<|im_end|> <|im_start|>assistant find test<|im_end|>
Find all files/directories under test directory
find test
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all the files/directories under user's home directory that do not belong to the user $USER<|im_end|> <|im_start|>assistant find ~ ! -user...
Find all the files/directories under user's home directory that do not belong to the user $USER
find ~ ! -user ${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/directories under whatever and ... directory and copy them to /var/tmp<|im_end|> <|im_start|>assistant find whatever ... | xarg...
Find all files/directories under whatever and ... directory and copy them to /var/tmp
find whatever ... | xargs -d "\n" cp -t /var/tmp
GWHed/nl2bash
<|im_start|>system 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/directories which have been modified from the start of the day in directories/files taken from the glob pattern '/tmp/test/*'<|...
Find all files/directories which have been modified from the start of the day in directories/files taken from the glob pattern '/tmp/test/*'
find /tmp/test/* -daystart -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/directories which have been modified within the last day in the drectories/files taken from the glob pattern '/tmp/test/*'<|im_...
Find all files/directories which have been modified within the last day in the drectories/files taken from the glob pattern '/tmp/test/*'
find /tmp/test/* -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 and directories whose names end in ".rpm", ignoring removable media, such as cdrom, floppy, etc.<|im_end|> <|im_start|>assistan...
Find all files and directories whose names end in ".rpm", ignoring removable media, such as cdrom, floppy, etc.
find / -xdev -name \*.rpm
GWHed/nl2bash
<|im_start|>system 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/directories with '.bar' extension in maximum 2 levels down the current directory<|im_end|> <|im_start|>assistant find . -name *...
Find all files/directories with '.bar' extension in maximum 2 levels down the current directory
find . -name *.bar -maxdepth 2 -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/directories with '.err' extension under '/home/username' directory tree<|im_end|> <|im_start|>assistant find /home/username/ -n...
Find all files/directories with '.err' extension under '/home/username' directory tree
find /home/username/ -name "*.err"
GWHed/nl2bash
<|im_start|>system 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/directories with '.js' extension under current directory tree without descending into and ignoring './directory' completely<|i...
Find all files/directories with '.js' extension under current directory tree without descending into and ignoring './directory' completely
find . -not \( -path ./directory -prune \) -name \*.js
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with '.log' extension that belong to the group 'adm' under '/var/log' directory tree<|im_end|> <|im_start|>assistan...
Find all files/directories with '.log' extension that belong to the group 'adm' under '/var/log' directory tree
find /var/log -group adm -name "*.log"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with '.log' extension whose names start with 'app-', have been modified in the last 5 minutes and show the first on...
Find all files/directories with '.log' extension whose names start with 'app-', have been modified in the last 5 minutes and show the first one found
find /var/log/crashes -name app-\*\.log -mmin -5 -print | head -n 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/directories with '.mp4' extension and all regular files with '.flv' extension, sort them according to their names and display t...
Find all files/directories with '.mp4' extension and all regular files with '.flv' extension, sort them according to their names and display the first 500 of them
find /storage -name "*.mp4" -o -name "*.flv" -type f | sort | head -n500
GWHed/nl2bash
<|im_start|>system 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/directories with '.o' extension under '/lib/modules' directory tree<|im_end|> <|im_start|>assistant find /lib/modules -name '*....
Find all files/directories with '.o' extension under '/lib/modules' directory tree
find /lib/modules -name '*.o'
GWHed/nl2bash
<|im_start|>system 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/directories with '.tar.gz' extension under $DIR/tmp/daily/ directory tree, sort them numerically and show the last 3 of them<|i...
Find all files/directories with '.tar.gz' extension under $DIR/tmp/daily/ directory tree, sort them numerically and show the last 3 of them
find $DIR/tmp/daily/ -name '*.tar.gz' | sort -n | tail -3
GWHed/nl2bash
<|im_start|>system 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/directories with '.txt' extension that are less than 100 KB in size under '/home' directory tree<|im_end|> <|im_start|>assistan...
Find all files/directories with '.txt' extension that are less than 100 KB in size under '/home' directory tree
find /home -name "*.txt" -size -100k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with '.txt' extension under '/home' directory tree that are exactly 100KB in size<|im_end|> <|im_start|>assistant f...
Find all files/directories with '.txt' extension under '/home' directory tree that are exactly 100KB in size
find /home -name "*.txt" -size 100k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with '.txt' extension under '/home' directory tree that are greater than 100KB in size<|im_end|> <|im_start|>assist...
Find all files/directories with '.txt' extension under '/home' directory tree that are greater than 100KB in size
find /home -name "*.txt" -size +100k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with '.what_to_find' extension under current directory tree and show the list by excluding paths that contain 'excl...
Find all files/directories with '.what_to_find' extension under current directory tree and show the list by excluding paths that contain 'excludeddir1' and 'excludeddir2'
find . -name '*.what_to_find' | grep -v exludeddir1 | grep -v excludeddir2
GWHed/nl2bash
<|im_start|>system 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/directories with '.xml' extension that start with 'log4j' in their names under '/cygdrive/e/MyDocs/Downloads/work/OATS Domain r...
Find all files/directories with '.xml' extension that start with 'log4j' in their names under '/cygdrive/e/MyDocs/Downloads/work/OATS Domain related/' directory tree, search for files that contain the string 'CONSOLE' in their contents, then search for the string 'ASYNC' in the matched files and display the matched lin...
find "/cygdrive/e/MyDocs/Downloads/work/OATS Domain related/" -iname "log4j*.xml" | xargs -I % grep -ilr "CONSOLE" "%" | xargs -I % grep -H "ASYNC" %
GWHed/nl2bash
<|im_start|>system 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/directories with 'my key phrase' in their names under current directory<|im_end|> <|im_start|>assistant find . -name '*my key p...
Find all files/directories with 'my key phrase' in their names under current directory
find . -name '*my key phrase*'
GWHed/nl2bash
<|im_start|>system 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/directories with 644 permission in entire file system<|im_end|> <|im_start|>assistant find / -perm 644<|im_end|>
Find all files/directories with 644 permission in entire file system
find / -perm 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 files/directories with 664 permission under current directory tree<|im_end|> <|im_start|>assistant find -perm 664<|im_end|>
Find all files/directories with 664 permission under current directory tree
find -perm 664
GWHed/nl2bash
<|im_start|>system 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/directories with 755 permission under current directory tree<|im_end|> <|im_start|>assistant find ./ -perm 755<|im_end|>
Find all files/directories with 755 permission under current directory tree
find ./ -perm 755
GWHed/nl2bash
<|im_start|>system 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/directories with 777 permission under current directory tree<|im_end|> <|im_start|>assistant find . -perm 777 -print<|im_end|>
Find all files/directories with 777 permission under current directory tree
find . -perm 777 -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/directories with case insensitive name pattern $TARGET that are located in minimum 10 level down the current directory<|im_end|...
Find all files/directories with case insensitive name pattern $TARGET that are located in minimum 10 level down the current directory
find -mindepth 10 -iname $TARGET
GWHed/nl2bash
<|im_start|>system 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/directories with execute permission by group or others<|im_end|> <|im_start|>assistant find /path -perm /011<|im_end|>
Find all files/directories with execute permission by group or others
find /path -perm /011
GWHed/nl2bash
<|im_start|>system 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/directories with inode number 16187430 and move them to 'new-test-file-name'<|im_end|> <|im_start|>assistant find -inum 1618743...
Find all files/directories with inode number 16187430 and move them to 'new-test-file-name'
find -inum 16187430 -exec mv {} new-test-file-name \
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories with name pattern $nombre that are at most 2 levels down the $DIR_TEMPORAL and $DIR_DESCARGA directories and show o...
Find all files/directories with name pattern $nombre that are at most 2 levels down the $DIR_TEMPORAL and $DIR_DESCARGA directories and show only the file names (without parent path) appended with '.torrent'
find "$DIR_TEMPORAL" "$DIR_DESCARGA" -maxdepth 2 -name "$nombre" -printf '%f.torrent\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 Find all files/directories with permission $permissions under $directory directory tree<|im_end|> <|im_start|>assistant find "$directory" -per...
Find all files/directories with permission $permissions under $directory directory tree
find "$directory" -perm "$permissions"
GWHed/nl2bash