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/directories in entire file system that are owned by "syslog" user<|im_end|> <|im_start|>assistant find / -user syslog<|im_end|>
Find all files/directories in entire file system that are owned by "syslog" user
find / -user syslog
GWHed/nl2bash
<|im_start|>system 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 in level $i down the current directory with all positional parameters appended with the find command<|im_end|> <|im...
Find all files/directories in level $i down the current directory with all positional parameters appended with the find command
find -mindepth $i -maxdepth $i "$@"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in level 1 down the $queue directory with all positional parameters appended with the find command<|im_end|> <|im_s...
Find all files/directories in level 1 down the $queue directory with all positional parameters appended with the find command
echo "$queue" | xargs -I'{}' find {} -mindepth 1 -maxdepth 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 in level 2 down the current directory<|im_end|> <|im_start|>assistant find -mindepth 2 -maxdepth 2<|im_end|>
Find all files/directories in level 2 down the current directory
find -mindepth 2 -maxdepth 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 in maximum 1 level down the current directory which do not have only read permission for 'other'<|im_end|> <|im_sta...
Find all files/directories in maximum 1 level down the current directory which do not have only read permission for 'other'
find . -maxdepth 1 ! -perm -o=r
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories in the paths expanded by the glob pattern '.*'<|im_end|> <|im_start|>assistant find .*<|im_end|>
Find all files/directories in the paths expanded by the glob pattern '.*'
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 and directories last modified less than a day ago and copy to "../changeset" creating directories as needed<|im_end|> <|im_star...
Find all files and directories last modified less than a day ago and copy to "../changeset" creating directories as needed
find * -mtime -1 -daystart -print0 | cpio -pd0 ../changeset
GWHed/nl2bash
<|im_start|>system 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 matching the regex .*sql.*<|im_end|> <|im_start|>assistant find -regex .*sql.*<|im_end|>
Find all files/directories matching the regex .*sql.*
find -regex .*sql.*
GWHed/nl2bash
<|im_start|>system 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 matching the regex pattern ".*\\.rb$" under current directory<|im_end|> <|im_start|>assistant find . -regex ".*\\.r...
Find all files/directories matching the regex pattern ".*\\.rb$" under current directory
find . -regex ".*\\.rb$"
GWHed/nl2bash
<|im_start|>system 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 named $something under current directory<|im_end|> <|im_start|>assistant find -name "$something"<|im_end|>
Find all files/directories named $something under current directory
find -name "$something"
GWHed/nl2bash
<|im_start|>system 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 named '.todo' under $STORAGEFOLDER directory tree and print their parent paths<|im_end|> <|im_start|>assistant find...
Find all files/directories named '.todo' under $STORAGEFOLDER directory tree and print their parent paths
find "$STORAGEFOLDER" -name .todo -printf '%h\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 named 'Desktop' under current directory<|im_end|> <|im_start|>assistant find ./ -name Desktop<|im_end|>
Find all files/directories named 'Desktop' under current directory
find ./ -name Desktop
GWHed/nl2bash
<|im_start|>system 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 named 'FindCommandExamples.txt' that belong to the user 'root' in the entire filesystem<|im_end|> <|im_start|>assis...
Find all files/directories named 'FindCommandExamples.txt' that belong to the user 'root' in the entire filesystem
find / -user root -name FindCommandExamples.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 named 'Waldo' under 'Books' directory tree that is located in user's home directory<|im_end|> <|im_start|>assistant...
Find all files/directories named 'Waldo' under 'Books' directory tree that is located in user's home directory
find ~/Books -name Waldo
GWHed/nl2bash
<|im_start|>system 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 named 'apt' in the entrie filesystem<|im_end|> <|im_start|>assistant find / -name "apt"<|im_end|>
Find all files/directories named 'apt' in the entrie filesystem
find / -name "apt"
GWHed/nl2bash
<|im_start|>system 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 named 'articles.jpg' under '/home/username/public_html/images' directory tree<|im_end|> <|im_start|>assistant find ...
Find all files/directories named 'articles.jpg' under '/home/username/public_html/images' directory tree
find /home/username/public_html/images -name "articles.jpg"
GWHed/nl2bash
<|im_start|>system 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 named 'articles.jpg' under 'images' directory tree<|im_end|> <|im_start|>assistant find images -name "articles.jpg"...
Find all files/directories named 'articles.jpg' under 'images' directory tree
find images -name "articles.jpg"
GWHed/nl2bash
<|im_start|>system 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 named 'articles.jpg' under current directory tree<|im_end|> <|im_start|>assistant find . -name "articles.jpg"<|im_e...
Find all files/directories named 'articles.jpg' under current directory tree
find . -name "articles.jpg"
GWHed/nl2bash
<|im_start|>system 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 named 'com.apple.syncedpreferences.plist' (case insensitive) under ~/Library directory tree<|im_end|> <|im_start|>a...
Find all files/directories named 'com.apple.syncedpreferences.plist' (case insensitive) under ~/Library directory tree
find ~/Library/ -iname "com.apple.syncedpreferences.plist"
GWHed/nl2bash
<|im_start|>system 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 named 'date' under /usr<|im_end|> <|im_start|>assistant find /usr -name date<|im_end|>
Find all files/directories named 'date' under /usr
find /usr -name date
GWHed/nl2bash
<|im_start|>system 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 named 'document' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name document -print<|im_end|>
Find all files/directories named 'document' in the entire filesystem
find / -name document -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 named 'document' in maximum 4 levels down the '/usr' directory<|im_end|> <|im_start|>assistant find /usr -maxdepth ...
Find all files/directories named 'document' in maximum 4 levels down the '/usr' directory
find /usr -maxdepth 4 -name document -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 named 'document' in the root filesystem partition<|im_end|> <|im_start|>assistant find / -xdev -name document -prin...
Find all files/directories named 'document' in the root filesystem partition
find / -xdev -name document -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 named 'file' and print them with null character as the delimiter instead of newline<|im_end|> <|im_start|>assistant...
Find all files/directories named 'file' and print them with null character as the delimiter instead of newline
find -name file -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 named 'file' without descending into directories with the same name under current directory tree<|im_end|> <|im_sta...
Find all files/directories named 'file' without descending into directories with the same name under current directory tree
find -name file -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 named 'file_name' under current directory tree<|im_end|> <|im_start|>assistant find . -name file_name<|im_end|>
Find all files/directories named 'file_name' under current directory tree
find . -name 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 named 'filename' that belong to user 'username' and group 'groupname' in the entire filesystem<|im_end|> <|im_start...
Find all files/directories named 'filename' that belong to user 'username' and group 'groupname' in the entire filesystem
find / -user username -group groupname -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/directories named 'findcommandexamples.txt' (case insensitive) in the entire filesystem<|im_end|> <|im_start|>assistant find /...
Find all files/directories named 'findcommandexamples.txt' (case insensitive) in the entire filesystem
find / -iname findcommandexamples.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 named 'foo' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name foo<|im_end|>
Find all files/directories named 'foo' in the entire filesystem
find / -name 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 files/directories named 'foo' under current directory tree without descending into directories named 'foo'<|im_end|> <|im_start|>assi...
Find all files/directories named 'foo' under current directory tree without descending into directories named 'foo'
find . -name foo -type d -prune -o -name 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 files/directories named 'foo.bar' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name foo.bar -print<|im_end|>
Find all files/directories named 'foo.bar' in the entire filesystem
find / -name 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/directories named 'foo.bar' under './dir1' and './dir2' directory trees<|im_end|> <|im_start|>assistant find ./dir1 ./dir2 -nam...
Find all files/directories named 'foo.bar' under './dir1' and './dir2' directory trees
find ./dir1 ./dir2 -name 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/directories named 'foo.rb' under current directory tree<|im_end|> <|im_start|>assistant find . -name foo.rb<|im_end|>
Find all files/directories named 'foo.rb' under current directory tree
find . -name foo.rb
GWHed/nl2bash
<|im_start|>system 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 named 'fprintf.c' under '/usr/src' directory tree<|im_end|> <|im_start|>assistant find /usr/src -name fprintf.c<|im...
Find all files/directories named 'fprintf.c' under '/usr/src' directory tree
find /usr/src -name fprintf.c
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories named 'game' under current directory tree<|im_end|> <|im_start|>assistant find . -name game<|im_end|>
Find all files/directories named 'game' under current directory tree
find . -name game
GWHed/nl2bash
<|im_start|>system 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 named 'java' under /usr directory<|im_end|> <|im_start|>assistant find /usr -name java<|im_end|>
Find all files/directories named 'java' under /usr directory
find /usr -name java
GWHed/nl2bash
<|im_start|>system 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 named 'javac' under current directory<|im_end|> <|im_start|>assistant find . -name 'javac'<|im_end|>
Find all files/directories named 'javac' under current directory
find . -name 'javac'
GWHed/nl2bash
<|im_start|>system 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 named 'my.txt' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name "my.txt"<|im_end|>
Find all files/directories named 'my.txt' in the entire filesystem
find / -name "my.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 named 'myfile' under your home directory<|im_end|> <|im_start|>assistant find ~ -name myfile<|im_end|>
Find all files/directories named 'myfile' under your home directory
find ~ -name myfile
GWHed/nl2bash
<|im_start|>system 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 named 'pattern' under current directory tree<|im_end|> <|im_start|>assistant find . -name "pattern" -print<|im_end|...
Find all files/directories named 'pattern' under current directory tree
find . -name "pattern" -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 named 'photo?.jpg' under current directory tree<|im_end|> <|im_start|>assistant find . -name photo\?.jpg<|im_end|>
Find all files/directories named 'photo?.jpg' under current directory tree
find . -name photo\?.jpg
GWHed/nl2bash
<|im_start|>system 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 named 'query' (case insensitive) under current directory<|im_end|> <|im_start|>assistant find -iname "query"<|im_en...
Find all files/directories named 'query' (case insensitive) under current directory
find -iname "query"
GWHed/nl2bash
<|im_start|>system 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 named 'query' under current directory<|im_end|> <|im_start|>assistant find -name "query"<|im_end|>
Find all files/directories named 'query' under current directory
find -name "query"
GWHed/nl2bash
<|im_start|>system 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 named 'test' under current directory tree<|im_end|> <|im_start|>assistant find . -name test<|im_end|>
Find all files/directories named 'test' under current directory tree
find . -name 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 files/directories named 'testfile.txt' under current directory tree<|im_end|> <|im_start|>assistant find . -name testfile.txt<|im_end...
Find all files/directories named 'testfile.txt' under current directory tree
find . -name testfile.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 named 'text' under current directory<|im_end|> <|im_start|>assistant find -name "text"<|im_end|>
Find all files/directories named 'text' under current directory
find -name "text"
GWHed/nl2bash
<|im_start|>system 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 named 'top' (case insensitive) in the entire filesystem<|im_end|> <|im_start|>assistant find / -iname top<|im_end|>
Find all files/directories named 'top' (case insensitive) in the entire filesystem
find / -iname top
GWHed/nl2bash
<|im_start|>system 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 named 'top' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name top<|im_end|>
Find all files/directories named 'top' in the entire filesystem
find / -name top
GWHed/nl2bash
<|im_start|>system 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 named 'vimrc' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name vimrc<|im_end|>
Find all files/directories named 'vimrc' in the entire filesystem
find / -name vimrc
GWHed/nl2bash
<|im_start|>system 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 named 'имя_файла' in the entire filesystem<|im_end|> <|im_start|>assistant find / -name "имя_файла"<|im_end|>
Find all files/directories named 'имя_файла' in the entire filesystem
find / -name "имя_файла"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories named file in 2 and 3 levels down the current directory<|im_end|> <|im_start|>assistant find -mindepth 2 -maxdepth ...
Find all files/directories named file in 2 and 3 levels down the current directory
find -mindepth 2 -maxdepth 3 -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/directories named file in minimum 4 levels down the current directory<|im_end|> <|im_start|>assistant find -mindepth 4 -name fi...
Find all files/directories named file in minimum 4 levels down the current directory
find -mindepth 4 -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/directories named orm.properties in entire file system<|im_end|> <|im_start|>assistant sudo find / -name "orm.properties"<|im_e...
Find all files/directories named orm.properties in entire file system
sudo find / -name "orm.properties"
GWHed/nl2bash
<|im_start|>system 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 named orm.properties under /eserver6 directory<|im_end|> <|im_start|>assistant find /eserver6 -name "orm.propertie...
Find all files/directories named orm.properties under /eserver6 directory
find /eserver6 -name "orm.properties"
GWHed/nl2bash
<|im_start|>system 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 named orm.properties under /eserver6/share/system/config/cluster directory<|im_end|> <|im_start|>assistant find /e...
Find all files/directories named orm.properties under /eserver6/share/system/config/cluster directory
find /eserver6/share/system/config/cluster -name "orm.properties"
GWHed/nl2bash
<|im_start|>system 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 named orm.properties under current directory<|im_end|> <|im_start|>assistant find . -name "orm.properties"<|im_end|...
Find all files/directories named orm.properties under current directory
find . -name "orm.properties"
GWHed/nl2bash
<|im_start|>system 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 named Root under current directory and copy them to newRoot<|im_end|> <|im_start|>assistant find . -name Root | xar...
Find all files/directories named Root under current directory and copy them to newRoot
find . -name Root | xargs cp newRoot
GWHed/nl2bash
<|im_start|>system 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 newer than ttt or owned by user 'wn' in entire file system<|im_end|> <|im_start|>assistant find / \( -newer ttt -or...
Find all files/directories newer than ttt or owned by user 'wn' in entire file system
find / \( -newer ttt -or -user wnj \) -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 not with the name 'query_to_avoid' under current directory<|im_end|> <|im_start|>assistant find -not -name "query_t...
Find all files/directories not with the name 'query_to_avoid' under current directory
find -not -name "query_to_avoid"
GWHed/nl2bash
<|im_start|>system 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 not with the name 'query_to_avoid' under current directory<|im_end|> <|im_start|>assistant find \! -name "query_to_...
Find all files/directories not with the name 'query_to_avoid' under current directory
find \! -name "query_to_avoid"
GWHed/nl2bash
<|im_start|>system 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 on the system whose name is `filedir'<|im_end|> <|im_start|>assistant find / -name filedir<|im_end|>
Find all files and directories on the system whose name is `filedir'
find / -name filedir
GWHed/nl2bash
<|im_start|>system 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 owned by the user 'bob' under '/home' directory tree<|im_end|> <|im_start|>assistant find /home -user bob<|im_end|>
Find all files/directories owned by the user 'bob' under '/home' directory tree
find /home -user bob
GWHed/nl2bash
<|im_start|>system 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 owned by user 'joebob' under '/some/directory' directory tree<|im_end|> <|im_start|>assistant find /some/directory ...
Find all files/directories owned by user 'joebob' under '/some/directory' directory tree
find /some/directory -user joebob -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 starting with 'app-' and ending with '.log' in their names and have been modified in the last 5 minutes<|im_end|> <...
Find all files/directories starting with 'app-' and ending with '.log' in their names and have been modified in the last 5 minutes
find /var/log/crashes -name app-\*\.log -mmin -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 starting with 'onlyme' in their names under current directory tree in minimum 1 level deep<|im_end|> <|im_start|>as...
Find all files/directories starting with 'onlyme' in their names under current directory tree in minimum 1 level deep
find . -mindepth 1 -name 'onlyme*'
GWHed/nl2bash
<|im_start|>system 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 startring with 'onlyme' in their names under current directory without going into sub-directories<|im_end|> <|im_st...
Find all files/directories startring with 'onlyme' in their names under current directory without going into sub-directories
find . -maxdepth 1 -name 'onlyme*'
GWHed/nl2bash
<|im_start|>system 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 starting with 'readme' (case insensitive) under '/usr/share/doc' directory tree<|im_end|> <|im_start|>assistant fin...
Find all files/directories starting with 'readme' (case insensitive) under '/usr/share/doc' directory tree
find /usr/share/doc -name '[Rr][Ee][Aa][Dd][Mm][Ee]*'
GWHed/nl2bash
<|im_start|>system 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 that are bigger than 100 bytes under '/home/apache' directory tree<|im_end|> <|im_start|>assistant find /home/apach...
Find all files/directories that are bigger than 100 bytes under '/home/apache' directory tree
find /home/apache -size 100c -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 that are newer than 'backup.tar.gz' by modification time<|im_end|> <|im_start|>assistant find . -newer backup.tar....
Find all files/directories that are newer than 'backup.tar.gz' by modification time
find . -newer backup.tar.gz
GWHed/nl2bash
<|im_start|>system 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 that are newer than 'ttt' by modification time or owned by the user 'wnj' in the entire filesystem<|im_end|> <|im_s...
Find all files/directories that are newer than 'ttt' by modification time or owned by the user 'wnj' in the entire filesystem
find / \( -newer ttt -or -user wnj \) -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 that are owned by user 'dave' under current user's home directory tree<|im_end|> <|im_start|>assistant find ~ -user...
Find all files/directories that are owned by user 'dave' under current user's home directory tree
find ~ -user dave -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 that are owned by user 'takuya' under current directory tree<|im_end|> <|im_start|>assistant find -user takuya<|im_...
Find all files/directories that are owned by user 'takuya' under current directory tree
find -user takuya
GWHed/nl2bash
<|im_start|>system 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 that have been modified in the last seven days.<|im_end|> <|im_start|>assistant find . -mtime -7<|im_end|>
Find all files and directories that have been modified in the last seven days.
find . -mtime -7
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all files/directories that belong to the group 'accts' under '/apps' directory tree<|im_end|> <|im_start|>assistant find /apps -group acc...
Find all files/directories that belong to the group 'accts' under '/apps' directory tree
find /apps -group accts -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 that belong to the group 'audio' under '/dev' directory tree<|im_end|> <|im_start|>assistant find /dev -group audio...
Find all files/directories that belong to the group 'audio' under '/dev' directory tree
find /dev -group audio
GWHed/nl2bash
<|im_start|>system 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 that belong to the group 'staff' under '/usr' directory tree<|im_end|> <|im_start|>assistant find /usr -group staff...
Find all files/directories that belong to the group 'staff' under '/usr' directory tree
find /usr -group staff
GWHed/nl2bash
<|im_start|>system 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 that contain 'packet' (case insensitive) in their names excluding directories that are bigger than 1500 bytes in si...
Find all files/directories that contain 'packet' (case insensitive) in their names excluding directories that are bigger than 1500 bytes in size
find . -iregex ".*packet.*" ! -type d -size +1500c
GWHed/nl2bash
<|im_start|>system 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 that contain 'target' (case insensitive) in their names under current directory no-recursively<|im_end|> <|im_start...
Find all files/directories that contain 'target' (case insensitive) in their names under current directory no-recursively
find -maxdepth 1 -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 that contain the string literal '$VERSION' in their names under current directory tree<|im_end|> <|im_start|>assist...
Find all files/directories that contain the string literal '$VERSION' in their names under current directory tree
find . -name '*$VERSION*'
GWHed/nl2bash
<|im_start|>system 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 that do not belong to any user under '/home' directory tree<|im_end|> <|im_start|>assistant find /home -nouser -pri...
Find all files/directories that do not belong to any user under '/home' directory tree
find /home -nouser -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 that do not contain 'photo' in their names under current directory tree<|im_end|> <|im_start|>assistant find . ! -n...
Find all files/directories that do not contain 'photo' in their names under current directory tree
find . ! -name "*photo*"
GWHed/nl2bash
<|im_start|>system 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 that do not match the pattern given as the $controlchars variable<|im_end|> <|im_start|>assistant find . ! -nam...
Find all files and directories that do not match the pattern given as the $controlchars variable
find . ! -name "$controlchars"
GWHed/nl2bash
<|im_start|>system 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 that have read, write, execution permission for user and belong to the user 'my_user' under current directory tree<...
Find all files/directories that have read, write, execution permission for user and belong to the user 'my_user' under current directory tree
find . -user my_user -perm -u+rwx
GWHed/nl2bash
<|im_start|>system 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 that start with 'a1a2' and end with 'txt' in their names and move their parent directories to '/home/spenx/dst/' di...
Find all files/directories that start with 'a1a2' and end with 'txt' in their names and move their parent directories to '/home/spenx/dst/' directory
find /home/spenx/src -name "a1a2*txt" | xargs -n 1 dirname | xargs -I list mv list /home/spenx/dst/
GWHed/nl2bash
<|im_start|>system 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 that start with 'onlyme' in their names under maximum 2 levels down the current directory<|im_end|> <|im_start|>ass...
Find all files/directories that start with 'onlyme' in their names under maximum 2 levels down the current directory
find . -maxdepth 2 -name 'onlyme*'
GWHed/nl2bash
<|im_start|>system 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 that start with 'test' in their names under current directory tree<|im_end|> <|im_start|>assistant find . -name 'te...
Find all files/directories that start with 'test' in their names under current directory tree
find . -name '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 files/directories under $1 which have at least write permission for their owner and set write permission for group for these files/di...
Find all files/directories under $1 which have at least write permission for their owner and set write permission for group for these files/directories
find "$1" -perm -u+w -print0 | xargs chmod g+w
GWHed/nl2bash
<|im_start|>system 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 $1 which have at least write permission for their owner and set write permission for group for these files/di...
Find all files/directories under $1 which have at least write permission for their owner and set write permission for group for these files/directories
find $1 -perm -u+w -exec chmod g+w {} \;
GWHed/nl2bash
<|im_start|>system 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 $TARGET_DIR directory tree matching the posix extended regular expression \".*/$now.*\" (where $now is a vari...
Find all files/directories under $TARGET_DIR directory tree matching the posix extended regular expression \".*/$now.*\" (where $now is a variable) and save the output in file $FILE_LIST
find $TARGET_DIR -regextype posix-extended -regex \".*/$now.*\" -fprint $FILE_LIST
GWHed/nl2bash
<|im_start|>system 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 $dir directory<|im_end|> <|im_start|>assistant find "$dir"<|im_end|>
Find all files/directories under $dir directory
find "$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 $dir directory tree which have been modified in the last 3 days<|im_end|> <|im_start|>assistant find $dir -mt...
Find all files/directories under $dir directory tree which have been modified in the last 3 days
find $dir -mtime -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 '/abs/path/to/directory' directory non-recursively that match the pattern '.*invalidTemplateName.*' in their ...
Find all files/directories under '/abs/path/to/directory' directory non-recursively that match the pattern '.*invalidTemplateName.*' in their names
find /abs/path/to/directory -maxdepth 1 -name '.*invalidTemplateName.*'
GWHed/nl2bash
<|im_start|>system 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_path' directory tree that have been modified within the last day<|im_end|> <|im_start|>assistant ...
Find all files/directories under '/directory_path' directory tree that have been modified within the last day
find /directory_path -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/directories under '/home/exampleuser/' directory tree whose names end with 'conf' and were modified exactly 3 days ago<|im_end|...
Find all files/directories under '/home/exampleuser/' directory tree whose names end with 'conf' and were modified exactly 3 days ago
find /home/exampleuser/ -name "*conf" -mtime 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 '/home/user/' directory tree whose status was changed exactly 10 minitues ago<|im_end|> <|im_start|>assistant...
Find all files/directories under '/home/user/' directory tree whose status was changed exactly 10 minitues ago
find /home/user/ -cmin 10 -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 '/usr' directory tree that have not been modified in the last 356 days counting days from today<|im_end|> <|i...
Find all files/directories under '/usr' directory tree that have not been modified in the last 356 days counting days from today
find /usr -mtime +356 -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 files/directories under '/usr/local' containing 'blast' (case insensitive) in their names<|im_end|> <|im_start|>assistant find /usr/l...
Find all files/directories under '/usr/local' containing 'blast' (case insensitive) in their names
find /usr/local -iname "*blast*"
GWHed/nl2bash
<|im_start|>system 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/local/games' directory tree that contain the string 'xpilot' in their names<|im_end|> <|im_start|>assis...
Find all files/directories under '/usr/local/games' directory tree that contain the string 'xpilot' in their names
find /usr/local/games -name "*xpilot*"
GWHed/nl2bash
<|im_start|>system 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/share/data' directory tree that match the posix extended regex ".*/20140624.*" in their paths and save ...
Find all files/directories under '/usr/share/data' directory tree that match the posix extended regex ".*/20140624.*" in their paths and save the list to '/home/user/txt-files/data-as-of-20140624.txt'
find /usr/share/data -regextype posix-extended -regex ".*/20140624.*" -fprint /home/user/txt-files/data-as-of-20140624.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 '/usr/share/doc' directory tree that contain 'readme' (case insensitive) at the beginning of their names<|im_...
Find all files/directories under '/usr/share/doc' directory tree that contain 'readme' (case insensitive) at the beginning of their names
find /usr/share/doc -iname readme\*
GWHed/nl2bash