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 all the regular/normal files in current folder which have been modified exactly 60 minutes before<|im_end|>
<|im_start|>assistant
find... | display all the regular/normal files in current folder which have been modified exactly 60 minutes before | find . -mmin 60 -type 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
display all the regular files in the current folder which dont not have the permission 777<|im_end|>
<|im_start|>assistant
find . -type f ! -p... | display all the regular files in the current folder which dont not have the permission 777 | find . -type f ! -perm 777 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all normal/regular files in current folder which have readable permission<|im_end|>
<|im_start|>assistant
find . -type f -readable<|im... | display all normal/regular files in current folder which have readable permission | find . -type f -readable | GWHed/nl2bash |
<|im_start|>system
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 regular/normal files in the current folder with the name dummy<|im_end|>
<|im_start|>assistant
find -type f -name dummy<|im_end|> | display all regular/normal files in the current folder with the name dummy | find -type f -name dummy | GWHed/nl2bash |
<|im_start|>system
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 normal/regular files in the directory FOLDER1<|im_end|>
<|im_start|>assistant
find FOLDER1 -type f -print0<|im_end|> | display all the normal/regular files in the directory FOLDER1 | find FOLDER1 -type f -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 normal/regular files in the folder "$ORIG_DIR"<|im_end|>
<|im_start|>assistant
find "$ORIG_DIR" -name "*" -type f<|im_end|> | display all normal/regular files in the folder "$ORIG_DIR" | find "$ORIG_DIR" -name "*" -type 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
display all regular/normal files in the folder "dir" and display the filename along with file size<|im_end|>
<|im_start|>assistant
find dir -t... | display all regular/normal files in the folder "dir" and display the filename along with file size | find dir -type f -printf "f %s %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 normal/regular files in the folder "pathfolder"<|im_end|>
<|im_start|>assistant
find pathfolder -type f<|im_end|> | display all normal/regular files in the folder "pathfolder" | find pathfolder -type 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
display all regular/normal files in the folder /Users/david/Desktop/<|im_end|>
<|im_start|>assistant
find /Users/david/Desktop/-type f<|im_end... | display all regular/normal files in the folder /Users/david/Desktop/ | find /Users/david/Desktop/-type 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
display all the regular/normal files in the folder /path/ which have not been modified today ( from day start ie, 00:00 )<|im_end|>
<|im_start... | display all the regular/normal files in the folder /path/ which have not been modified today ( from day start ie, 00:00 ) | find /path/ -type f -daystart -mtime +0 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all regular/normal files in the folder Symfony<|im_end|>
<|im_start|>assistant
find Symfony -type f<|im_end|> | display all regular/normal files in the folder Symfony | find Symfony -type 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
display all normal/regular files or directories in the folder "$ORIG_DIR"<|im_end|>
<|im_start|>assistant
find "$ORIG_DIR" -name "*" -type d -... | display all normal/regular files or directories in the folder "$ORIG_DIR" | find "$ORIG_DIR" -name "*" -type d -o -name "*" -type 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
display all regular/normal files which have been modified in the last 30 minutes<|im_end|>
<|im_start|>assistant
find -type f -and -mmin -30<|... | display all regular/normal files which have been modified in the last 30 minutes | find -type f -and -mmin -30 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the regular/ normal files in a folder<|im_end|>
<|im_start|>assistant
find src/js -type f<|im_end|> | display all the regular/ normal files in a folder | find src/js -type 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
display all scala files in the directory "src/main"<|im_end|>
<|im_start|>assistant
find . -path "*src/main*" -type f -iname "*\.scala*"<|im_e... | display all scala files in the directory "src/main" | find . -path "*src/main*" -type f -iname "*\.scala*" | GWHed/nl2bash |
<|im_start|>system
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 scala files in the directory "src/main"<|im_end|>
<|im_start|>assistant
find . -type f -path "*src/main/*\.scala"<|im_end|> | display all scala files in the directory "src/main" | find . -type f -path "*src/main/*\.scala" | GWHed/nl2bash |
<|im_start|>system
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 scala files in the directory "src/main"<|im_end|>
<|im_start|>assistant
find . -type f -regex ".*src/main.*\.scala$"<|im_end|> | display all scala files in the directory "src/main" | find . -type f -regex ".*src/main.*\.scala$" | GWHed/nl2bash |
<|im_start|>system
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 soft links in a folder which are not broken<|im_end|>
<|im_start|>assistant
find -L /target ! -type l<|im_end|> | display all the soft links in a folder which are not broken | find -L /target ! -type 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 all soft links in current folder<|im_end|>
<|im_start|>assistant
find . -type l<|im_end|> | display all soft links in current folder | find . -type 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 all sqlite files in the current directory along with their timestamp<|im_end|>
<|im_start|>assistant
find ./ -name "*.sqlite" -printf ... | display all sqlite files in the current directory along with their timestamp | find ./ -name "*.sqlite" -printf '%Tc %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 symbolic links in the folder "myfiles"<|im_end|>
<|im_start|>assistant
find /myfiles -type l<|im_end|> | display all symbolic links in the folder "myfiles" | find /myfiles -type 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 all symbolic links in the folder "myfiles" and follow them<|im_end|>
<|im_start|>assistant
find -L /myfiles<|im_end|> | display all symbolic links in the folder "myfiles" and follow them | find -L /myfiles | GWHed/nl2bash |
<|im_start|>system
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 symlinks and their targets in the current directory<|im_end|>
<|im_start|>assistant
find -P . -maxdepth 1 -type l -exec echo -n "... | Display all symlinks and their targets in the current directory | find -P . -maxdepth 1 -type l -exec echo -n "{} -> " \; -exec readlink {} \; | GWHed/nl2bash |
<|im_start|>system
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 symlinks and their targets in the current directory tree<|im_end|>
<|im_start|>assistant
find -P . -type l -exec echo -n "{} -> " ... | Display all symlinks and their targets in the current directory tree | find -P . -type l -exec echo -n "{} -> " \; -exec readlink {} \; | GWHed/nl2bash |
<|im_start|>system
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 tex files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.tex"<|im_end|> | display all the tex files in the current folder | find . -name "*.tex" | GWHed/nl2bash |
<|im_start|>system
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 tex files in the current folder<|im_end|>
<|im_start|>assistant
find . -name \*.tex<|im_end|> | display all the tex files in the current folder | find . -name \*.tex | GWHed/nl2bash |
<|im_start|>system
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 text and pdf files in the current folder<|im_end|>
<|im_start|>assistant
find . -regex ".*\(\.txt\|\.pdf\)$"<|im_end|> | display all the text and pdf files in the current folder | find . -regex ".*\(\.txt\|\.pdf\)$" | GWHed/nl2bash |
<|im_start|>system
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 text files and pdf files in the current folder<|im_end|>
<|im_start|>assistant
find . \( -name "*.txt" -o -name "*.pdf" \)<|im... | display all the text files and pdf files in the current folder | find . \( -name "*.txt" -o -name "*.pdf" \) | GWHed/nl2bash |
<|im_start|>system
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 text files from the current folder and skip searching in skipdir1 and skipdir2 folders<|im_end|>
<|im_start|>assistant
find . ... | display all the text files from the current folder and skip searching in skipdir1 and skipdir2 folders | find . \( -name skipdir1 -prune , -name skipdir2 -prune -o -name "*.txt" \) -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 text files in current folder<|im_end|>
<|im_start|>assistant
find . -name "*.txt"<|im_end|> | display all text files in current folder | find . -name "*.txt" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all text files in current folder<|im_end|>
<|im_start|>assistant
find . -name ".txt"<|im_end|> | display all text files in current folder | find . -name ".txt" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all text files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -name "*.txt"<|im_end|> | display all text files in the current folder | find . -type f -name "*.txt" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the text files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.txt" -print<|im_end|> | display all the text files in the current folder | find . -name "*.txt" -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 text files in current folder<|im_end|>
<|im_start|>assistant
find . -name "*.txt" -printf "%f\n"<|im_end|> | display all the text files in current folder | find . -name "*.txt" -printf "%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 text files in the current folder<|im_end|>
<|im_start|>assistant
find -name “*.txt”<|im_end|> | display all the text files in the current folder | find -name “*.txt” | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the text files in the current folder and do not search in the bin directory<|im_end|>
<|im_start|>assistant
find . -name bin -pru... | display all the text files in the current folder and do not search in the bin directory | find . -name bin -prune -o -name "*.txt" -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 text files in the current folder except readme files<|im_end|>
<|im_start|>assistant
find . -type f -name "*.txt" ! -name READ... | display all the text files in the current folder except readme files | find . -type f -name "*.txt" ! -name README.txt -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 text files in the current folder which have been modified in the last half minute ( 30 seconds )<|im_end|>
<|im_start|>assista... | display all the text files in the current folder which have been modified in the last half minute ( 30 seconds ) | find . -mmin 0.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
display all text files in the folder /home/you which have been modified in the last 60*24 hours(case insensitive search)<|im_end|>
<|im_start|... | display all text files in the folder /home/you which have been modified in the last 60*24 hours(case insensitive search) | find /home/you -iname "*.txt" -mtime -60 -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 text files in the folder /tmp/1 excluding those which do not have spaces in their names<|im_end|>
<|im_start|>assistant
find /tmp/... | display all text files in the folder /tmp/1 excluding those which do not have spaces in their names | find /tmp/1 -iname '*.txt' -not -iname '[0-9A-Za-z]*.txt' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all text files in the folder /user/directory which have been modified in today<|im_end|>
<|im_start|>assistant
find /user/directory/* ... | display all text files in the folder /user/directory which have been modified in today | find /user/directory/* -name "*txt" -mtime 0 -type 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
display all the text files in the home folder<|im_end|>
<|im_start|>assistant
find /home -name "*.txt"<|im_end|> | display all the text files in the home folder | find /home -name "*.txt" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the text files in the home folder ( case insensitive search )<|im_end|>
<|im_start|>assistant
find /home -iname "*.txt"<|im_end|> | display all the text files in the home folder ( case insensitive search ) | find /home -iname "*.txt" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the text files in the temp folder<|im_end|>
<|im_start|>assistant
find /tmp -name *.txt<|im_end|> | display all the text files in the temp folder | find /tmp -name *.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all text, mpg, jpg files in the folder /Users/david/Desktop<|im_end|>
<|im_start|>assistant
find /Users/david/Desktop -type f \( -nam... | display all text, mpg, jpg files in the folder /Users/david/Desktop | find /Users/david/Desktop -type f \( -name '*.txt' -o -name '*.mpg' -o -name '*.jpg' \) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the trace files (".trc") from the folder $DBA/$ORACLE_SID/bdump/ which have not been accessed in the last 7*24 hours<|im_end|>
<|i... | display all the trace files (".trc") from the folder $DBA/$ORACLE_SID/bdump/ which have not been accessed in the last 7*24 hours | find $DBA/$ORACLE_SID/bdump/*.trc -mtime +7 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display all the users in the current folder that belong to the group "sunk"<|im_end|>
<|im_start|>assistant
find . -type f -group sunk<|im_end... | display all the users in the current folder that belong to the group "sunk" | find . -type f -group sunk | GWHed/nl2bash |
<|im_start|>system
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 users in the current folder which do not belong to the user root<|im_end|>
<|im_start|>assistant
find . ! -user root<|im_end|> | display all the users in the current folder which do not belong to the user root | find . ! -user root | GWHed/nl2bash |
<|im_start|>system
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 an amount of processes running with a certain name<|im_end|>
<|im_start|>assistant
ab=`ps -ef | grep -v grep | grep -wc processname`<|... | Display an amount of processes running with a certain name | ab=`ps -ef | grep -v grep | grep -wc processname` | GWHed/nl2bash |
<|im_start|>system
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 the base name(name without extension) of all the ".flac" files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.f... | display the base name(name without extension) of all the ".flac" files in the current folder | find . -name "*.flac" -exec basename \{\} .flac \; | GWHed/nl2bash |
<|im_start|>system
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 the biggest file sizes only<|im_end|>
<|im_start|>assistant
find -type f -exec du -Sh {} + | sort -rh | head -n 5<|im_end|> | Display the biggest file sizes only | find -type f -exec du -Sh {} + | sort -rh | head -n 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
Displays calendar for a previous, current and next month.<|im_end|>
<|im_start|>assistant
cal -3<|im_end|> | Displays calendar for a previous, current and next month. | cal -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
Displays calendar of a previous, current and next month for December of 2120 year.<|im_end|>
<|im_start|>assistant
cal -3 12 2120<|im_end|> | Displays calendar of a previous, current and next month for December of 2120 year. | cal -3 12 2120 | GWHed/nl2bash |
<|im_start|>system
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 the change owner command for all the regular files in the current folder.<|im_end|>
<|im_start|>assistant
find . -type f -exec echo ch... | display the change owner command for all the regular files in the current folder. | find . -type f -exec echo chown username {} \; | GWHed/nl2bash |
<|im_start|>system
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 the commands to force delete all jpg files in current directory which are less than 50KB and do not search in the sub directories<|im_... | display the commands to force delete all jpg files in current directory which are less than 50KB and do not search in the sub directories | find . -maxdepth 1 -name "*.jpg" -size -50k | xargs echo 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
Display the contents of "file" formatted into a table, removing duplicate lines where the first 12 characters are duplicates, and display the ... | Display the contents of "file" formatted into a table, removing duplicate lines where the first 12 characters are duplicates, and display the number of occurrences at the beginning of each line. | column -t file | uniq -w12 -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 the contents of "myfile" located in the current directory.<|im_end|>
<|im_start|>assistant
cat myfile<|im_end|> | Display the contents of "myfile" located in the current directory. | cat myfile | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display the contents of "text"<|im_end|>
<|im_start|>assistant
cat text<|im_end|> | Display the contents of "text" | cat text | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display the contents of all the text files in the current directory<|im_end|>
<|im_start|>assistant
find . -name '*.txt' -exec cat {} \;<|im_... | display the contents of all the text files in the current directory | find . -name '*.txt' -exec cat {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display the content of file "f" in home directory if it exists and is executable<|im_end|>
<|im_start|>assistant
cat `which ~/f`<|im_end|> | Display the content of file "f" in home directory if it exists and is executable | cat `which ~/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
display the count of all the directories in the current folder<|im_end|>
<|im_start|>assistant
find . -type d –print | wc -l<|im_end|> | display the count of all the directories in the current folder | find . -type d –print | 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
display the count of all the directories present in a folder<|im_end|>
<|im_start|>assistant
find /mount/point -type d | wc -l<|im_end|> | display the count of all the directories present in a folder | find /mount/point -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
display the count of all the files in the current folder<|im_end|>
<|im_start|>assistant
find . -print | wc -l<|im_end|> | display the count of all the files in the current folder | find . -print | 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
display the count of number html files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*.html" -print | xargs -l -i wc {}<... | display the count of number html files in the current folder | find . -name "*.html" -print | xargs -l -i wc {} | GWHed/nl2bash |
<|im_start|>system
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 the count of number of files in the current folder<|im_end|>
<|im_start|>assistant
find | wc -l<|im_end|> | display the count of number of files in the current folder | find | wc -l | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Displays the count of of each unique line read from standard input<|im_end|>
<|im_start|>assistant
sort | uniq -c<|im_end|> | Displays the count of of each unique line read from standard input | sort | uniq -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 the count of regular files for which the owner has read and execute permission under 'home/magie/d2' directory tree<|im_end|>
<|im_sta... | Display the count of regular files for which the owner has read and execute permission under 'home/magie/d2' directory tree | find home/magie/d2 -type f -perm -u+rx | 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
display the count of regular/normal files in the current folder do not search in sub directories<|im_end|>
<|im_start|>assistant
find . -maxde... | display the count of regular/normal files in the current folder do not search in sub directories | find . -maxdepth 1 -type f |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
Display the count of regular files under 'home/magie/d2' directory tree which have execute permission to all the users<|im_end|>
<|im_start|>a... | Display the count of regular files under 'home/magie/d2' directory tree which have execute permission to all the users | find home/magie/d2 -type f -perm +111 | 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
display the count of total number of empty files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -empty | wc -l<|im_end|> | display the count of total number of empty files in the current folder | find . -type f -empty | 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
display the count of total number of non empty files in the current folder<|im_end|>
<|im_start|>assistant
find . -type f -not -empty | wc -l<... | display the count of total number of non empty files in the current folder | find . -type f -not -empty | 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
display the count of total number of text files in the folder /home/you which have been modified in the last 60*24 hours<|im_end|>
<|im_start|... | display the count of total number of text files in the folder /home/you which have been modified in the last 60*24 hours | find /home/you -iname "*.txt" -mtime -60 | 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
Display the current directory tree except files or directories starting with "3rd"<|im_end|>
<|im_start|>assistant
tree -I '3rd*'<|im_end|> | Display the current directory tree except files or directories starting with "3rd" | tree -I '3rd*' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
(Linux specific) Display current running kernel's compile-time config file.<|im_end|>
<|im_start|>assistant
cat /boot/config-`uname -r`<|im_en... | (Linux specific) Display current running kernel's compile-time config file. | cat /boot/config-`uname -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 current system's kernel name, kernel release and version, and machine architecture<|im_end|>
<|im_start|>assistant
uname -srvm<|im_end... | Display current system's kernel name, kernel release and version, and machine architecture | uname -srvm | GWHed/nl2bash |
<|im_start|>system
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 differences between /destination/dir/1 and /destination/dir/2 excluding files that match any pattern in file "exclude.pats".<|im_end|>... | Display differences between /destination/dir/1 and /destination/dir/2 excluding files that match any pattern in file "exclude.pats". | diff /destination/dir/1 /destination/dir/2 -r -X exclude.pats | GWHed/nl2bash |
<|im_start|>system
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 differences between /destination/dir/1 and /destination/dir/2 excluding files with names ending with extensions '.foo', '.bar' and '.b... | Display differences between /destination/dir/1 and /destination/dir/2 excluding files with names ending with extensions '.foo', '.bar' and '.baz' | diff -x '*.foo' -x '*.bar' -x '*.baz' /destination/dir/1 /destination/dir/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 differences between /destination/dir/1 and /destination/dir/2 excluding XML files.<|im_end|>
<|im_start|>assistant
diff /destination/d... | Display differences between /destination/dir/1 and /destination/dir/2 excluding XML files. | diff /destination/dir/1 /destination/dir/2 -r -x *.xml | GWHed/nl2bash |
<|im_start|>system
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 differences between /tmp/test1 and /tmp/test2.<|im_end|>
<|im_start|>assistant
diff /tmp/test1 /tmp/test2<|im_end|> | Display differences between /tmp/test1 and /tmp/test2. | diff /tmp/test1 /tmp/test2 | GWHed/nl2bash |
<|im_start|>system
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 differences between /tmp/test1 and /tmp/test2 side-by-side.<|im_end|>
<|im_start|>assistant
diff -y /tmp/test1 /tmp/test2<|im_end|> | Display differences between /tmp/test1 and /tmp/test2 side-by-side. | diff -y /tmp/test1 /tmp/test2 | GWHed/nl2bash |
<|im_start|>system
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 differences between a and b side-by-side<|im_end|>
<|im_start|>assistant
diff -y a b<|im_end|> | Display differences between a and b side-by-side | diff -y a b | GWHed/nl2bash |
<|im_start|>system
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 differences between directories dir1 and dir2.<|im_end|>
<|im_start|>assistant
diff -r dir1 dir2<|im_end|> | Display differences between directories dir1 and dir2. | diff -r dir1 dir2 | GWHed/nl2bash |
<|im_start|>system
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 differences between directories dir1 and dir2.<|im_end|>
<|im_start|>assistant
diff -r dir1/ dir2/<|im_end|> | Display differences between directories dir1 and dir2. | diff -r dir1/ dir2/ | GWHed/nl2bash |
<|im_start|>system
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 differences between directories dir1 and dir2, treating absent files as empty.<|im_end|>
<|im_start|>assistant
diff -Naur dir1/ dir2/<... | Display differences between directories dir1 and dir2, treating absent files as empty. | diff -Naur dir1/ dir2/ | GWHed/nl2bash |
<|im_start|>system
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 differences between files "a.txt" and "b.txt" side-by-side and do not output common lines.<|im_end|>
<|im_start|>assistant
diff -a --s... | Display differences between files "a.txt" and "b.txt" side-by-side and do not output common lines. | diff -a --suppress-common-lines -y a.txt b.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display differences between files dir1.txt and dir2.txt.<|im_end|>
<|im_start|>assistant
diff dir1.txt dir2.txt<|im_end|> | Display differences between files dir1.txt and dir2.txt. | diff dir1.txt dir2.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display difference between one.txt and two.txt side-by-side.<|im_end|>
<|im_start|>assistant
diff -y one.txt two.txt<|im_end|> | Display difference between one.txt and two.txt side-by-side. | diff -y one.txt two.txt | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display differences in "/tmp/ksh-9725.log" when compared to "/tmp/ksh-9781.log"<|im_end|>
<|im_start|>assistant
diff /tmp/ksh-{9725,9781}.log ... | Display differences in "/tmp/ksh-9725.log" when compared to "/tmp/ksh-9781.log" | diff /tmp/ksh-{9725,9781}.log | grep ^\< | GWHed/nl2bash |
<|im_start|>system
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 the directory name along with the modified time for all the files /var<|im_end|>
<|im_start|>assistant
find /var -maxdepth 2 -type d ... | display the directory name along with the modified time for all the files /var | find /var -maxdepth 2 -type d -printf "%p %TY-%Tm-%Td %TH:%TM:%TS %Tz\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 the entire file system in a tree-like format<|im_end|>
<|im_start|>assistant
tree /<|im_end|> | Display the entire file system in a tree-like format | tree / | GWHed/nl2bash |
<|im_start|>system
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 the files along with the size of all the files in the current which are bigger than 100MB<|im_end|>
<|im_start|>assistant
find . -size... | display the files along with the size of all the files in the current which are bigger than 100MB | find . -size +100M -exec ls -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
Display the files/directories under current directory tree matching the regex '/$prefix$ypatt' where $prefix and $ypatt expands in the current... | Display the files/directories under current directory tree matching the regex '/$prefix$ypatt' where $prefix and $ypatt expands in the current shell | find . -print | grep "/${prefix}${ypatt}" | GWHed/nl2bash |
<|im_start|>system
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 files ending with ".ext" in current folder which are present in the file "foo"<|im_end|>
<|im_start|>assistant
find . -type f -name \*... | display files ending with ".ext" in current folder which are present in the file "foo" | find . -type f -name \*.ext | xargs grep foo | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
display files in current folder ending with "pdf" or "PDF"<|im_end|>
<|im_start|>assistant
find . -name '*.pdf' -or -name '*.PDF'<|im_end|> | display files in current folder ending with "pdf" or "PDF" | find . -name '*.pdf' -or -name '*.PDF' | GWHed/nl2bash |
<|im_start|>system
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 the file name and creation month of top 11 files in the entire file system<|im_end|>
<|im_start|>assistant
find / -type f -printf "\n%... | display the file name and creation month of top 11 files in the entire file system | find / -type f -printf "\n%Ab %p" | head -n 11 | GWHed/nl2bash |
<|im_start|>system
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 the file name and the file type of all the files in the current directory<|im_end|>
<|im_start|>assistant
find . -printf "%y %p\n"<|im... | display the file name and the file type of all the files in the current directory | find . -printf "%y %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 the file size of file '/data/sflow_log' in bytes<|im_end|>
<|im_start|>assistant
du -sb /data/sflow_log | cut -f1<|im_end|> | Display the file size of file '/data/sflow_log' in bytes | du -sb /data/sflow_log | cut -f1 | GWHed/nl2bash |
<|im_start|>system
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 file type description of 'file-name' based on contents.<|im_end|>
<|im_start|>assistant
file file-name<|im_end|> | Display file type description of 'file-name' based on contents. | file file-name | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Display the file type description of /bin/bash, ie. symbolic link, ELF executable, etc.<|im_end|>
<|im_start|>assistant
$ file /bin/bash<|im_e... | Display the file type description of /bin/bash, ie. symbolic link, ELF executable, etc. | $ file /bin/bash | GWHed/nl2bash |
<|im_start|>system
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 file type information for all instances of "file" in the current PATH.<|im_end|>
<|im_start|>assistant
which file | xargs file<|im_end... | Display file type information for all instances of "file" in the current PATH. | which file | xargs file | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.