shellsmith-commands / valid.jsonl
ajayk007's picture
Upload valid.jsonl with huggingface_hub
8d92830 verified
Raw
History Blame Contribute Delete
10.5 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": "show me how to 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": "can you 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": "I want 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": "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": "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": "I want to 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 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": "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": "I want 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": "command 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": "please 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": "please 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 me how 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": "how do I 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": "command to 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": "I want to 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": "how do I 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": "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": "please 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": "can you 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": "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": "can you 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": "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": "please 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": "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": "how do I count occurrences of each unique line in items.txt"}, {"role": "assistant", "content": "sort items.txt | uniq -c"}]}