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
Archive showing progress all files in "/media/2TB\ Data/data/music/" to "/media/wd/network_sync/music/" excluding files matching "*.VOB", "*.a... | Archive showing progress all files in "/media/2TB\ Data/data/music/" to "/media/wd/network_sync/music/" excluding files matching "*.VOB", "*.avi", "*.mkv", "*.ts", "*.mpg", "*.iso", "*ar", "*.vob", "*.BUP", "*.cdi", "*.ISO", "*.shn", "*.MPG", "*.AVI", "*.DAT", "*.img", "*.nrg", "*.cdr", "*.bin", "*.MOV", "*.goutputs*",... | rsync -av --progress --exclude=*.VOB --exclude=*.avi --exclude=*.mkv --exclude=*.ts --exclude=*.mpg --exclude=*.iso --exclude=*ar --exclude=*.vob --exclude=*.BUP --exclude=*.cdi --exclude=*.ISO --exclude=*.shn --exclude=*.MPG --exclude=*.AVI --exclude=*.DAT --exclude=*.img --exclude=*.nrg --exclude=*.cdr --exclude=*.bi... | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
As root, edit the cron job list of user "apache" using the editor specified by EDITOR environment variable, or default /usr/bin/editor if this... | As root, edit the cron job list of user "apache" using the editor specified by EDITOR environment variable, or default /usr/bin/editor if this variable is not set. | sudo crontab -e -u apache | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
as root, find from / all files called "file.txt"<|im_end|>
<|im_start|>assistant
sudo find / -name file.txt<|im_end|> | as root, find from / all files called "file.txt" | sudo find / -name file.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
ask user confirmation and delete all the files in the directory /mydir which have not been accessed in the last 100*24 hours<|im_end|>
<|im_st... | ask user confirmation and delete all the files in the directory /mydir which have not been accessed in the last 100*24 hours | find /mydir -atime +100 -ok rm {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Assign permissions 644 to files in the current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -print0 | xargs -0 chmod 644<|im_... | Assign permissions 644 to files in the current directory tree | find . -type f -print0 | xargs -0 chmod 644 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Assign permissions 755 to directories in the current directory tree<|im_end|>
<|im_start|>assistant
find . -type d -print0 | xargs -0 chmod 75... | Assign permissions 755 to directories in the current directory tree | find . -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
Attempt to connect as root to localhost and copy /home/reportuser/dailyReport.doc to directory /root/dailyReports/20150105/ - this will normal... | Attempt to connect as root to localhost and copy /home/reportuser/dailyReport.doc to directory /root/dailyReports/20150105/ - this will normally fail because ssh won't accept root connections by default. | scp -p /home/reportuser/dailyReport.doc root@localhost:/root/dailyReports/20150105/ | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Attempt to connect as root via ssh to host "IP" and copy /root/K to local machine, passing option "StrictHostKeyChecking=no" to the ssh backen... | Attempt to connect as root via ssh to host "IP" and copy /root/K to local machine, passing option "StrictHostKeyChecking=no" to the ssh backend - this will normally fail because ssh servers by default don't (and shouldn't) accept root logins. | scp -o StrictHostKeyChecking=no root@IP:/root/K | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory<|im_end|>
<|im_start|>a... | Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory | find /etc -name "*.txt" | xargs -I {} mv {} {}.bak | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory<|im_end|>
<|im_start|>a... | Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory | find /etc -print0 -name "*.txt" | xargs -I {} -0 mv {} {}.bak | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Backup all of the Java files in the current directory tree by copying them and appending the suffix .bk to each<|im_end|>
<|im_start|>assistan... | Backup all of the Java files in the current directory tree by copying them and appending the suffix .bk to each | find . -name "*.java" -exec cp {} {}.bk \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
bind key "\x61" to insert itself<|im_end|>
<|im_start|>assistant
bind $'"\x61"':self-insert<|im_end|> | bind key "\x61" to insert itself | bind $'"\x61"':self-insert | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
bind word "foobar" to key code "\e[24~"<|im_end|>
<|im_start|>assistant
bind '"\e[24~":"foobar"'<|im_end|> | bind word "foobar" to key code "\e[24~" | bind '"\e[24~":"foobar"' | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Build an "svn hotcopy" command for each subdirectory of /usr/local/svn/repos/<|im_end|>
<|im_start|>assistant
find /usr/local/svn/repos/ -maxd... | Build an "svn hotcopy" command for each subdirectory of /usr/local/svn/repos/ | find /usr/local/svn/repos/ -maxdepth 1 -mindepth 1 -type d -printf "%f\0" | xargs -0 -I{} echo svnadmin hotcopy /usr/local/svn/repos/\{\} /usr/local/backup/\{\} | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate and show md5 sums for every files under current directory tree<|im_end|>
<|im_start|>assistant
find . -type f -exec md5sum \{\} \;<|... | Calculate and show md5 sums for every files under current directory tree | find . -type f -exec md5sum \{\} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate and show md5 sums for every files under current directory tree<|im_end|>
<|im_start|>assistant
find . | xargs md5sum<|im_end|> | Calculate and show md5 sums for every files under current directory tree | find . | xargs md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
calculate the disk usage for all the files which have been modified in the last 24 hours in ~/tmp folder and display the file sizes<|im_end|>
... | calculate the disk usage for all the files which have been modified in the last 24 hours in ~/tmp folder and display the file sizes | find ~/tmp -mtime 0 -exec du -ks {} \; | 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
Calculate md5 checksum of $line and save to variable 'md5'<|im_end|>
<|im_start|>assistant
md5=$(echo "$line"|md5sum)<|im_end|> | Calculate md5 checksum of $line and save to variable 'md5' | md5=$(echo "$line"|md5sum) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 checksum of '/etc/localtime' and save the first space separated part in variable 'checksum'<|im_end|>
<|im_start|>assistant
chec... | Calculate md5 checksum of '/etc/localtime' and save the first space separated part in variable 'checksum' | checksum=`md5sum /etc/localtime | cut -d' ' -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
Calculate the md5 checksum of the current directory structure and save it in variable SUM<|im_end|>
<|im_start|>assistant
SUM=$(tree | md5sum)... | Calculate the md5 checksum of the current directory structure and save it in variable SUM | SUM=$(tree | md5sum) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 checksum of the list of all files/dirs in /path recursively including dot files and excluding the patterns 'run', 'sys', 'tmp' a... | Calculate md5 checksum of the list of all files/dirs in /path recursively including dot files and excluding the patterns 'run', 'sys', 'tmp' and 'proc', then check the checksum against the checksum saved in /tmp/file | ls -alR -I dev -I run -I sys -I tmp -I proc /path | md5sum -c /tmp/file | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 checksum of theDirname<|im_end|>
<|im_start|>assistant
cpio -i -e theDirname | md5sum<|im_end|> | Calculate md5 checksum of theDirname | cpio -i -e theDirname | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 sums for each files matching 'main.cpp*'<|im_end|>
<|im_start|>assistant
md5sum main.cpp*<|im_end|> | Calculate md5 sums for each files matching 'main.cpp*' | md5sum main.cpp* | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of "a"<|im_end|>
<|im_start|>assistant
echo "a" | md5sum<|im_end|> | Calculate the md5 sum of "a" | echo "a" | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of "exampleString"<|im_end|>
<|im_start|>assistant
echo -n 'exampleString' | md5sum<|im_end|> | Calculate the md5 sum of "exampleString" | echo -n 'exampleString' | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of "password"<|im_end|>
<|im_start|>assistant
echo "password" | md5sum<|im_end|> | Calculate the md5 sum of "password" | echo "password" | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of "yourstring"<|im_end|>
<|im_start|>assistant
echo -n "yourstring" |md5sum<|im_end|> | Calculate the md5 sum of "yourstring" | echo -n "yourstring" |md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of all ".py" files in "/your/dir" including content and filenames<|im_end|>
<|im_start|>assistant
grep -ar -e . --includ... | Calculate the md5 sum of all ".py" files in "/your/dir" including content and filenames | grep -ar -e . --include="*.py" /your/dir | md5sum | cut -c-32 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of all *.py files in the current directory<|im_end|>
<|im_start|>assistant
cat *.py | md5sum<|im_end|> | Calculate the md5 sum of all *.py files in the current directory | cat *.py | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of all files in "/your/dir" including content and filenames and following symbolic links<|im_end|>
<|im_start|>assistant... | Calculate the md5 sum of all files in "/your/dir" including content and filenames and following symbolic links | grep -aR -e . /your/dir | md5sum | cut -c-32 | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of all the file metadata in the current directory tree excluding ".svn"<|im_end|>
<|im_start|>assistant
find . -name '.s... | Calculate the md5 sum of all the file metadata in the current directory tree excluding ".svn" | find . -name '.svn' -prune -o -type f -printf '%m%c%p' | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the contents of "$FILES"<|im_end|>
<|im_start|>assistant
cat $FILES | md5sum<|im_end|> | Calculate the md5 sum of the contents of "$FILES" | cat $FILES | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the contents of all files sorted in directory tree "/path"<|im_end|>
<|im_start|>assistant
find /path -type f | sort ... | Calculate the md5 sum of the contents of all files sorted in directory tree "/path" | find /path -type f | sort -u | xargs cat | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of every ".py" file in directory tree "/path"<|im_end|>
<|im_start|>assistant
find /path -type f -name "*.py" -exec md5s... | Calculate the md5 sum of every ".py" file in directory tree "/path" | find /path -type f -name "*.py" -exec md5sum "{}" +; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the file "filename" and print only the hash<|im_end|>
<|im_start|>assistant
md5sum filename |cut -f 1 -d " "<|im_end|... | Calculate the md5 sum of the file "filename" and print only the hash | md5sum filename |cut -f 1 -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
Calculate md5 sum of file $ecriv<|im_end|>
<|im_start|>assistant
md5sum "$ecriv"<|im_end|> | Calculate md5 sum of file $ecriv | md5sum "$ecriv" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 sum of file $item and save it to variable 'md5'<|im_end|>
<|im_start|>assistant
md5=$(md5sum $item | cut -f1 -d\ )<|im_end|> | Calculate md5 sum of file $item and save it to variable 'md5' | md5=$(md5sum $item | cut -f1 -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
Calculate md5 sum of files $source_file and $dest_file<|im_end|>
<|im_start|>assistant
md5sum "$source_file" "$dest_file"<|im_end|> | Calculate md5 sum of files $source_file and $dest_file | md5sum "$source_file" "$dest_file" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5'<|im_end|>
<|im_start|>assistant
md5="$(md5sum "${my_iso_file}")"<|im_en... | Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5' | md5="$(md5sum "${my_iso_file}")" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5'<|im_end|>
<|im_start|>assistant
md5=`md5sum ${my_iso_file} | cut -b-32`... | Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5' | md5=`md5sum ${my_iso_file} | cut -b-32` | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of hex byte 61<|im_end|>
<|im_start|>assistant
echo -n -e '\x61' | md5sum<|im_end|> | Calculate the md5 sum of hex byte 61 | echo -n -e '\x61' | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the md5 sum of all the files sorted under "$path"<|im_end|>
<|im_start|>assistant
find "$path" -type f -print0 | sort... | Calculate the md5 sum of the md5 sum of all the files sorted under "$path" | find "$path" -type f -print0 | sort -z | xargs -r0 md5sum | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the output of "du -csxb /path" and compare it against the md5 sum saved in "file"<|im_end|>
<|im_start|>assistant
du ... | Calculate the md5 sum of the output of "du -csxb /path" and compare it against the md5 sum saved in "file" | du -csxb /path | md5sum -c file | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5 sum of the tar archive of "dir"<|im_end|>
<|im_start|>assistant
tar c dir | md5sum<|im_end|> | Calculate the md5 sum of the tar archive of "dir" | tar c dir | md5sum | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5sum of all the files with name "MyCProgram.c", ignoring case<|im_end|>
<|im_start|>assistant
find -iname "MyCProgram.c" -exec... | Calculate the md5sum of all the files with name "MyCProgram.c", ignoring case | find -iname "MyCProgram.c" -exec md5sum {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5sum of the executable file of command "cc"<|im_end|>
<|im_start|>assistant
md5sum $(which cc)<|im_end|> | Calculate the md5sum of the executable file of command "cc" | md5sum $(which cc) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5sum of the executable file of command "gcc"<|im_end|>
<|im_start|>assistant
md5sum $(which gcc)<|im_end|> | Calculate the md5sum of the executable file of command "gcc" | md5sum $(which gcc) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Calculate the md5sum of the executable file of command 'c++'<|im_end|>
<|im_start|>assistant
md5sum `which c++`<|im_end|> | Calculate the md5sum of the executable file of command 'c++' | md5sum `which 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
Case-insensitive search all existing environment variables and their values for "shell".<|im_end|>
<|im_start|>assistant
env | grep -i shell<|... | Case-insensitive search all existing environment variables and their values for "shell". | env | grep -i shell | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change all "JPG" filename suffixes in current directory to "jpeg".<|im_end|>
<|im_start|>assistant
rename -v 's/\.JPG/\.jpeg/' *.JPG<|im_end|> | Change all "JPG" filename suffixes in current directory to "jpeg". | rename -v 's/\.JPG/\.jpeg/' *.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
Change all directories under "./bootstrap/cache/" to owner "apache" and group "laravel"<|im_end|>
<|im_start|>assistant
sudo find ./bootstrap/... | Change all directories under "./bootstrap/cache/" to owner "apache" and group "laravel" | sudo find ./bootstrap/cache/ -type d -exec chown apache:laravel {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change all directories under "./storage/" to owner "apache" and group "laravel"<|im_end|>
<|im_start|>assistant
sudo find ./storage/ -type d -... | Change all directories under "./storage/" to owner "apache" and group "laravel" | sudo find ./storage/ -type d -exec chown apache:laravel {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change all files in "~" which are owned by the group "vboxusers" to be owned by the user group "kent"<|im_end|>
<|im_start|>assistant
find ~ -... | Change all files in "~" which are owned by the group "vboxusers" to be owned by the user group "kent" | find ~ -group vboxusers -exec chown kent:kent {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change all files in the current directory tree to owner "xx"<|im_end|>
<|im_start|>assistant
find . \( \! -user xx -exec chown -- xx '{}' + -f... | Change all files in the current directory tree to owner "xx" | find . \( \! -user xx -exec chown -- xx '{}' + -false \) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change all file permissions to 664 and all directory permissions to 775 in directory tree "htdocs"<|im_end|>
<|im_start|>assistant
find htdocs... | Change all file permissions to 664 and all directory permissions to 775 in directory tree "htdocs" | find htdocs -type f -exec chmod 664 {} + -o -type d -exec chmod 775 {} + | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change cgi files to mode 755<|im_end|>
<|im_start|>assistant
find htdocs cgi-bin -name "*.cgi" -type f -exec chmod 755 {} \;<|im_end|> | change cgi files to mode 755 | find htdocs cgi-bin -name "*.cgi" -type f -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
Change directory to "$dir1" and resolve any symlinks in the resulting path<|im_end|>
<|im_start|>assistant
cd -P "$dir1"<|im_end|> | Change directory to "$dir1" and resolve any symlinks in the resulting path | cd -P "$dir1" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to "/lib/modules/" of the current kernel release<|im_end|>
<|im_start|>assistant
cd /lib/modules/$(uname -r)/<|im_end|> | Change directory to "/lib/modules/" of the current kernel release | cd /lib/modules/$(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
Change directory to "/path/to/pdf"<|im_end|>
<|im_start|>assistant
cd /path/to/pdf<|im_end|> | Change directory to "/path/to/pdf" | cd /path/to/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
Change directory to the "lib" directory located two parent directories above the path to command "perl"<|im_end|>
<|im_start|>assistant
cd $(d... | Change directory to the "lib" directory located two parent directories above the path to command "perl" | cd $(dirname $(dirname $(which perl)))/lib | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the alphabetically last path under the current directory<|im_end|>
<|im_start|>assistant
cd "$(find . -print0 | sort -z | ... | Change directory to the alphabetically last path under the current directory | cd "$(find . -print0 | sort -z | tr '\0' '\n' | tail -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
Change directory to the basename of "$1" with ".tar.gz" removed<|im_end|>
<|im_start|>assistant
cd $(basename $1 .tar.gz)<|im_end|> | Change directory to the basename of "$1" with ".tar.gz" removed | cd $(basename $1 .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
Change directory to the current user's home directory<|im_end|>
<|im_start|>assistant
cd /home/`whoami`<|im_end|> | Change directory to the current user's home directory | cd /home/`whoami` | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the directory containing the "oracle" executable<|im_end|>
<|im_start|>assistant
cd "$(dirname $(which oracle))"<|im_end|> | Change directory to the directory containing the "oracle" executable | cd "$(dirname $(which oracle))" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the directory containing the "oracle" executable<|im_end|>
<|im_start|>assistant
cd $(dirname $(which oracle))<|im_end|> | Change directory to the directory containing the "oracle" executable | cd $(dirname $(which oracle)) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the directory containing the "oracle" executable<|im_end|>
<|im_start|>assistant
cd $(dirname `which oracle`)<|im_end|> | Change directory to the directory containing the "oracle" executable | cd $(dirname `which oracle`) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the directory containing the current script<|im_end|>
<|im_start|>assistant
cd $(dirname $(which $0) )<|im_end|> | Change directory to the directory containing the current script | cd $(dirname $(which $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
Change directory to the directory containing the executable file of command "oracle"<|im_end|>
<|im_start|>assistant
cd $(which oracle | xargs... | Change directory to the directory containing the executable file of command "oracle" | cd $(which oracle | xargs dirname) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the directory containing file path "$1"<|im_end|>
<|im_start|>assistant
cd "$(dirname "$1")"<|im_end|> | Change directory to the directory containing file path "$1" | cd "$(dirname "$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
Change directory to the download directory specified in the current user's user-dirs.dirs file<|im_end|>
<|im_start|>assistant
cd "$(grep DOWN... | Change directory to the download directory specified in the current user's user-dirs.dirs file | cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -d "=" | tr "\"" "\n" | tr -d "\n")" | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the download directory specified in the current user's user-dirs.dirs file<|im_end|>
<|im_start|>assistant
cd "$(grep DOWN... | Change directory to the download directory specified in the current user's user-dirs.dirs file | cd "$(grep DOWNLOAD $HOME/.config/user-dirs.dirs | cut -f 2 -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
Change directory to the output of command '~/marker.sh go "$@"'<|im_end|>
<|im_start|>assistant
cd $( ~/marker.sh go "$@" )<|im_end|> | Change directory to the output of command '~/marker.sh go "$@"' | cd $( ~/marker.sh go "$@" ) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to parent directory and do not resolve any symlinks in the resulting path<|im_end|>
<|im_start|>assistant
cd -L ..<|im_end|> | Change directory to parent directory and do not resolve any symlinks in the resulting path | cd -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
Change directory to the real path of the current working directory of process "$PID"<|im_end|>
<|im_start|>assistant
cd $(readlink /proc/$PID/... | Change directory to the real path of the current working directory of process "$PID" | cd $(readlink /proc/$PID/cwd) | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change directory to the real path of the directory containing the current script<|im_end|>
<|im_start|>assistant
cd $(readlink -f $(dirname $0... | Change directory to the real path of the directory containing the current script | cd $(readlink -f $(dirname $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
Change directory to the user's home directory<|im_end|>
<|im_start|>assistant
cd<|im_end|> | Change directory to the user's home directory | cd | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change the extension of all the ".lst" files in the current folder to "a.lst"<|im_end|>
<|im_start|>assistant
find -name ‘*.lst’ -exec rename ... | change the extension of all the ".lst" files in the current folder to "a.lst" | find -name ‘*.lst’ -exec rename .lst a.lst {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change the extension of all the files in the current folder to html excluding those html files and those which are present in another disk par... | change the extension of all the files in the current folder to html excluding those html files and those which are present in another disk partition | find . -xtype f \! -iname *.html -exec mv -iv "{}" "{}.html" \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change file owner and group of "/path/to/yourapp" to root and print a diagnostic<|im_end|>
<|im_start|>assistant
chown -v root:root /path/to/y... | Change file owner and group of "/path/to/yourapp" to root and print a diagnostic | chown -v root:root /path/to/yourapp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change file permissions on all regular files within a directory<|im_end|>
<|im_start|>assistant
find /path/to/directory -type f -exec chmod 64... | Change file permissions on all regular files within a directory | find /path/to/directory -type f -exec chmod 644 {} + | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change folder to the one where $0 link target file is located.<|im_end|>
<|im_start|>assistant
cd $(dirname $(readlink -f $0))<|im_end|> | Change folder to the one where $0 link target file is located. | cd $(dirname $(readlink -f $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
change the group of all directories in the current folder<|im_end|>
<|im_start|>assistant
find . -type d -exec chgrp usergroup {} \;<|im_end|> | change the group of all directories in the current folder | find . -type d -exec chgrp usergroup {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change the group of all the files in the file system which belong to the group with the gid 999<|im_end|>
<|im_start|>assistant
find / -group ... | change the group of all the files in the file system which belong to the group with the gid 999 | find / -group 999 -exec chgrp NEWGROUP {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change the group of all the files which belong to the user edwarda to pubs<|im_end|>
<|im_start|>assistant
find / -user edwarda -exec chgrp pu... | change the group of all the files which belong to the user edwarda to pubs | find / -user edwarda -exec chgrp pubs "{}" \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change the group of all regular/normal files in the current directory<|im_end|>
<|im_start|>assistant
find . -type f -exec chgrp usergroup {} ... | change the group of all regular/normal files in the current directory | find . -type f -exec chgrp usergroup {} \; | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Changes the group of defined file.<|im_end|>
<|im_start|>assistant
chgrp<|im_end|> | Changes the group of defined file. | chgrp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change group of the file /var/lib/php/session to group lighttpd<|im_end|>
<|im_start|>assistant
chown -R :lighttpd /var/lib/php/session<|im_e... | change group of the file /var/lib/php/session to group lighttpd | chown -R :lighttpd /var/lib/php/session | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change group of the file myfile to group friends<|im_end|>
<|im_start|>assistant
chown :friends myfile<|im_end|> | change group of the file myfile to group friends | chown :friends 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
Changes group ownership of '/etc/btsync/[prefered conf name].conf' to 'btsync'.<|im_end|>
<|im_start|>assistant
chgrp btsync /etc/btsync/[pref... | Changes group ownership of '/etc/btsync/[prefered conf name].conf' to 'btsync'. | chgrp btsync /etc/btsync/[prefered conf 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
Changes group ownership of '/home/www-user/php_user.sh' to 'www-data'.<|im_end|>
<|im_start|>assistant
chgrp www-data /home/www-user/php_user... | Changes group ownership of '/home/www-user/php_user.sh' to 'www-data'. | chgrp www-data /home/www-user/php_user.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
Changes group ownership of '/var/run/fcgiwrap.socket' to 'forge'.<|im_end|>
<|im_start|>assistant
chgrp forge /var/run/fcgiwrap.socket<|im_end... | Changes group ownership of '/var/run/fcgiwrap.socket' to 'forge'. | chgrp forge /var/run/fcgiwrap.socket | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Changes group ownership of 'myprog' to 'groupb'.<|im_end|>
<|im_start|>assistant
chgrp groupb myprog<|im_end|> | Changes group ownership of 'myprog' to 'groupb'. | chgrp groupb myprog | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Changes group ownership of 'public' to 'pub'.<|im_end|>
<|im_start|>assistant
chgrp pub public<|im_end|> | Changes group ownership of 'public' to 'pub'. | chgrp pub public | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Changes group ownership of 'target_directory' to 'target_group'.<|im_end|>
<|im_start|>assistant
chgrp target_group target_directory<|im_end|> | Changes group ownership of 'target_directory' to 'target_group'. | chgrp target_group target_directory | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Changes group ownership of /sys/class/gpio/export and /sys/class/gpio/unexport to 'gpio'.<|im_end|>
<|im_start|>assistant
sudo chgrp gpio /sys... | Changes group ownership of /sys/class/gpio/export and /sys/class/gpio/unexport to 'gpio'. | sudo chgrp gpio /sys/class/gpio/export /sys/class/gpio/unexport | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
Change group ownership to `foo' for files with GID=2000<|im_end|>
<|im_start|>assistant
find / -group 2000 -exec chgrp -h foo {} \;<|im_end|> | Change group ownership to `foo' for files with GID=2000 | find / -group 2000 -exec chgrp -h 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
change the group to "new_group" and permissions to 770 for all the files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*... | change the group to "new_group" and permissions to 770 for all the files in the current folder | find . -name "*" -exec chgrp -v new_group '{}' \; -exec chmod -v 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
change the group to "new_group" and permissions to 770 for all the files in the current folder<|im_end|>
<|im_start|>assistant
find . -name "*... | change the group to "new_group" and permissions to 770 for all the files in the current folder | find . -name "*" \( -exec chgrp -v new_group {} \; -o -exec chmod -v 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
Change the group to `temp' for all files in the current directory tree that belong to group `root'<|im_end|>
<|im_start|>assistant
find . -gro... | Change the group to `temp' for all files in the current directory tree that belong to group `root' | find . -group root -print | xargs chgrp temp | GWHed/nl2bash |
<|im_start|>system
You are an expert shell programmer. Given a natural language request, output ONLY the corresponding shell command. No explanations.<|im_end|>
<|im_start|>user
change html files to mode 644<|im_end|>
<|im_start|>assistant
find /usr/local -name "*.html" -type f -exec chmod 644 {} \;<|im_end|> | change html files to mode 644 | find /usr/local -name "*.html" -type f -exec chmod 644 {} \; | GWHed/nl2bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.