shellsmith-commands / train.jsonl
ajayk007's picture
Upload train.jsonl with huggingface_hub
5172319 verified
Raw
History Blame Contribute Delete
83.4 kB
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show the directory tree two levels deep"}, {"role": "assistant", "content": "find . -maxdepth 2 -print"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to rename all .txt files to .md in the current directory"}, {"role": "assistant", "content": "for f in *.txt; do mv \"$f\" \"${f%.txt}.md\"; done"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you unzip data.zip into the data directory"}, {"role": "assistant", "content": "unzip data.zip -d data"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show the current working directory"}, {"role": "assistant", "content": "pwd"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to replace all tabs with commas in data.txt and print to stdout"}, {"role": "assistant", "content": "tr '\\t' ',' < data.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you show disk usage of the current directory in human readable form"}, {"role": "assistant", "content": "du -sh ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "sort the lines of names.txt alphabetically"}, {"role": "assistant", "content": "sort names.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you show the first 20 lines of access.log"}, {"role": "assistant", "content": "head -n 20 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please download the file at https://example.com/data.zip"}, {"role": "assistant", "content": "curl -O https://example.com/data.zip"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to list files sorted by size, largest first"}, {"role": "assistant", "content": "ls -lS"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you pull the latest changes from origin main"}, {"role": "assistant", "content": "git pull origin main"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to sort the lines of names.txt alphabetically"}, {"role": "assistant", "content": "sort names.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to create nested directories src/utils/helpers"}, {"role": "assistant", "content": "mkdir -p src/utils/helpers"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you create a gzip tar archive of the src folder named src.tar.gz"}, {"role": "assistant", "content": "tar -czf src.tar.gz src"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "create a symbolic link named latest pointing to v2"}, {"role": "assistant", "content": "ln -s v2 latest"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show disk usage of the current directory in human readable form"}, {"role": "assistant", "content": "du -sh ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you create and switch to a new branch called feature"}, {"role": "assistant", "content": "git checkout -b feature"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show the first 20 lines of access.log"}, {"role": "assistant", "content": "head -n 20 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show the last 50 lines of access.log"}, {"role": "assistant", "content": "tail -n 50 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I list all files in the current directory including hidden ones"}, {"role": "assistant", "content": "ls -la"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I print the third column of a comma separated file data.csv"}, {"role": "assistant", "content": "cut -d',' -f3 data.csv"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show currently running processes"}, {"role": "assistant", "content": "ps aux"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to delete the file temp.log"}, {"role": "assistant", "content": "rm temp.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to find all files larger than 100 megabytes"}, {"role": "assistant", "content": "find . -type f -size +100M"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I repeat the ls command every 2 seconds"}, {"role": "assistant", "content": "watch -n 2 ls"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to find all files owned by root under /tmp"}, {"role": "assistant", "content": "find /tmp -user root"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show the git status"}, {"role": "assistant", "content": "git status"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show the last 50 lines of access.log"}, {"role": "assistant", "content": "tail -n 50 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "print hello world"}, {"role": "assistant", "content": "echo 'hello world'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show disk usage of the current directory in human readable form"}, {"role": "assistant", "content": "du -sh ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find and delete all .DS_Store files"}, {"role": "assistant", "content": "find . -name '.DS_Store' -delete"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to commit with the message initial commit"}, {"role": "assistant", "content": "git commit -m 'initial commit'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find which files contain the string api_key"}, {"role": "assistant", "content": "grep -rl 'api_key' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to download the file at https://example.com/data.zip"}, {"role": "assistant", "content": "curl -O https://example.com/data.zip"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "copy the src directory recursively to dist"}, {"role": "assistant", "content": "cp -r src dist"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "create nested directories src/utils/helpers"}, {"role": "assistant", "content": "mkdir -p src/utils/helpers"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please list the contents of archive.tar.gz without extracting"}, {"role": "assistant", "content": "tar -tzf archive.tar.gz"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show what changed in the last commit"}, {"role": "assistant", "content": "git show HEAD"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "replace foo with bar in config.txt in place"}, {"role": "assistant", "content": "sed -i '' 's/foo/bar/g' config.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "give the owner read write execute and others read on file.sh"}, {"role": "assistant", "content": "chmod 744 file.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find files modified in the last 24 hours"}, {"role": "assistant", "content": "find . -type f -mtime -1"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to kill the process with pid 1234"}, {"role": "assistant", "content": "kill 1234"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show how long the system has been up"}, {"role": "assistant", "content": "uptime"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to copy the src directory recursively to dist"}, {"role": "assistant", "content": "cp -r src dist"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you count the number of files in the current directory"}, {"role": "assistant", "content": "ls -1 | wc -l"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please copy report.pdf to the backups folder"}, {"role": "assistant", "content": "cp report.pdf backups/"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "make the script deploy.sh executable"}, {"role": "assistant", "content": "chmod +x deploy.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please count the number of words in notes.txt"}, {"role": "assistant", "content": "wc -w notes.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to force kill all processes named node"}, {"role": "assistant", "content": "pkill -9 node"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show my public ip address"}, {"role": "assistant", "content": "curl ifconfig.me"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "create a directory called build"}, {"role": "assistant", "content": "mkdir build"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to list only directories in the current folder"}, {"role": "assistant", "content": "ls -d */"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show memory usage"}, {"role": "assistant", "content": "top -l 1 | head -n 10"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please copy the src directory recursively to dist"}, {"role": "assistant", "content": "cp -r src dist"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you make a get request to https://api.example.com/health"}, {"role": "assistant", "content": "curl https://api.example.com/health"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to list files sorted by modification time, newest first"}, {"role": "assistant", "content": "ls -lt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please create a directory called build"}, {"role": "assistant", "content": "mkdir build"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "count the number of cpu cores"}, {"role": "assistant", "content": "sysctl -n hw.ncpu"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please create nested directories src/utils/helpers"}, {"role": "assistant", "content": "mkdir -p src/utils/helpers"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to commit with the message initial commit"}, {"role": "assistant", "content": "git commit -m 'initial commit'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show the current user"}, {"role": "assistant", "content": "whoami"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "zip the reports folder into reports.zip"}, {"role": "assistant", "content": "zip -r reports.zip reports"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the current date in YYYY-MM-DD format"}, {"role": "assistant", "content": "date +%Y-%m-%d"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to list the contents of archive.tar.gz without extracting"}, {"role": "assistant", "content": "tar -tzf archive.tar.gz"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please list only directories in the current folder"}, {"role": "assistant", "content": "ls -d */"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find empty files in the current directory tree"}, {"role": "assistant", "content": "find . -type f -empty"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to send a json post request to https://api.example.com/users"}, {"role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show the current date in YYYY-MM-DD format"}, {"role": "assistant", "content": "date +%Y-%m-%d"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show command history"}, {"role": "assistant", "content": "history"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please count the number of cpu cores"}, {"role": "assistant", "content": "sysctl -n hw.ncpu"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I count the number of words in notes.txt"}, {"role": "assistant", "content": "wc -w notes.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please list all files in the current directory including hidden ones"}, {"role": "assistant", "content": "ls -la"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you find files with permission 777"}, {"role": "assistant", "content": "find . -type f -perm 777"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show free disk space in human readable form"}, {"role": "assistant", "content": "df -h"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I kill the process with pid 1234"}, {"role": "assistant", "content": "kill 1234"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to count how many lines contain the word warning in app.log"}, {"role": "assistant", "content": "grep -c 'warning' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show currently running processes"}, {"role": "assistant", "content": "ps aux"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please find which files contain the string api_key"}, {"role": "assistant", "content": "grep -rl 'api_key' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "create a gzip tar archive of the src folder named src.tar.gz"}, {"role": "assistant", "content": "tar -czf src.tar.gz src"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you show how long the system has been up"}, {"role": "assistant", "content": "uptime"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please create an empty file called notes.txt"}, {"role": "assistant", "content": "touch notes.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show 3 lines of context around matches of 'panic' in server.log"}, {"role": "assistant", "content": "grep -C 3 'panic' server.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show the calendar for this month"}, {"role": "assistant", "content": "cal"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please print hello world"}, {"role": "assistant", "content": "echo 'hello world'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show memory usage"}, {"role": "assistant", "content": "top -l 1 | head -n 10"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find all files owned by root under /tmp"}, {"role": "assistant", "content": "find /tmp -user root"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "search for the word TODO in all files recursively"}, {"role": "assistant", "content": "grep -rn 'TODO' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "make a get request to https://api.example.com/health"}, {"role": "assistant", "content": "curl https://api.example.com/health"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show the size of each subdirectory in the current folder"}, {"role": "assistant", "content": "du -sh */"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please rename all .txt files to .md in the current directory"}, {"role": "assistant", "content": "for f in *.txt; do mv \"$f\" \"${f%.txt}.md\"; done"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "send a json post request to https://api.example.com/users"}, {"role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "count the number of words in notes.txt"}, {"role": "assistant", "content": "wc -w notes.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the manual page for the tar command"}, {"role": "assistant", "content": "man tar"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find the process listening on port 8080"}, {"role": "assistant", "content": "lsof -i :8080"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show 3 lines of context around matches of 'panic' in server.log"}, {"role": "assistant", "content": "grep -C 3 'panic' server.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to copy report.pdf to the backups folder"}, {"role": "assistant", "content": "cp report.pdf backups/"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show disk usage of the current directory in human readable form"}, {"role": "assistant", "content": "du -sh ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show free disk space in human readable form"}, {"role": "assistant", "content": "df -h"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you print hello world"}, {"role": "assistant", "content": "echo 'hello world'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "check if google.com is reachable with 4 pings"}, {"role": "assistant", "content": "ping -c 4 google.com"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "discard all uncommitted changes in the working tree"}, {"role": "assistant", "content": "git checkout -- ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you create a symbolic link named latest pointing to v2"}, {"role": "assistant", "content": "ln -s v2 latest"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the last 50 lines of access.log"}, {"role": "assistant", "content": "tail -n 50 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you print lines 10 through 20 of file.txt"}, {"role": "assistant", "content": "sed -n '10,20p' file.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you remove the empty directory called old"}, {"role": "assistant", "content": "rmdir old"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you print the value of the PATH environment variable"}, {"role": "assistant", "content": "echo $PATH"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please replace foo with bar in config.txt in place"}, {"role": "assistant", "content": "sed -i '' 's/foo/bar/g' config.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show my public ip address"}, {"role": "assistant", "content": "curl ifconfig.me"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please kill the process with pid 1234"}, {"role": "assistant", "content": "kill 1234"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please extract the archive backup.tar.gz"}, {"role": "assistant", "content": "tar -xzf backup.tar.gz"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show lines that do not contain the word debug in app.log"}, {"role": "assistant", "content": "grep -v 'debug' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show the manual page for the tar command"}, {"role": "assistant", "content": "man tar"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show the 10 largest files under the current directory"}, {"role": "assistant", "content": "find . -type f -exec du -h {} + | sort -rh | head -n 10"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to find and delete all .DS_Store files"}, {"role": "assistant", "content": "find . -name '.DS_Store' -delete"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "move draft.txt to final.txt"}, {"role": "assistant", "content": "mv draft.txt final.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "count how many lines contain the word warning in app.log"}, {"role": "assistant", "content": "grep -c 'warning' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please make all .sh files in the current directory executable"}, {"role": "assistant", "content": "chmod +x *.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I give the owner read write execute and others read on file.sh"}, {"role": "assistant", "content": "chmod 744 file.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to replace foo with bar in config.txt in place"}, {"role": "assistant", "content": "sed -i '' 's/foo/bar/g' config.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I make the script deploy.sh executable"}, {"role": "assistant", "content": "chmod +x deploy.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to find all python files under the current directory"}, {"role": "assistant", "content": "find . -name '*.py'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "stage all changes"}, {"role": "assistant", "content": "git add -A"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show what changed in the last commit"}, {"role": "assistant", "content": "git show HEAD"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "force kill all processes named node"}, {"role": "assistant", "content": "pkill -9 node"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please show the calendar for this month"}, {"role": "assistant", "content": "cal"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to create an empty file called notes.txt"}, {"role": "assistant", "content": "touch notes.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please show how long the system has been up"}, {"role": "assistant", "content": "uptime"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to replace all tabs with commas in data.txt and print to stdout"}, {"role": "assistant", "content": "tr '\\t' ',' < data.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please show memory usage"}, {"role": "assistant", "content": "top -l 1 | head -n 10"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to find the process listening on port 8080"}, {"role": "assistant", "content": "lsof -i :8080"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to list files sorted by modification time, newest first"}, {"role": "assistant", "content": "ls -lt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to count occurrences of each unique line in items.txt"}, {"role": "assistant", "content": "sort items.txt | uniq -c"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please make the script deploy.sh executable"}, {"role": "assistant", "content": "chmod +x deploy.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you follow access.log in real time"}, {"role": "assistant", "content": "tail -f access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you show the manual page for the tar command"}, {"role": "assistant", "content": "man tar"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show unique lines in items.txt"}, {"role": "assistant", "content": "sort items.txt | uniq"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to replace foo with bar in config.txt in place"}, {"role": "assistant", "content": "sed -i '' 's/foo/bar/g' config.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to count the number of cpu cores"}, {"role": "assistant", "content": "sysctl -n hw.ncpu"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "extract the archive backup.tar.gz"}, {"role": "assistant", "content": "tar -xzf backup.tar.gz"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "list the contents of archive.tar.gz without extracting"}, {"role": "assistant", "content": "tar -tzf archive.tar.gz"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please remove the empty directory called old"}, {"role": "assistant", "content": "rmdir old"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the git status"}, {"role": "assistant", "content": "git status"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show unique lines in items.txt"}, {"role": "assistant", "content": "sort items.txt | uniq"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "count occurrences of each unique line in items.txt"}, {"role": "assistant", "content": "sort items.txt | uniq -c"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "set an environment variable named API_KEY to abc123 for this session"}, {"role": "assistant", "content": "export API_KEY=abc123"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you find which files contain the string api_key"}, {"role": "assistant", "content": "grep -rl 'api_key' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to create a directory called build"}, {"role": "assistant", "content": "mkdir build"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "find all python files under the current directory"}, {"role": "assistant", "content": "find . -name '*.py'"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show the directory tree two levels deep"}, {"role": "assistant", "content": "find . -maxdepth 2 -print"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show how long the system has been up"}, {"role": "assistant", "content": "uptime"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to find files modified in the last 24 hours"}, {"role": "assistant", "content": "find . -type f -mtime -1"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show the current working directory"}, {"role": "assistant", "content": "pwd"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show lines that do not contain the word debug in app.log"}, {"role": "assistant", "content": "grep -v 'debug' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "list files sorted by modification time, newest first"}, {"role": "assistant", "content": "ls -lt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I stage all changes"}, {"role": "assistant", "content": "git add -A"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please force kill all processes named node"}, {"role": "assistant", "content": "pkill -9 node"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to clear the terminal screen"}, {"role": "assistant", "content": "clear"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to unzip data.zip into the data directory"}, {"role": "assistant", "content": "unzip data.zip -d data"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please count the number of files in the current directory"}, {"role": "assistant", "content": "ls -1 | wc -l"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to find empty files in the current directory tree"}, {"role": "assistant", "content": "find . -type f -empty"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I find empty files in the current directory tree"}, {"role": "assistant", "content": "find . -type f -empty"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to search for the word TODO in all files recursively"}, {"role": "assistant", "content": "grep -rn 'TODO' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I follow access.log in real time"}, {"role": "assistant", "content": "tail -f access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the last 5 commits in one line each"}, {"role": "assistant", "content": "git log --oneline -5"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to find all files owned by root under /tmp"}, {"role": "assistant", "content": "find /tmp -user root"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show the directory tree two levels deep"}, {"role": "assistant", "content": "find . -maxdepth 2 -print"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you show the last 5 commits in one line each"}, {"role": "assistant", "content": "git log --oneline -5"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to find which files contain the string api_key"}, {"role": "assistant", "content": "grep -rl 'api_key' ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the current user"}, {"role": "assistant", "content": "whoami"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the current working directory"}, {"role": "assistant", "content": "pwd"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to copy report.pdf to the backups folder"}, {"role": "assistant", "content": "cp report.pdf backups/"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I show the git status"}, {"role": "assistant", "content": "git status"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I zip the reports folder into reports.zip"}, {"role": "assistant", "content": "zip -r reports.zip reports"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "search for 'error' case-insensitively in app.log"}, {"role": "assistant", "content": "grep -i 'error' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I make all .sh files in the current directory executable"}, {"role": "assistant", "content": "chmod +x *.sh"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "rename all .txt files to .md in the current directory"}, {"role": "assistant", "content": "for f in *.txt; do mv \"$f\" \"${f%.txt}.md\"; done"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please pull the latest changes from origin main"}, {"role": "assistant", "content": "git pull origin main"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "repeat the ls command every 2 seconds"}, {"role": "assistant", "content": "watch -n 2 ls"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "command to show command history"}, {"role": "assistant", "content": "history"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "replace all tabs with commas in data.txt and print to stdout"}, {"role": "assistant", "content": "tr '\\t' ',' < data.txt"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to make a get request to https://api.example.com/health"}, {"role": "assistant", "content": "curl https://api.example.com/health"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the size of each subdirectory in the current folder"}, {"role": "assistant", "content": "du -sh */"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I search for 'error' case-insensitively in app.log"}, {"role": "assistant", "content": "grep -i 'error' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "list all files in the current directory including hidden ones"}, {"role": "assistant", "content": "ls -la"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please find empty files in the current directory tree"}, {"role": "assistant", "content": "find . -type f -empty"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "create and switch to a new branch called feature"}, {"role": "assistant", "content": "git checkout -b feature"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I find all files larger than 100 megabytes"}, {"role": "assistant", "content": "find . -type f -size +100M"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please send a json post request to https://api.example.com/users"}, {"role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the directory tree two levels deep"}, {"role": "assistant", "content": "find . -maxdepth 2 -print"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to check if google.com is reachable with 4 pings"}, {"role": "assistant", "content": "ping -c 4 google.com"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show the 10 largest files under the current directory"}, {"role": "assistant", "content": "find . -type f -exec du -h {} + | sort -rh | head -n 10"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please check if google.com is reachable with 4 pings"}, {"role": "assistant", "content": "ping -c 4 google.com"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to show the last 50 lines of access.log"}, {"role": "assistant", "content": "tail -n 50 access.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I create a directory called build"}, {"role": "assistant", "content": "mkdir build"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "how do I discard all uncommitted changes in the working tree"}, {"role": "assistant", "content": "git checkout -- ."}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "please create and switch to a new branch called feature"}, {"role": "assistant", "content": "git checkout -b feature"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "recursively change ownership of the app folder to user deploy"}, {"role": "assistant", "content": "chown -R deploy app"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "kill the process with pid 1234"}, {"role": "assistant", "content": "kill 1234"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to show the last 5 commits in one line each"}, {"role": "assistant", "content": "git log --oneline -5"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "I want to find the process listening on port 8080"}, {"role": "assistant", "content": "lsof -i :8080"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you count how many lines contain the word warning in app.log"}, {"role": "assistant", "content": "grep -c 'warning' app.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "delete the file temp.log"}, {"role": "assistant", "content": "rm temp.log"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "print the third column of a comma separated file data.csv"}, {"role": "assistant", "content": "cut -d',' -f3 data.csv"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "can you check if google.com is reachable with 4 pings"}, {"role": "assistant", "content": "ping -c 4 google.com"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to recursively change ownership of the app folder to user deploy"}, {"role": "assistant", "content": "chown -R deploy app"}]}
{"messages": [{"role": "system", "content": "You are a shell command generator for macOS/Linux. Given a task in plain English, reply with a single safe shell command that accomplishes it. Output only the command on one line, with no explanation and no markdown."}, {"role": "user", "content": "show me how to find files modified in the last 24 hours"}, {"role": "assistant", "content": "find . -type f -mtime -1"}]}