[System] 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.

[User] show me how to zip the reports folder into reports.zip

[Assistant] zip -r reports.zip reports


[System] 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.

[User] can you move draft.txt to final.txt

[Assistant] mv draft.txt final.txt


[System] 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.

[User] I want to force kill all processes named node

[Assistant] pkill -9 node


[System] 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.

[User] copy report.pdf to the backups folder

[Assistant] cp report.pdf backups/


[System] 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.

[User] commit with the message initial commit

[Assistant] git commit -m 'initial commit'


[System] 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.

[User] I want to make the script deploy.sh executable

[Assistant] chmod +x deploy.sh


[System] 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.

[User] please create a gzip tar archive of the src folder named src.tar.gz

[Assistant] tar -czf src.tar.gz src


[System] 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.

[User] remove the empty directory called old

[Assistant] rmdir old


[System] 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.

[User] I want to show currently running processes

[Assistant] ps aux


[System] 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.

[User] command to find the process listening on port 8080

[Assistant] lsof -i :8080


[System] 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.

[User] please set an environment variable named API_KEY to abc123 for this session

[Assistant] export API_KEY=abc123


[System] 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.

[User] please show the current user

[Assistant] whoami


[System] 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.

[User] show me how to list files sorted by size, largest first

[Assistant] ls -lS


[System] 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.

[User] how do I show the 10 largest files under the current directory

[Assistant] find . -type f -exec du -h {} + | sort -rh | head -n 10


[System] 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.

[User] command to print the value of the PATH environment variable

[Assistant] echo $PATH


[System] 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.

[User] I want to print lines 10 through 20 of file.txt

[Assistant] sed -n '10,20p' file.txt


[System] 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.

[User] how do I extract the archive backup.tar.gz

[Assistant] tar -xzf backup.tar.gz


[System] 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.

[User] clear the terminal screen

[Assistant] clear


[System] 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.

[User] please print the value of the PATH environment variable

[Assistant] echo $PATH


[System] 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.

[User] can you discard all uncommitted changes in the working tree

[Assistant] git checkout -- .


[System] 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.

[User] make all .sh files in the current directory executable

[Assistant] chmod +x *.sh


[System] 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.

[User] can you recursively change ownership of the app folder to user deploy

[Assistant] chown -R deploy app


[System] 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.

[User] find files with permission 777

[Assistant] find . -type f -perm 777


[System] 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.

[User] please find files with permission 777

[Assistant] find . -type f -perm 777


[System] 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.

[User] show lines that do not contain the word debug in app.log

[Assistant] grep -v 'debug' app.log


[System] 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.

[User] how do I count occurrences of each unique line in items.txt

[Assistant] sort items.txt | uniq -c