text
large_stringlengths
242
1.17k
nl
large_stringlengths
13
387
bash
large_stringlengths
1
715
source
large_stringclasses
3 values
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of all directories under '/nas' directory tree<|im_end|> <|im_start|>assistant find /nas -type d -ls<|im_end|>
Display a long listing of all directories under '/nas' directory tree
find /nas -type d -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 display a long listing of all the empty files in the entire file system which are empty<|im_end|> <|im_start|>assistant find / -type f -size 0...
display a long listing of all the empty files in the entire file system which are empty
find / -type f -size 0 -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of all files/directories named 'file' under current directory tree<|im_end|> <|im_start|>assistant find -name file -ls<...
Display a long listing of all files/directories named 'file' under current directory tree
find -name file -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 Display a long listing of all files/directories that are bigger than 10MB under '/var/' directory tree<|im_end|> <|im_start|>assistant find /v...
Display a long listing of all files/directories that are bigger than 10MB under '/var/' directory tree
find /var/ -size +10M -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 Display a long listing of all the files/directories under current directory tree that are newer than the file 'Nov' by modification time<|im_e...
Display a long listing of all the files/directories under current directory tree that are newer than the file 'Nov' by modification time
find . -newer Nov -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 display a long listing of all the files in the /var folder which are bigger than 10MB. print0 is used to handle the files which have new lines...
display a long listing of all the files in the /var folder which are bigger than 10MB. print0 is used to handle the files which have new lines in their names
find /var -size +10000k -print0 | xargs -0 ls -lSh
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the files in the current folder<|im_end|> <|im_start|>assistant find . — type f -exec ls -1 {} \;<|im_end|>
display a long listing of all the files in the current folder
find . — type f -exec ls -1 {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the files in the current folder in sorted order, which are bigger than 10KB<|im_end|> <|im_start|>assistant find...
display a long listing of all the files in the current folder in sorted order, which are bigger than 10KB
find . -size +10k -exec ls -ls {} \+ | 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 display a long listing of all the files in the current folder that have been accessed in today from the start of the day<|im_end|> <|im_start|...
display a long listing of all the files in the current folder that have been accessed in today from the start of the day
find -daystart -atime 0 -ls
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the files in the current folder which are bigger than 10KB<|im_end|> <|im_start|>assistant find . -size +10k -ex...
display a long listing of all the files in the current folder which are bigger than 10KB
find . -size +10k -exec ls -lh {} \+
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user dispaly a long listing of all the files in the current folder which have been modified in the last 14 days<|im_end|> <|im_start|>assistant fin...
dispaly a long listing of all the files in the current folder which have been modified in the last 14 days
find . -mtime -14 -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 display a long listing of all fles in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant find . -m...
display a long listing of all fles in current folder which have been modified in the last 60 minutes
find . -mmin -60 -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 display a long list of all the files in the directory "/mydir" which have not been modified in the last 20*24 hours or which have not been acc...
display a long list of all the files in the directory "/mydir" which have not been modified in the last 20*24 hours or which have not been accessed in the last 40*24 hours
find /mydir \(-mtime +20 -o -atime +40\) -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all files in the entire file system which are bigger than 1MB<|im_end|> <|im_start|>assistant find / -size +1000k -e...
display a long listing of all files in the entire file system which are bigger than 1MB
find / -size +1000k -exec ls -l {} \; -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long ilsting of all the files in the file system which are bigger than 1KB and which have not been modified in the last 30*24 hours<...
display a long ilsting of all the files in the file system which are bigger than 1KB and which have not been modified in the last 30*24 hours
find / -size +1000 -mtime +30 -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the files in the home folder which are bigger than 200MB<|im_end|> <|im_start|>assistant find /home -size +200M ...
display a long listing of all the files in the home folder which are bigger than 200MB
find /home -size +200M -exec ls -sh {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long list of all the files that are bigger than 10KB in current folder<|im_end|> <|im_start|>assistant find . -size +10k -exec ls -l...
display a long list of all the files that are bigger than 10KB in current folder
find . -size +10k -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the files that begin with the name "Metallica" in the entire file system<|im_end|> <|im_start|>assistant find / ...
display a long listing of all the files that begin with the name "Metallica" in the entire file system
find / -name 'Metallica*' -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all images with the name "articles" in the current folder<|im_end|> <|im_start|>assistant find . -iname "Articles.jp...
display a long listing of all images with the name "articles" in the current folder
find . -iname "Articles.jpg" -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all images with the name "articles" in the current folder ( print0 is used to preserve file names with new line in t...
display a long listing of all images with the name "articles" in the current folder ( print0 is used to preserve file names with new line in their name )
find . -iname "Articles.jpg" -print0 | xargs -0 ls -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the java files in the current folder in sorted order<|im_end|> <|im_start|>assistant find . -type f -name '*.jav...
display a long listing of all the java files in the current folder in sorted order
find . -type f -name '*.java' -ls | sort -k +7 -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 display a long list of all the jpg files in the home folder<|im_end|> <|im_start|>assistant find ~ -iname '*.jpg' -exec ls {} \;<|im_end|>
display a long list of all the jpg files in the home folder
find ~ -iname '*.jpg' -exec ls {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long list of all the jpg files in the home folder(plus at the end is used to give bulk data as input)<|im_end|> <|im_start|>assistan...
display a long list of all the jpg files in the home folder(plus at the end is used to give bulk data as input)
find ~ -iname '*.jpg' -exec ls {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the normal/regular files in the current folder (print0 is used to handle files which have newlines in their name...
display a long listing of all the normal/regular files in the current folder (print0 is used to handle files which have newlines in their names or files with the name only as spaces )
find . -type f -print0 | xargs -0 ls -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all regular files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant...
display a long listing of all regular files in current folder which have been modified in the last 60 minutes
find . -mmin -60 -type f -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all regular files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant...
display a long listing of all regular files in current folder which have been modified in the last 60 minutes
find . -mmin -60 -type f -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 display a long listing of all regular files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant...
display a long listing of all regular files in current folder which have been modified in the last 60 minutes
find . -mmin -60 -type f | xargs ls -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long list of all regular/normal files in the file system which belong to the root and with suid bit set<|im_end|> <|im_start|>assist...
display a long list of all regular/normal files in the file system which belong to the root and with suid bit set
find / -type f -user root -perm -4000 -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the regular/normal files in the file system which have set uid bit or set gid bit enabled.<|im_end|> <|im_start|...
display a long listing of all the regular/normal files in the file system which have set uid bit or set gid bit enabled.
find / -type f \( -perm -4000 -o -perm -2000 \) -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of all the regular files owned by the user 'bluher' in the entire filesystem<|im_end|> <|im_start|>assistant find / -ty...
Display a long listing of all the regular files owned by the user 'bluher' in the entire filesystem
find / -type f -user bluher -exec ls -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 Display a long listing of all regular files that are less than 50 bytes in size under '/usr/bin' directory tree<|im_end|> <|im_start|>assistan...
Display a long listing of all regular files that are less than 50 bytes in size under '/usr/bin' directory tree
find /usr/bin -type f -size -50c -exec ls -l '{}' ';'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of all the regular files under current directory tree that are newer than ‘Apr 18 23:59:59 EDT 2013’ and older than ‘Ap...
Display a long listing of all the regular files under current directory tree that are newer than ‘Apr 18 23:59:59 EDT 2013’ and older than ‘Apr 20 00:00:00 EDT 2013’ by modification time
find . -type f -newermt ‘Apr 18 23:59:59 EDT 2013’ ! -newermt ‘Apr 20 00:00:00 EDT 2013’ -exec ls -l ‘{}’ \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of all regular files with 0777 permission under current directory tree<|im_end|> <|im_start|>assistant find . -perm 077...
Display a long listing of all regular files with 0777 permission under current directory tree
find . -perm 0777 -type f -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the xls or csv files in the entire file system<|im_end|> <|im_start|>assistant find / -regex ".*\.\(xls\|csv\)"<...
display a long listing of all the xls or csv files in the entire file system
find / -regex ".*\.\(xls\|csv\)"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of all the xls or csv files in the entire file system<|im_end|> <|im_start|>assistant find / -type f \( -name "*.xls" -...
display a long listing of all the xls or csv files in the entire file system
find / -type f \( -name "*.xls" -o -name "*.csv" \) -exec ls -l {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of the files all non emoty files in current folder which have been modified 60 minutes ago<|im_end|> <|im_start|>assist...
display a long listing of the files all non emoty files in current folder which have been modified 60 minutes ago
find . -mmin 60 -print0 | xargs -0r ls -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a long listing of the files/directories with human readable sizes (100M, 10G etc..) under '/var' directory tree which are bigger than ...
Display a long listing of the files/directories with human readable sizes (100M, 10G etc..) under '/var' directory tree which are bigger than 10MB
find /var/ -size +10M -exec ls -lh {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of the files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant find . -...
display a long listing of the files in current folder which have been modified in the last 60 minutes
find . -mmin -60 -type f -exec ls -l {} +
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long listing of the files in current folder which have been modified in the last 60 minutes<|im_end|> <|im_start|>assistant find . -...
display a long listing of the files in current folder which have been modified in the last 60 minutes
find . -mmin -60 |xargs ls -l
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display a long list of the files in the current folder which have the word fuddel in all the files in the current folder and then search for t...
display a long list of the files in the current folder which have the word fuddel in all the files in the current folder and then search for the word fiddel in the previously matched files
find -exec grep -q fuddel {} ";" -exec grep -q fiddel {} ";" -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 Display a long listing of the oldest file under '/hom/backups' directory tree<|im_end|> <|im_start|>assistant find /home/backups -printf "%T@ ...
Display a long listing of the oldest file under '/hom/backups' directory tree
find /home/backups -printf "%T@ %p\n" | sort -n | head -1 | cut -d" " -f2- | xargs ls -al
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a named character dump of "test.sh"<|im_end|> <|im_start|>assistant od -a test.sh<|im_end|>
Display a named character dump of "test.sh"
od -a test.sh
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user Display a sorted count of all the characters in "filename"<|im_end|> <|im_start|>assistant fold -w1 filename | sort | uniq -c | sort -nr<|im_e...
Display a sorted count of all the characters in "filename"
fold -w1 filename | sort | uniq -c | 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 Displays a tree of all process alongside their command line arguments.<|im_end|> <|im_start|>assistant pstree -a<|im_end|>
Displays a tree of all process alongside their command line arguments.
pstree -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 display all the ".c" files in the current directory<|im_end|> <|im_start|>assistant find . -name \*.c -print<|im_end|>
display all the ".c" files in the current directory
find . -name \*.c -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the ".c" files in the current folder excluding those that are present in the .svn sub folder<|im_end|> <|im_start|>assistant find ...
display all the ".c" files in the current folder excluding those that are present in the .svn sub folder
find . -name .svn -prune -o -name "*.c" -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the ".c" files in the current folder excluding those that are present in all the sub directories<|im_end|> <|im_start|>assistant f...
display all the ".c" files in the current folder excluding those that are present in all the sub directories
find . \( ! -name . -prune \) -name "*.c" -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the ".c" files in the folder "/home/david" which have been accessed in the last 48 hours<|im_end|> <|im_start|>assistant find /hom...
display all the ".c" files in the folder "/home/david" which have been accessed in the last 48 hours
find /home/david -atime -2 -name '*.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 display all the ".c" files which have been modified in the last 10 minutes<|im_end|> <|im_start|>assistant find /home/david -amin -10 -name '*...
display all the ".c" files which have been modified in the last 10 minutes
find /home/david -amin -10 -name '*.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 display all the ".mov" files in the current folder<|im_end|> <|im_start|>assistant find . -name "*.mov"<|im_end|>
display all the ".mov" files in the current folder
find . -name "*.mov"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the ".mov" video files in the current folder in the format filename and folder path<|im_end|> <|im_start|>assistant find . -iname ...
display all the ".mov" video files in the current folder in the format filename and folder path
find . -iname "*.mov" -printf "%p %f\n"
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the ".sh" files in the current folder<|im_end|> <|im_start|>assistant find -name *.sh<|im_end|>
display all the ".sh" files in the current folder
find -name *.sh
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the "C" files in the current folder<|im_end|> <|im_start|>assistant find . -name "*.c"<|im_end|>
display all the "C" files in the current folder
find . -name "*.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 display all the .sh scripts and perl files in the current folder<|im_end|> <|im_start|>assistant find . -type f \( -iname "*.sh" -or -iname "*...
display all the .sh scripts and perl files in the current folder
find . -type f \( -iname "*.sh" -or -iname "*.pl" \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the .sh scripts and perl files in the current folder<|im_end|> <|im_start|>assistant find . -type f \( -name "*.[sS][hH]" -o -name...
display all the .sh scripts and perl files in the current folder
find . -type f \( -name "*.[sS][hH]" -o -name "*.[pP][lL]" \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the C, CPP, Header files in the kat folder<|im_end|> <|im_start|>assistant find kat -type f \( -name "*.c" -o -name "*.cpp" -o -na...
display all the C, CPP, Header files in the kat folder
find kat -type f \( -name "*.c" -o -name "*.cpp" -o -name "*.h" \)
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the c files and the header files in the path /some/dir and do not search in sub directories<|im_end|> <|im_start|>assistant find /...
display all the c files and the header files in the path /some/dir and do not search in sub directories
find /some/dir -maxdepth 1 \( -name '*.c' -o -name '*.h' \) -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the C files or Python files in the folder "euler"<|im_end|> <|im_start|>assistant find euler/ -iname "*.c*" -exec echo {} \; -or -...
display all the C files or Python files in the folder "euler"
find euler/ -iname "*.c*" -exec echo {} \; -or -iname "*.py" -exec echo {} \;
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the configuration files in "/etc" folder along with their last access and modified timestamps<|im_end|> <|im_start|>assistant find...
display all the configuration files in "/etc" folder along with their last access and modified timestamps
find /etc -name "*.conf" -printf "%f accessed %AF %Ar, modified %TF %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 display all the configuration files in the current folder which are in the current tree structure<|im_end|> <|im_start|>assistant find . -pat...
display all the configuration files in the current folder which are in the current tree structure
find . -path '*/*config'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the configuration files in the etc folder<|im_end|> <|im_start|>assistant find /etc -name '*.conf'<|im_end|>
display all the configuration files in the etc folder
find /etc -name '*.conf'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the details of empty files in current folder<|im_end|> <|im_start|>assistant find . -size 0 -printf '%M %n %u %g %s %Tb\n \b%Td %T...
display all the details of empty files in current folder
find . -size 0 -printf '%M %n %u %g %s %Tb\n \b%Td %Tk:%TM %p\n'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all directories in a folder<|im_end|> <|im_start|>assistant find /etc -type d -print<|im_end|>
display all directories in a folder
find /etc -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 display all directories in current folder<|im_end|> <|im_start|>assistant find -type d<|im_end|>
display all directories in current folder
find -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 display all directories in current folder<|im_end|> <|im_start|>assistant find . -type d -print0<|im_end|>
display all directories in current folder
find . -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 display all the directories in the current folder<|im_end|> <|im_start|>assistant find . -type d<|im_end|>
display all the directories in the current folder
find . -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 display all the directories in the current folder<|im_end|> <|im_start|>assistant find . -type d -print<|im_end|>
display all the directories in the current folder
find . -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 display all directories in current folder and do not search in sub directories<|im_end|> <|im_start|>assistant find . -maxdepth 1 -mindepth 1 ...
display all directories in current folder and do not search in sub directories
find . -maxdepth 1 -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 display all directories in current folder excluding those that are present in .git folder<|im_end|> <|im_start|>assistant find . -iregex '.*/....
display all directories in current folder excluding those that are present in .git folder
find . -iregex '.*/.git/.*' -prune -o -type d -name 'CVS'
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the current folder excluding those that are present in the .svn directory tree<|im_end|> <|im_start|>assistant ...
display all the directories in the current folder excluding those that are present in the .svn directory tree
find -type d -path '.svn' -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the current folder excluding those that are present in the aa directory tree<|im_end|> <|im_start|>assistant fi...
display all the directories in the current folder excluding those that are present in the aa directory tree
find . -type d -name aa -prune
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the current folder excluding those that are present in the aa directory tree<|im_end|> <|im_start|>assistant fi...
display all the directories in the current folder excluding those that are present in the aa directory tree
find . -type d -name aa -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the current folder excluding those that are present in the folder secret<|im_end|> <|im_start|>assistant find ....
display all the directories in the current folder excluding those that are present in the folder secret
find . -name secret -type d -prune -o -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the current folder excluding those that have the name "node_modules"<|im_end|> <|im_start|>assistant find . ! -...
display all the directories in the current folder excluding those that have the name "node_modules"
find . ! -name "node_modules" -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 display all the directories in the current folder for the files which have not been accessed in the last 48 hours<|im_end|> <|im_start|>assist...
display all the directories in the current folder for the files which have not been accessed in the last 48 hours
find . -type d -atime +2
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all directories in the entire file system<|im_end|> <|im_start|>assistant find / -type d -print<|im_end|>
display all directories in the entire file system
find / -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 display all directories in the folder "$ORIG_DIR"<|im_end|> <|im_start|>assistant find "$ORIG_DIR" -name "*" -type d<|im_end|>
display all directories in the folder "$ORIG_DIR"
find "$ORIG_DIR" -name "*" -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 display all directories in the folder "/myfiles"<|im_end|> <|im_start|>assistant find /myfiles -type d<|im_end|>
display all directories in the folder "/myfiles"
find /myfiles -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 display all directories in the folder "PROD" and do not search in the sub directories<|im_end|> <|im_start|>assistant find /PROD -maxdepth 1 -...
display all directories in the folder "PROD" and do not search in the sub directories
find /PROD -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 display all the directories in the folder /path/to/dest except tmp and cache directories<|im_end|> <|im_start|>assistant find /path/to/dest -t...
display all the directories in the folder /path/to/dest except tmp and cache directories
find /path/to/dest -type d \( ! -name tmp \) -o \( ! -name cache \) -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the folder /path/to/dest except tmp directory<|im_end|> <|im_start|>assistant find /path/to/dest -type d \( ! -...
display all the directories in the folder /path/to/dest except tmp directory
find /path/to/dest -type d \( ! -name tmp \) -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the directories in the folder /usr/share<|im_end|> <|im_start|>assistant find /usr/share -type d<|im_end|>
display all the directories in the folder /usr/share
find /usr/share -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 display all the directories in the folder master-<|im_end|> <|im_start|>assistant find master -type d | sort<|im_end|>
display all the directories in the folder master-
find master -type d | sort
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all directories in the folder Symfony<|im_end|> <|im_start|>assistant find Symfony -type d<|im_end|>
display all directories in the folder Symfony
find Symfony -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 display all directories which have not been accessed in the last 24*3 hours<|im_end|> <|im_start|>assistant find -type d -and -atime +3<|im_en...
display all directories which have not been accessed in the last 24*3 hours
find -type d -and -atime +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 display all empty files in the current folder<|im_end|> <|im_start|>assistant find . -size 0k<|im_end|>
display all empty files in the current folder
find . -size 0k
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the empty files in current folder<|im_end|> <|im_start|>assistant find . -empty<|im_end|>
display all the empty files in current folder
find . -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 display all the empty files in the entire file system<|im_end|> <|im_start|>assistant find / -size 0 -print<|im_end|>
display all the empty files in the entire file system
find / -size 0 -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the empty files in the folder /opt (file size 0 bytes)<|im_end|> <|im_start|>assistant find /opt -type f -empty<|im_end|>
display all the empty files in the folder /opt (file size 0 bytes)
find /opt -type f -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 display all empty files(files with sisze 0 bytes) in home folder<|im_end|> <|im_start|>assistant find ~ -empty<|im_end|>
display all empty files(files with sisze 0 bytes) in home folder
find ~ -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 dispaly all the empty regular/normal files in the current folder<|im_end|> <|im_start|>assistant find . -type f -empty<|im_end|>
dispaly all the empty regular/normal files in the current folder
find . -type f -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 display all executable files in the folder /home<|im_end|> <|im_start|>assistant find /home -perm /a=x<|im_end|>
display all executable files in the folder /home
find /home -perm /a=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 Display all the files/directories under '/home/bozo/projects' directory tree that have been modified within the last day<|im_end|> <|im_start|...
Display all the files/directories under '/home/bozo/projects' directory tree that have been modified within the last day
find /home/bozo/projects -mtime -1
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files and directories with the name "CVS" from /usr/src folder that are at least seven levels deep and do not descend onto th...
display all the files and directories with the name "CVS" from /usr/src folder that are at least seven levels deep and do not descend onto the folders
find /usr/src -name CVS -prune -o -depth +6 -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user dsisplay all files inthe current folder<|im_end|> <|im_start|>assistant find .<|im_end|>
dsisplay all files inthe current folder
find .
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all files ending with ".ext" in current folder and append the file contents of list.txt and sort them based on name and display only u...
display all files ending with ".ext" in current folder and append the file contents of list.txt and sort them based on name and display only uniq items
find . -name \*.ext | cat - list.txt | sort | uniq -u
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files ending with ".foo" excluding those that are in the directory ".snapshot"<|im_end|> <|im_start|>assistant find . -name .s...
display all the files ending with ".foo" excluding those that are in the directory ".snapshot"
find . -name .snapshot -prune -o -name '*.foo' -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files ending with ".foo" including those that are in the directory ".snapshot", this is the wrong way of using prune.<|im_end|...
display all the files ending with ".foo" including those that are in the directory ".snapshot", this is the wrong way of using prune.
find . \( -name .snapshot -prune -o -name '*.foo' \) -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files ending with ".user" in /var/adm/logs/morelogs/ and excluding all regular files<|im_end|> <|im_start|>assistant find /var...
display all the files ending with ".user" in /var/adm/logs/morelogs/ and excluding all regular files
find /var/adm/logs/morelogs/* -type f -prune -name "*.user" -print
GWHed/nl2bash
<|im_start|>system You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|> <|im_start|>user display all the files ending with ".user" or beginning with "admin" or ending with ".user.gz" in /var/adm/logs/morelogs/ and excluding all re...
display all the files ending with ".user" or beginning with "admin" or ending with ".user.gz" in /var/adm/logs/morelogs/ and excluding all regular files
find /var/adm/logs/morelogs/* -type f -prune \( -name "admin.*" -o -name "*.user" -o -name "*.user.gz" \) -print
GWHed/nl2bash