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 cpp files in the current folder and move them to another folder<|im_end|> <|im_start|>assistant find . -type f -iname '*.cpp' -ex...
find all the cpp files in the current folder and move them to another folder
find . -type f -iname '*.cpp' -exec mv {} ./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 cpp files in the current folder and move them to another folder(plus takes the bulk output of the find command and gives it as in...
find all the cpp files in the current folder and move them to another folder(plus takes the bulk output of the find command and gives it as input to the move command in exec)
find . -type f -iname '*.cpp' -exec mv -t ./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 cpp(C++ source files), java, header files in the current directory<|im_end|> <|im_start|>assistant find . -name *.cpp -o -name *....
find all the cpp(C++ source files), java, header files in the current directory
find . -name *.cpp -o -name *.h -o -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 CSS files<|im_end|> <|im_start|>assistant find . -name "*.css"<|im_end|>
Find all CSS files
find . -name "*.css"
GWHed/nl2bash
<|im_start|>system You are 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 css files<|im_end|> <|im_start|>assistant find -name '*.css'<|im_end|>
find all the css files
find -name '*.css'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all CSS files that do something with HTML ID #content<|im_end|> <|im_start|>assistant find . -name "*.css" -exec grep -l "#content" {} \;...
Find all CSS files that do something with HTML ID #content
find . -name "*.css" -exec grep -l "#content" {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all data files in current folder which have not been changed in the last 60 minutes and display their name without extension<|im_end|> <|...
find all data files in current folder which have not been changed in the last 60 minutes and display their name without extension
find . -iregex "./[^/]+\.dat" -type f -cmin +60 -exec basename {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the database files in the folder /var/named<|im_end|> <|im_start|>assistant find /var/named -type f -name *.db<|im_end|>
find all the database files in the folder /var/named
find /var/named -type f -name *.db
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all dir* files/directories under parent<|im_end|> <|im_start|>assistant find parent -name dir*<|im_end|>
Find all dir* files/directories under parent
find parent -name 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 directories and for each of them, print an mv command to move it to /new/location<|im_end|> <|im_start|>assistant find . -type d -e...
Find all directories and for each of them, print an mv command to move it to /new/location
find . -type d -execdir echo /bin/mv {} /new/location \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories at level 3 of directory tree $from_dir<|im_end|> <|im_start|>assistant find $from_dir -mindepth 3 -maxdepth 3 -type d<|im...
Find all directories at level 3 of directory tree $from_dir
find $from_dir -mindepth 3 -maxdepth 3 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories by the name `httpdocs' on the system<|im_end|> <|im_start|>assistant find / -type d -name 'httpdocs'<|im_end|>
Find all directories by the name `httpdocs' on the system
find / -type d -name 'httpdocs'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories by the name `httpdocs' on the system<|im_end|> <|im_start|>assistant find / -type d -name httpdocs<|im_end|>
Find all directories by the name `httpdocs' on the system
find / -type d -name httpdocs
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the /data1/realtime directory tree that were last modified more than 5 minutes ago but less than 60 minutes ago<|im_en...
Find all directories in the /data1/realtime directory tree that were last modified more than 5 minutes ago but less than 60 minutes ago
find /data1/realtime -mmin -60 -mmin +5 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the /data1/realtime directory tree that were modified within the last 60 minutes<|im_end|> <|im_start|>assistant find ...
Find all directories in the /data1/realtime directory tree that were modified within the last 60 minutes
find /data1/realtime -mmin -60 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the /path/to/base/dir tree<|im_end|> <|im_start|>assistant find /path/to/base/dir -type d<|im_end|>
Find all directories in the /path/to/base/dir tree
find /path/to/base/dir -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in /path/to/dir/ without going into sub-directories<|im_end|> <|im_start|>assistant find /path/to/dir/ -mindepth 1 -maxde...
Find all directories in /path/to/dir/ without going into sub-directories
find /path/to/dir/ -mindepth 1 -maxdepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in /path/to/dir/ without going into sub-directories and append a null character at the end of each paths<|im_end|> <|im_s...
Find all directories in /path/to/dir/ without going into sub-directories and append a null character at the end of each paths
find /path/to/dir/ -mindepth 1 -maxdepth 1 -type d -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 directories in /var/www/html/zip/data/*/*/*/*/* that are older than 90 days and print only unique paths<|im_end|> <|im_start|>assista...
Find all directories in /var/www/html/zip/data/*/*/*/*/* that are older than 90 days and print only unique paths
find /var/www/html/zip/data -type d -mtime +90 | uniq
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in 1 level down the /home directory that have two consecutive vowels in their names and count them<|im_end|> <|im_start|>...
Find all directories in 1 level down the /home directory that have two consecutive vowels in their names and count them
find /home -mindepth 1 -maxdepth 1 -type d -name '*[aeiou][aeiou]*' -printf '*' | wc -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 directories in 1 level down the current directory<|im_end|> <|im_start|>assistant find . -mindepth 1 -maxdepth 1 -type d<|im_end|>
Find all directories in 1 level down the current directory
find . -mindepth 1 -maxdepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the current directory tree excluding hidden directories and create them in "../demo_bkp"<|im_end|> <|im_start|>assista...
Find all directories in the current directory tree excluding hidden directories and create them in "../demo_bkp"
find . -not -path \*/.\* -type d -exec mkdir -p -- ../demo_bkp/{} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the current directory tree that are not accessible by all<|im_end|> <|im_start|>assistant find -type d ! -perm -111<|i...
Find all directories in the current directory tree that are not accessible by all
find -type d ! -perm -111
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the current directory tree that do not have `execute' permissions for anyone<|im_end|> <|im_start|>assistant find . -t...
Find all directories in the current directory tree that do not have `execute' permissions for anyone
find . -type d ! -perm -111
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in the current directory tree that were last modified more than 5 minutes ago but less than 60 minutes ago<|im_end|> <|im...
Find all directories in the current directory tree that were last modified more than 5 minutes ago but less than 60 minutes ago
find . -mmin -60 -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 directories in the current directory tree with "music_files" in their names<|im_end|> <|im_start|>assistant find . -type d -iname \*m...
Find all directories in the current directory tree with "music_files" in their names
find . -type d -iname \*music_files\*
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all directories in the current directory which have the name foo and do not have the extension "bar"<|im_end|> <|im_start|>assistant find...
find all directories in the current directory which have the name foo and do not have the extension "bar"
find . -name '*foo*' ! -name '*.bar' -type d -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 directories in current directory without going into sub-directories<|im_end|> <|im_start|>assistant find . -type d -maxdepth 1<|im_en...
Find all directories in current directory without going into sub-directories
find . -type d -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 the directories in the current folder and create the same directory structure in a remote machine using ssh<|im_end|> <|im_start|>ass...
find all the directories in the current folder and create the same directory structure in a remote machine using ssh
find -type d | ssh server-B 'xargs -I% mkdir -p "/path/to/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 the directories in current folder and delete them<|im_end|> <|im_start|>assistant find . -type d -delete<|im_end|>
find all the directories in current folder and delete them
find . -type d -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 the directories in the current folder excluding search in the sub directories and create these directories in another path<|im_end|> ...
find all the directories in the current folder excluding search in the sub directories and create these directories in another path
find . -maxdepth 1 -type d | xargs -I X mkdir '/new/directory/X'
GWHed/nl2bash
<|im_start|>system You are 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 directories in the current folder that are empty(size 0 bytes)<|im_end|> <|im_start|>assistant find -type d -empty<|im_end|>
find all the directories in the current folder that are empty(size 0 bytes)
find -type d -empty
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories in the current folder which begin with the words "kt" and end with a digit<|im_end|> <|im_start|>assistant find . -re...
find all the directories in the current folder which begin with the words "kt" and end with a digit
find . -regex './kt[0-9] '
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories in current folder which start with test<|im_end|> <|im_start|>assistant find . -type d -name "test*"<|im_end|>
find all the directories in current folder which start with test
find . -type d -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 directories in the current one recursively which have the write bit set for "other"<|im_end|> <|im_start|>assistant find . -type d -p...
Find all directories in the current one recursively which have the write bit set for "other"
find . -type d -perm -o=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 directories in the current one with "linkin park" in their names and copy them to /Users/tommye/Desktop/LP<|im_end|> <|im_start|>assi...
Find all directories in the current one with "linkin park" in their names and copy them to /Users/tommye/Desktop/LP
find . -maxdepth 1 -type d -iname "*linkin park*" -exec cp -r {} /Users/tommye/Desktop/LP \;
GWHed/nl2bash
<|im_start|>system You are 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 directories in the different folders excluding search in the sub directories and create these folders in the current directory<|i...
find all the directories in the different folders excluding search in the sub directories and create these folders in the current directory
find /media/New\ Volume/bhajans -maxdepth 1 -type d | xargs -0 mkdir -p
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in directory tree `httpdocs'<|im_end|> <|im_start|>assistant find httpdocs -type d<|im_end|>
Find all directories in directory tree `httpdocs'
find httpdocs -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in entire file system which are larger than 50KB<|im_end|> <|im_start|>assistant find / -type d -size +50k<|im_end|>
Find all directories in entire file system which are larger than 50KB
find / -type d -size +50k
GWHed/nl2bash
<|im_start|>system You are 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 directories in the file system which begin with "man"<|im_end|> <|im_start|>assistant find / -type d -name 'man*' -print<|im_end|...
find all the directories in the file system which begin with "man"
find / -type d -name 'man*' -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories in the file system which have read, write and execute to all the users<|im_end|> <|im_start|>assistant find / \( -typ...
find all the directories in the file system which have read, write and execute to all the users
find / \( -type d -a -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 the directories in the folder $LOGDIR which have been modified in the last 5 days and delete them.<|im_end|> <|im_start|>assistant fi...
find all the directories in the folder $LOGDIR which have been modified in the last 5 days and delete them.
find $LOGDIR -type d -mtime +5 -exec rm -f {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories in the folder /raid with the extension local_sd_customize.<|im_end|> <|im_start|>assistant find /raid -type d -name "...
find all the directories in the folder /raid with the extension local_sd_customize.
find /raid -type d -name ".local_sd_customize" -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all the directories in the home folder do not search in sub directories<|im_end|> <|im_start|>assistant find /home -maxdepth 1 -type d<|i...
find all the directories in the home folder do not search in sub directories
find /home -maxdepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in level 1 down the $queue directory<|im_end|> <|im_start|>assistant echo "$queue" | xargs -I'{}' find {} -mindepth 1 -ma...
Find all directories in level 1 down the $queue directory
echo "$queue" | xargs -I'{}' find {} -mindepth 1 -maxdepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories in maximum 1 level down the current directory that were modified less than 1 day ago<|im_end|> <|im_start|>assistant find...
Find all directories in maximum 1 level down the current directory that were modified less than 1 day ago
find -maxdepth 1 -type d -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 directories in maximum 2 levels down the /tmp directory<|im_end|> <|im_start|>assistant find /tmp -maxdepth 2 -mindepth 1 -type d<|im...
Find all directories in maximum 2 levels down the /tmp directory
find /tmp -maxdepth 2 -mindepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Filnd all directory in root directory with 777 permission and change permision755 with chmod commad .<|im_end|> <|im_start|>assistant find / ...
Filnd all directory in root directory with 777 permission and change permision755 with chmod commad .
find / -type d -perm 777 -print -exec chmod 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 directories matching the regex '.texturedata' in their names under '/path/to/look/in/' directory tree<|im_end|> <|im_start|>assistant...
Find all directories matching the regex '.texturedata' in their names under '/path/to/look/in/' directory tree
find /path/to/look/in/ -type d | grep .texturedata
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named "0" in the current directory tree and create a single tar archive of their RS* subdirectories<|im_end|> <|im_start|...
Find all directories named "0" in the current directory tree and create a single tar archive of their RS* subdirectories
find . -type d -name "0" -execdir tar -cvf ~/home/directoryForTransfer/filename.tar RS* \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named "0" in the current directory tree and create a tar archive of their RS* subdirectories<|im_end|> <|im_start|>assist...
Find all directories named "0" in the current directory tree and create a tar archive of their RS* subdirectories
find . -type d -name "0" -execdir tar -cvf filename.tar RS* \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named "D" in the "A" directory tree<|im_end|> <|im_start|>assistant find A -type d -name 'D'<|im_end|>
Find all directories named "D" in the "A" directory tree
find A -type d -name 'D'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named "nasa"<|im_end|> <|im_start|>assistant find . -name nasa -type d<|im_end|>
Find all directories named "nasa"
find . -name nasa -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named $1 under $HOME directory tree and remove them<|im_end|> <|im_start|>assistant find $HOME -type d -name $1 -exec ech...
Find all directories named $1 under $HOME directory tree and remove them
find $HOME -type d -name $1 -exec echo {} ';' -exec rm -rf {} ';'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named '.texturedata' under '/path/to/look/in/' directory tree<|im_end|> <|im_start|>assistant find /path/to/look/in/ -typ...
Find all directories named '.texturedata' under '/path/to/look/in/' directory tree
find /path/to/look/in/ -type d -name '.texturedata'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named 'files' under current directory and set read-write-execute permission for owner and group and no permission for oth...
Find all directories named 'files' under current directory and set read-write-execute permission for owner and group and no permission for other for those directories
find . -type d -name files -exec chmod ug=rwx,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 directories named 'mydir' under 'local' and '/tmp' directory tree<|im_end|> <|im_start|>assistant find local /tmp -name mydir -type d...
Find all directories named 'mydir' under 'local' and '/tmp' directory tree
find local /tmp -name mydir -type d -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 directories named 'octave' under current directory tree<|im_end|> <|im_start|>assistant find . -name "octave" -type d<|im_end|>
Find all directories named 'octave' under current directory tree
find . -name "octave" -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named build under the current directory<|im_end|> <|im_start|>assistant find . -type d -name build<|im_end|>
Find all directories named build under the current directory
find . -type d -name build
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named CVS, and deletes them and their contents.<|im_end|> <|im_start|>assistant find . -type d -name CVS -exec rm -r {} \...
Find all directories named CVS, and deletes them and their contents.
find . -type d -name CVS -exec rm -r {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories named postgis-2.0.0 under / directory<|im_end|> <|im_start|>assistant sudo find / -type d -name "postgis-2.0.0"<|im_end|>
Find all directories named postgis-2.0.0 under / directory
sudo find / -type d -name "postgis-2.0.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 directories named essbase under /fss/fin<|im_end|> <|im_start|>assistant find /fss/fin -type d -name "essbase" -print<|im_end|>
Find all directories named essbase under /fss/fin
find /fss/fin -type d -name "essbase" -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 directories recursively starting from / and count them<|im_end|> <|im_start|>assistant find / -type d | wc -l<|im_end|>
Find all directories recursively starting from / and count them
find / -type d | 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 directories recursively starting from / and skipping the contents of /proc/, and count them<|im_end|> <|im_start|>assistant find / -p...
Find all directories recursively starting from / and skipping the contents of /proc/, and count them
find / -path /proc -prune -o -type d | 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 directories starting from YOUR_STARTING_DIRECTORY that contain the string "99966" in their names<|im_end|> <|im_start|>assistant find...
Find all directories starting from YOUR_STARTING_DIRECTORY that contain the string "99966" in their names
find YOUR_STARTING_DIRECTORY -type d -name "*99966*" -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 directories that have been accessed $FTIME days ago under current directory tree<|im_end|> <|im_start|>assistant find . -type d -atim...
Find all directories that have been accessed $FTIME days ago under current directory tree
find . -type d -atime $FTIME
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories that have been modified in the last seven days.<|im_end|> <|im_start|>assistant find . -mtime -7 -type d<|im_end|>
Find all directories that have been modified in the last seven days.
find . -mtime -7 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user find all directories that names are 'apt' and display details<|im_end|> <|im_start|>assistant find / -type d -name "apt" -ls<|im_end|>
find all directories that names are 'apt' and display details
find / -type d -name "apt" -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 directories that names are 'project.images'<|im_end|> <|im_start|>assistant find / -type d -name "project.images"<|im_end|>
find all directories that names are 'project.images'
find / -type d -name "project.images"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under $1/.hg and set their SGID bit<|im_end|> <|im_start|>assistant find "$1"/.hg -type d -print0 | xargs chmod g+s<|im_e...
Find all directories under $1/.hg and set their SGID bit
find "$1"/.hg -type d -print0 | xargs chmod g+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 directories under $1/.hg and set their SGID bit<|im_end|> <|im_start|>assistant find $1/.hg -type d -exec chmod g+s {} \;<|im_end|>
Find all directories under $1/.hg and set their SGID bit
find $1/.hg -type d -exec chmod g+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 directories under $FOLDER, take the first fields (dot (.) as the delimiter) from their timestamps and reverse sort them numerically<|...
Find all directories under $FOLDER, take the first fields (dot (.) as the delimiter) from their timestamps and reverse sort them numerically
find "$FOLDER" -type d -printf "%T@\n" | cut -f 1 -d . | sort -nr
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under $ROOT_DIR and show the sub-directories of the directories before the directories themselves<|im_end|> <|im_start|>a...
Find all directories under $ROOT_DIR and show the sub-directories of the directories before the directories themselves
find $ROOT_DIR -type d -depth -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 directories under $d directory and set read-write-execute permission for owner and group and no permission for other for those direct...
Find all directories under $d directory and set read-write-execute permission for owner and group and no permission for other for those directories
find $d -type d -exec chmod ug=rwx,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 directories under $path<|im_end|> <|im_start|>assistant find $path -type d<|im_end|>
Find all directories under $path
find $path -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under $root and replace all newlines with : (colon) in the output<|im_end|> <|im_start|>assistant find $root -type d | tr...
Find all directories under $root and replace all newlines with : (colon) in the output
find $root -type d | tr '\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 directories under ${1:-.} directory without descending into any sub-directories<|im_end|> <|im_start|>assistant find ${1:-.} -mindept...
Find all directories under ${1:-.} directory without descending into any sub-directories
find ${1:-.} -mindepth 1 -maxdepth 1 -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under '.cache/chromium/Default/Cache' that are bigger than 100 MB in size excluding single letter directory names<|im_end...
Find all directories under '.cache/chromium/Default/Cache' that are bigger than 100 MB in size excluding single letter directory names
find .cache/chromium/Default/Cache/ -type d -print0 | du -h | grep '[0-9]\{3\}M' | cut -f2 | grep -v '^.$'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under '/nas' directory tree<|im_end|> <|im_start|>assistant find /nas -type d<|im_end|>
Find all directories under '/nas' directory tree
find /nas -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under '/var/www' directory tree excluding '/var/www/web-release-data' and '/var/www/web-development-data' directories and...
Find all directories under '/var/www' directory tree excluding '/var/www/web-release-data' and '/var/www/web-development-data' directories and their sub-directories
find /var/www -type d \( ! -wholename "/var/www/web-release-data/*" ! -wholename "/var/www/web-development-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 directories under 'A' directory tree excluding paths containing the directory 'a'<|im_end|> <|im_start|>assistant find A -type d \( !...
Find all directories under 'A' directory tree excluding paths containing the directory 'a'
find A -type d \( ! -wholename "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 directories under 'test' directory tree that match the regex '.*/course[0-9.]*' in their paths<|im_end|> <|im_start|>assistant find t...
Find all directories under 'test' directory tree that match the regex '.*/course[0-9.]*' in their paths
find test -type d -regex '.*/course[0-9.]*'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under 'test' directory tree whose paths match the regex '.*/course[0-9]\.[0-9]\.[0-9]\.[0-9]$'<|im_end|> <|im_start|>assi...
Find all directories under 'test' directory tree whose paths match the regex '.*/course[0-9]\.[0-9]\.[0-9]\.[0-9]$'
find test -type d -regex '.*/course[0-9]\.[0-9]\.[0-9]\.[0-9]$'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /fss/fin<|im_end|> <|im_start|>assistant find /fss/fin -type d<|im_end|>
Find all directories under /fss/fin
find /fss/fin -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/me<|im_end|> <|im_start|>assistant find /home/me -type d<|im_end|>
Find all directories under /home/me
find /home/me -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/me/"$d"<|im_end|> <|im_start|>assistant find /home/me/"$d" -type d<|im_end|>
Find all directories under /home/me/"$d"
find /home/me/"$d" -type d
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/public_html/modules and set their permission to 750<|im_end|> <|im_start|>assistant find /home/user...
Find all directories under /home/username/public_html/modules and set their permission to 750
find /home/username/public_html/modules -type d -exec chmod 750 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/public_html/sites/all/modules and set their permission to 750<|im_end|> <|im_start|>assistant find /...
Find all directories under /home/username/public_html/sites/all/modules and set their permission to 750
find /home/username/public_html/sites/all/modules -type d -exec chmod 750 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/public_html/sites/all/themes and set their permission to 750<|im_end|> <|im_start|>assistant find /h...
Find all directories under /home/username/public_html/sites/all/themes and set their permission to 750
find /home/username/public_html/sites/all/themes -type d -exec chmod 750 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/public_html/sites/default/files and set their permission to 770<|im_end|> <|im_start|>assistant find...
Find all directories under /home/username/public_html/sites/default/files and set their permission to 770
find /home/username/public_html/sites/default/files -type d -exec chmod 770 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/public_html/themes and set their permission to 750<|im_end|> <|im_start|>assistant find /home/userna...
Find all directories under /home/username/public_html/themes and set their permission to 750
find /home/username/public_html/themes -type d -exec chmod 750 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /home/username/tmp and set their permission to 770<|im_end|> <|im_start|>assistant find /home/username/tmp -type d ...
Find all directories under /home/username/tmp and set their permission to 770
find /home/username/tmp -type d -exec chmod 770 {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /path/to/Dir and set their permission to 755<|im_end|> <|im_start|>assistant sudo find /path/to/Dir -type d -print0...
Find all directories under /path/to/Dir and set their permission to 755
sudo find /path/to/Dir -type d -print0 | xargs -0 sudo chmod 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 directories under /path/to/base/cache, /path/to/base/tmp, /path/to/base/logs and change their permission to 755<|im_end|> <|im_start...
Find all directories under /path/to/base/cache, /path/to/base/tmp, /path/to/base/logs and change their permission to 755
find /path/to/base/cache /path/to/base/tmp /path/to/base/logs -type d -exec chmod 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 directories under /path/to/base/dir and change their permission to 755<|im_end|> <|im_start|>assistant chmod 755 $(find /path/to/base...
Find all directories under /path/to/base/dir and change their permission to 755
chmod 755 $(find /path/to/base/dir -type d)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Find all directories under /path/to/base/dir and change their permission to 755<|im_end|> <|im_start|>assistant find /path/to/base/dir -type d...
Find all directories under /path/to/base/dir and change their permission to 755
find /path/to/base/dir -type d -exec chmod 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 directories under /path/to/base/dir and change their permission to 755<|im_end|> <|im_start|>assistant find /path/to/base/dir -type d...
Find all directories under /path/to/base/dir and change their permission to 755
find /path/to/base/dir -type d -print0 | xargs -0 chmod 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 directories under /path/to/dir (no sub-directories) and archive them (with relative paths) into files with .tar.gz extension<|im_end|...
Find all directories under /path/to/dir (no sub-directories) and archive them (with relative paths) into files with .tar.gz extension
find /path/to/dir -mindepth 1 -maxdepth 1 -type d -execdir sudo tar -zcpvf {}.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 directories under /path/to/dir and change their permission to 755<|im_end|> <|im_start|>assistant find /path/to/dir -type d -exec chm...
Find all directories under /path/to/dir and change their permission to 755
find /path/to/dir -type d -exec chmod 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 directories under /var/www directory and set their permission to 755<|im_end|> <|im_start|>assistant sudo find /var/www -type d -prin...
Find all directories under /var/www directory and set their permission to 755
sudo find /var/www -type d -print0 | xargs -0 chmod 755
GWHed/nl2bash