messages listlengths 2 2 | source stringclasses 1
value | intent_type stringclasses 8
values | entities dict |
|---|---|---|---|
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nList all defined bash functions"
},
{
"role": "assistant",
"content": "set | egrep '^[^[:space:]]+ [(][)][[:space:]]*$' | sed -r -e 's/ [(][)][[:space:]]*$//'"
}
] | command-dataset-linux-bash | list_dependencies | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nChange permissions to 777 for all directories in the current directory tree"
},
{
"role": "assistant",
"content": "find . -type d -exec chmod 777 {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files (type f) and execute the command to move (mv) them and add the suffix \".new\" to the end of each file name."
},
{
"role": "assistant",
"content": "find . -type f -exec mv -v {} {}.new \\;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nExtract the second and seventh fields (separated by commas) from the file /proj/input/stats.csv and remove all newline characters."
},
{
"role": "assistant",
"content": "cut -d',' -f2,7 /proj/input/stats.csv | tr -d '\\n'... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrint each line in \"file1.txt\" that is not found in \"file2.txt\""
},
{
"role": "assistant",
"content": "sort file1.txt file2.txt file2.txt | uniq -u"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind files and directories modified in last 24 hours"
},
{
"role": "assistant",
"content": "find . -mtime 1"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind the first randomly selected file in the current directory and its subdirectories and print the filename if it contains any alphanumeric characters."
},
{
"role": "assistant",
"content": "grep -l '[[:alnum:]]' $(find ... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nUnzip files \"file1.gz\" and \"file2.gz\" as arguments to \"command -1 -2\""
},
{
"role": "assistant",
"content": "command -1 <(gzip -dc file1.gz) -2 <(gzip -dc file2.gz)"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files with the extension \".sh\" in the entire file system, take the first 20 results, and change the permissions to 700."
},
{
"role": "assistant",
"content": "find / -name '*.sh' | head -20 | xargs chmod 700"
... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nDelete the text matched by the regex '<script>if(window.*</script>' in all index.html files under current directory"
},
{
"role": "assistant",
"content": "find index.html | xargs -rt sed -i 's/<script>if(window.*</script>... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRead lookup requests from text file '1.txt' and uses them to fetch TXT records."
},
{
"role": "assistant",
"content": "dig TXT -f 1.txt"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all flies under current directory excluding *.png files and print the file paths (with match count) that match the case insensitive regex 'foo=' in their contents"
},
{
"role": "assistant",
"content": "find . -not -n... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMake directory \"/path/to/destination\""
},
{
"role": "assistant",
"content": "find bla -name *.so -print0 | sort -rz"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files under the current directory and copy their permissions to the same file in \"../version1\""
},
{
"role": "assistant",
"content": "find . -type f | xargs -I {} chmod --reference {} ../version1/{}"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nThis command prints the version of the awk program installed on the system."
},
{
"role": "assistant",
"content": "awk -W version"
}
] | command-dataset-linux-bash | check_version | {
"package": "awk",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files in the /home/user* directories, up to a maximum depth of 2 levels, and change the permissions to user read/write/execute, group read/write/execute, and others no access, for all files found."
},
{
"role": "assi... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nLaunch qutebrowser, opening all URLs using the specified method"
},
{
"role": "assistant",
"content": "qutebrowser --target auto|tab|tab-bg|tab-silent|tab-bg-silent|window|private-window"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files in the current directory and its subdirectories, calculate the MD5 checksum for each file, and print the results."
},
{
"role": "assistant",
"content": "find . -name '*.*' -exec md5sum {} +;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files on your system that are world writable"
},
{
"role": "assistant",
"content": "find / -wholename '/proc' -prune -o -type f -perm -0002 -exec ls -l {} ;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files in the current directory and its subdirectories, and execute the \"file\" command on each of them."
},
{
"role": "assistant",
"content": "find . -name '*.*' -exec file {} \\;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nReplace all spaces (' ') with comma (',') in ${TO_IGNORE[@]}, append with '--ignore ' and save the resultant string to variable 'ARGS'"
},
{
"role": "assistant",
"content": "ARGS=\"--ignore `echo ${TO_IGNORE[@]} | tr ' ' ... | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nlist all files under the current directory called cookies.txt"
},
{
"role": "assistant",
"content": "find -name cookies.txt"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRemove a package and its dependencies (includes AUR packages)"
},
{
"role": "assistant",
"content": "yaourt -Rs package"
}
] | command-dataset-linux-bash | remove_package | {
"package": "package",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files and change their permissions to 0644."
},
{
"role": "assistant",
"content": "find -type f -exec chmod 0644 {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRemove leading whitespace from the file named filename.txt"
},
{
"role": "assistant",
"content": "sed -e \"s/^[ \\t]*//g\" filename.txt"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrefix all files and directories in the current directory with \"Unix_\" if the files contain no whitespace or subdirectories"
},
{
"role": "assistant",
"content": "for FILENAME in *; do mv $FILENAME Unix_$FILENAME; done"... | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nchange owner of the files into directory \"/mydir\" with \".txt\" extension to user root"
},
{
"role": "assistant",
"content": "find /mydir -type f -name \"*.txt\" -execdir chown root {} ';'"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files in the root directory and set their permissions to 500 (read and execute only for the owner)."
},
{
"role": "assistant",
"content": "find / -type f -exec chmod 500 {} ;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCreate a symbolic link named \".profile\" to \"git-stuff/home/profile\" without dereferencing \".profile\""
},
{
"role": "assistant",
"content": "ln -sn git-stuff/home/profile .profile"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nGet the number of \"use\" statements in all PHP files, ordered"
},
{
"role": "assistant",
"content": "find . -type f -name \"*.php\" -exec grep --with-filename -c \"^use \" {} \\; | sort -t : -k 2 -n -r"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": "PHP",
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nGunzip all files matching \"file*.gz\" and answer \"n\" to any prompts"
},
{
"role": "assistant",
"content": "yes n | gunzip file*.gz"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nUpdate 'openssl' package to '2013.09' version."
},
{
"role": "assistant",
"content": "sudo yum --releasever=2013.09 update openssl"
}
] | command-dataset-linux-bash | update_dependencies | {
"package": "openssl",
"runtime": null,
"version": "2013.09"
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nStart a GUI version of tlmgr"
},
{
"role": "assistant",
"content": "tlmgr gui"
}
] | command-dataset-linux-bash | run_project | {
"package": "tlmgr",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nDisplay a long listing of all the files/directories under current directory tree that are newer than the file 'Nov' by modification time"
},
{
"role": "assistant",
"content": "find . -newer Nov -ls"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nArchive any files changed in the last day from \"remote_host\" to \"local_dir\""
},
{
"role": "assistant",
"content": "rsync -av remote_host:'$(find logs -type f -ctime -1)' local_dir"
}
] | command-dataset-linux-bash | run_project | {
"package": "rsync",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrint the list of all files in the current directory except for SVN, CVS, GIT, and binary files"
},
{
"role": "assistant",
"content": "find . -not ( -name .svn -prune -o -name .git -prune -o -name CVS -prune ) -type f -pr... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nfind all the directories in the different folders excluding search in the sub directories and create these folders in the current directory"
},
{
"role": "assistant",
"content": "find /media/New\\ Volume/bhajans -maxdepth... | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCase-insensitive search all existing environment variables and their values for 'shell'."
},
{
"role": "assistant",
"content": "env | grep -i shell"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCreate directory `junk' in the home directory"
},
{
"role": "assistant",
"content": "find ~ -type d -exec mkdir junk {} ; 2> /dev/null"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\ndisplay content of files matching a pattern and sort the output"
},
{
"role": "assistant",
"content": "cat file*.txt | sort"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files/directories with 755 permission under current directory tree"
},
{
"role": "assistant",
"content": "find ./ -perm 755"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRemove sequence like '\\xEF\\xBB\\xBF' from first string of every file in a current folder and subfolders, creating backup file with .bak extension for every changed file, and removing backup on success."
},
{
"role": "assist... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nReplace spaces in directory names with underscores for all directories in the current directory tree"
},
{
"role": "assistant",
"content": "find -name \"* *\" -type d | rename 's/ /_/g'"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nChange the user to daisy for directories and subdirectories owned by harry"
},
{
"role": "assistant",
"content": "find . -type d -user harry -exec chown daisy {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nset alias \"cd-\" for command 'cd $(history -p !!:1)'"
},
{
"role": "assistant",
"content": "alias cd-='cd $(history -p !!:1)'"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nset alias \"X2\" for command \"| cut -d' ' -f2\""
},
{
"role": "assistant",
"content": "alias -g X2=\"| cut -d' ' -f2\""
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCreate a ssh key and store it in the file ~/.ssh/apache-rsync"
},
{
"role": "assistant",
"content": "ssh-keygen -f ~/.ssh/apache-rsync"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\ncreate a symbolic link named \"www\" to file \"www1\""
},
{
"role": "assistant",
"content": "ln -s www1 www"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nExport variable \"JAVA_HOME\" as symlink resolved absolute path of two parent directories above \"/usr/bin/javac\""
},
{
"role": "assistant",
"content": "export JAVA_HOME=$(readlink -ze /usr/bin/javac | xargs -0 dirname -... | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": "java",
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files and change the permissions to remove write access for all users."
},
{
"role": "assistant",
"content": "find . -type f -exec chmod a-w {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nSet permissions of all files under \"/opt/lampp/htdocs\" to 644"
},
{
"role": "assistant",
"content": "find /opt/lampp/htdocs -type f -exec chmod 644 {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nUpdates openssl package."
},
{
"role": "assistant",
"content": "sudo yum update openssl"
}
] | command-dataset-linux-bash | update_dependencies | {
"package": "openssl",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nInterpret conf-file in the current shell, making all environment variables in this file available to future sub-processes."
},
{
"role": "assistant",
"content": "set -o allexport; source conf-file; set +o allexport"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind files in the /var/log folder which were modified between 60 minutes and 10 minutes ago"
},
{
"role": "assistant",
"content": "find /var/log/ -mmin -60 -mmin +10"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files that were last modified more than one day ago and delete them."
},
{
"role": "assistant",
"content": "find . -ctime +1 -exec rm -f {} ;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMove a randomly selected log file from the home directory to the /tmp/ directory."
},
{
"role": "assistant",
"content": "mv $(find ~ -type f -name \"*.log\" | shuf -n 1) /tmp/"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files/directories under directory '.cache/chromium/Default/Cache/' which are bigger than 100MB and which are atleast 1 level deep and delete them"
},
{
"role": "assistant",
"content": "find .cache/chromium/Defaul... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files in the current directory and its subdirectories, and convert all uppercase letters to lowercase letters."
},
{
"role": "assistant",
"content": "find . -iname '*' | xargs tr '[A-Z]' '[a-z]'"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind and show all files in the current directory tree that are smaller than 500 kB"
},
{
"role": "assistant",
"content": "find . -size -500k"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all directories in the root directory and give the user execute permission for each of them."
},
{
"role": "assistant",
"content": "find / -type d -exec chmod u+x {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nSet the read bit for \"other\" on all *rc.conf files in the current directory tree"
},
{
"role": "assistant",
"content": "split -b 10 input.txt /tmp/split-file"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nconcatenates file1.txt, file2.txt, and file3.txt with the filenames printed at the beginning of file contents"
},
{
"role": "assistant",
"content": "head -n99999999 file1.txt file2.txt file3.txt"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMake 3 directories named \"$HOME/Labs/lab4a/folder\" followed by a 3 width zero padded number from 1 to 3"
},
{
"role": "assistant",
"content": "find $HOME -maxdepth 1 -type f -name '.*' -print0"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files with a name ending in \".s@!2\" and compress them using gzip."
},
{
"role": "assistant",
"content": "find / -name \"*.s@!2*\" | xargs -I{} gzip {}"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRecursively change owner to \"amzadm\" and group to \"root\" of all files in \"/usr/lib/python2.6/site-packages/\""
},
{
"role": "assistant",
"content": "chown amzadm.root -R /usr/lib/python2.6/site-packages/"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": "python",
"version": "2.6"
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nInstall all the dependencies in this project's `composer.json` and create `composer.lock`"
},
{
"role": "assistant",
"content": "composer install"
}
] | command-dataset-linux-bash | install_package | {
"package": "all dependencies listed in composer.json",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nThe contents of the randomly selected text file:\nThis is a sample text file. It contains some text for testing purposes."
},
{
"role": "assistant",
"content": "cat $(ls *.txt | sort -R | head -1)"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind the most recently modified file in the entire file system (including subdirectories) that was modified within the last two days and print its modification time and path."
},
{
"role": "assistant",
"content": "find / ... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nReplace all characters that are not lowercase or uppercase letters with nothing in the output of a curl command to a random text generator website."
},
{
"role": "assistant",
"content": "`sed -i 's/[^a-z]*//gI' <(curl -s ... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nList all files and subdirectories in the current working directory recursively."
},
{
"role": "assistant",
"content": "`ls -laR $(pwd)`"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\ncreate directory aaa/bbb"
},
{
"role": "assistant",
"content": "mkdir aaa/bbb"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\ncreate symbolic links in directory \"folder2\" to all files located in current directory that filename not started with \".\""
},
{
"role": "assistant",
"content": "(IFS=$'\\n'; for t in `find -type f -name \"*txt*\" | se... | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nfind all the files which have been accessed after modifying the file /etc/hosts"
},
{
"role": "assistant",
"content": "find -anewer /etc/hosts"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nForce create a symbolc link named \"new_dir\" to \"/other/dir\" without dereferencing \"new_dir\""
},
{
"role": "assistant",
"content": "ln -sfn /other/dir new_dir"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files with the extension \".txt\" and give them execute permission for all users."
},
{
"role": "assistant",
"content": "find . -name \"*.txt\" -exec chmod a+x {} \\;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files with the extension \".tmp\" in the current directory and all subdirectories, and delete them."
},
{
"role": "assistant",
"content": "find ~ -name \".*tmp\" -type f -exec rm {} \\;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nList all *.txt files in <path> with details about their attributes"
},
{
"role": "assistant",
"content": "find <path> -xdev -type f -name *.txt -exec ls -l {} ;"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMake directory \"TestProject\""
},
{
"role": "assistant",
"content": "find . -type f | perl -ne 'print $1 if m/\\.([^.\\/]+)$/' | sort -u"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nWrap standard input to fit in 10 characters per line"
},
{
"role": "assistant",
"content": "fold -w 10"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrint each \".txt\" file in the current directory"
},
{
"role": "assistant",
"content": "paste --delimiter=\\n --serial *.txt"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nInstall one or more versions of Ruby"
},
{
"role": "assistant",
"content": "rvm install version1 version2 ..."
}
] | command-dataset-linux-bash | install_runtime | {
"package": "Ruby",
"runtime": "Ruby",
"version": "version1, version2"
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nSave the current user name and inode number of \"/home\" into bash array variable \"var\""
},
{
"role": "assistant",
"content": "var=( $(whoami && stat -c %i \"/home\") )"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind with combine multiple search criterias , in this command serach files that begin with abc in there name and dont have .py extension ."
},
{
"role": "assistant",
"content": "find . -type f -name 'abc*' ! -name '*.py'... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrint file type of the command \"c++\""
},
{
"role": "assistant",
"content": "file `which c++`"
}
] | command-dataset-linux-bash | run_project | {
"package": "c++",
"runtime": "c++",
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCreate a package without documentation"
},
{
"role": "assistant",
"content": "sudo checkinstall --nodoc"
}
] | command-dataset-linux-bash | install_package | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nSet read, write and execute permission for all (owner, group, other) for the files/directories in foldername directory tree"
},
{
"role": "assistant",
"content": "sudo find foldername -exec chmod a+rwx {} ;"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nfind all the zip files in the current folder"
},
{
"role": "assistant",
"content": "find . -type f -name '*.zip'"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMake directory \"mybuild\""
},
{
"role": "assistant",
"content": "mkdir mybuild"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nwhat command creates a directory called 'pictures'"
},
{
"role": "assistant",
"content": "mkdir pictures"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nsearch for the word \"nameserver\" in all the configuration files of the /etc folder"
},
{
"role": "assistant",
"content": "find /etc/ -type f -name \".conf\" -print0 | xargs -I {} -0 grep \"nameserver\" \"{}\""
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nDisplay the biggest file sizes only"
},
{
"role": "assistant",
"content": "find -type f -exec du -Sh {} + | sort -rh | head -n 5"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nCopy file or directory 'gtest' from directory 'include' in current directory to /usr/include, preserving ownerships and permissions."
},
{
"role": "assistant",
"content": "sudo cp -a include/gtest /usr/include"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nFind all files with the extension \".txt\" in the current directory and its subdirectories, and rename them by adding \".bak\" to the end of the filename."
},
{
"role": "assistant",
"content": "find . -iname \"*.txt\" -ex... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\ndisplay the version of find"
},
{
"role": "assistant",
"content": "find --version"
}
] | command-dataset-linux-bash | check_version | {
"package": "find",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nRecursively change the owner of npm's directories(lib/node_modules, bin and share) to the current user"
},
{
"role": "assistant",
"content": "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
... | command-dataset-linux-bash | setup_environment | {
"package": "npm",
"runtime": "Node",
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nPrint the file size and directory size in human readable format of the current directory tree 2 levels deep"
},
{
"role": "assistant",
"content": "tree --du -h -L 2"
}
] | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nSend a request to the website \"randomword.com\", take the first line of the response, echo it, remove all characters except A-Z, a-z, and 0-9, fold it into 7 characters, take the first line, echo it, and shuffle it to get one random... | command-dataset-linux-bash | run_project | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nAppend the `starship` integration code to `~/.bashrc`"
},
{
"role": "assistant",
"content": "starship init bash >> ~/.bashrc"
}
] | command-dataset-linux-bash | setup_environment | {
"package": "starship",
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nMake directory and parents as needed to \"$FINALPATH\""
},
{
"role": "assistant",
"content": "find \"$root\" -name \".[a-z]*\" -prune -o -type d -printf '%p:\""
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
[
{
"role": "user",
"content": "Write the Linux bash command for this task:\nrecursively change owner and group of the directory /vol/html and all files into it to user ec2-user and group apache"
},
{
"role": "assistant",
"content": "sudo chown -R ec2-user:apache /vol/html"
}
] | command-dataset-linux-bash | setup_environment | {
"package": null,
"runtime": null,
"version": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.