[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 directory tree two levels deep

[Assistant] find . -maxdepth 2 -print


[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 rename all .txt files to .md in the current directory

[Assistant] for f in *.txt; do mv "$f" "${f%.txt}.md"; done


[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 unzip data.zip into the data directory

[Assistant] unzip data.zip -d data


[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 current working directory

[Assistant] pwd


[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 replace all tabs with commas in data.txt and print to stdout

[Assistant] tr '\t' ',' < data.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] can you show disk usage of the current directory in human readable form

[Assistant] du -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] sort the lines of names.txt alphabetically

[Assistant] sort names.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] can you show the first 20 lines of access.log

[Assistant] head -n 20 access.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] please download the file at https://example.com/data.zip

[Assistant] curl -O https://example.com/data.zip


[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 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] can you pull the latest changes from origin main

[Assistant] git pull origin main


[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 sort the lines of names.txt alphabetically

[Assistant] sort names.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] command to create nested directories src/utils/helpers

[Assistant] mkdir -p src/utils/helpers


[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 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] create a symbolic link named latest pointing to v2

[Assistant] ln -s v2 latest


[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 disk usage of the current directory in human readable form

[Assistant] du -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 create and switch to a new branch called feature

[Assistant] git checkout -b feature


[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 show the first 20 lines of access.log

[Assistant] head -n 20 access.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] I want to show the last 50 lines of access.log

[Assistant] tail -n 50 access.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 list all files in the current directory including hidden ones

[Assistant] ls -la


[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 print the third column of a comma separated file data.csv

[Assistant] cut -d',' -f3 data.csv


[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 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] show me how to delete the file temp.log

[Assistant] rm temp.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] command to find all files larger than 100 megabytes

[Assistant] find . -type f -size +100M


[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 repeat the ls command every 2 seconds

[Assistant] watch -n 2 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] I want to find all files owned by root under /tmp

[Assistant] find /tmp -user root


[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 show the git status

[Assistant] git status


[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 show the last 50 lines of access.log

[Assistant] tail -n 50 access.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] print hello world

[Assistant] echo 'hello world'


[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 show disk usage of the current directory in human readable form

[Assistant] du -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] find and delete all .DS_Store files

[Assistant] find . -name '.DS_Store' -delete


[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 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] find which files contain the string api_key

[Assistant] grep -rl 'api_key' .


[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 download the file at https://example.com/data.zip

[Assistant] curl -O https://example.com/data.zip


[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 the src directory recursively to dist

[Assistant] cp -r src dist


[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] create nested directories src/utils/helpers

[Assistant] mkdir -p src/utils/helpers


[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 list the contents of archive.tar.gz without extracting

[Assistant] tar -tzf archive.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] show what changed in the last commit

[Assistant] git show HEAD


[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] replace foo with bar in config.txt in place

[Assistant] sed -i '' 's/foo/bar/g' config.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] give the owner read write execute and others read on file.sh

[Assistant] chmod 744 file.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] find files modified in the last 24 hours

[Assistant] find . -type f -mtime -1


[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 kill the process with pid 1234

[Assistant] kill 1234


[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 how long the system has been up

[Assistant] uptime


[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 copy the src directory recursively to dist

[Assistant] cp -r src dist


[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 count the number of files in the current directory

[Assistant] ls -1 | wc -l


[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 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] 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 count the number of words in notes.txt

[Assistant] wc -w notes.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] show me how 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] show my public ip address

[Assistant] curl ifconfig.me


[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] create a directory called build

[Assistant] mkdir build


[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 only directories in the current folder

[Assistant] ls -d */


[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 show memory usage

[Assistant] top -l 1 | 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] please copy the src directory recursively to dist

[Assistant] cp -r src dist


[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 make a get request to https://api.example.com/health

[Assistant] curl https://api.example.com/health


[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 list files sorted by modification time, newest first

[Assistant] ls -lt


[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 directory called build

[Assistant] mkdir build


[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] count the number of cpu cores

[Assistant] sysctl -n hw.ncpu


[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 nested directories src/utils/helpers

[Assistant] mkdir -p src/utils/helpers


[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 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] show me how to 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] 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] show the current date in YYYY-MM-DD format

[Assistant] date +%Y-%m-%d


[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 the contents of archive.tar.gz without extracting

[Assistant] tar -tzf archive.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] please list only directories in the current folder

[Assistant] ls -d */


[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 empty files in the current directory tree

[Assistant] find . -type f -empty


[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 send a json post request to https://api.example.com/users

[Assistant] curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users


[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 the current date in YYYY-MM-DD format

[Assistant] date +%Y-%m-%d


[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 command history

[Assistant] history


[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 count the number of cpu cores

[Assistant] sysctl -n hw.ncpu


[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 the number of words in notes.txt

[Assistant] wc -w notes.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] please list all files in the current directory including hidden ones

[Assistant] ls -la


[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 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] how do I show free disk space in human readable form

[Assistant] df -h


[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 kill the process with pid 1234

[Assistant] kill 1234


[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 count how many lines contain the word warning in app.log

[Assistant] grep -c 'warning' 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] 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] please find which files contain the string api_key

[Assistant] grep -rl 'api_key' .


[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] 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] can you show how long the system has been up

[Assistant] uptime


[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 an empty file called notes.txt

[Assistant] touch notes.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] show 3 lines of context around matches of 'panic' in server.log

[Assistant] grep -C 3 'panic' server.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] show me how to show the calendar for this month

[Assistant] cal


[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 hello world

[Assistant] echo 'hello world'


[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 memory usage

[Assistant] top -l 1 | 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] find all files owned by root under /tmp

[Assistant] find /tmp -user root


[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] search for the word TODO in all files recursively

[Assistant] grep -rn 'TODO' .


[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 a get request to https://api.example.com/health

[Assistant] curl https://api.example.com/health


[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 show the size of each subdirectory in the current folder

[Assistant] du -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 rename all .txt files to .md in the current directory

[Assistant] for f in *.txt; do mv "$f" "${f%.txt}.md"; done


[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] send a json post request to https://api.example.com/users

[Assistant] curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users


[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] count the number of words in notes.txt

[Assistant] wc -w notes.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] show the manual page for the tar command

[Assistant] man tar


[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 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] how do I show 3 lines of context around matches of 'panic' in server.log

[Assistant] grep -C 3 'panic' server.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] I want to 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] show disk usage of the current directory in human readable form

[Assistant] du -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] I want to show free disk space in human readable form

[Assistant] df -h


[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 print hello world

[Assistant] echo 'hello world'


[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] check if google.com is reachable with 4 pings

[Assistant] ping -c 4 google.com


[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] 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] can you create a symbolic link named latest pointing to v2

[Assistant] ln -s v2 latest


[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 the last 50 lines of access.log

[Assistant] tail -n 50 access.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] can you 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] can you 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] can you 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] please replace foo with bar in config.txt in place

[Assistant] sed -i '' 's/foo/bar/g' config.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] show me how to show my public ip address

[Assistant] curl ifconfig.me


[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 kill the process with pid 1234

[Assistant] kill 1234


[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 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] I want to 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] I want to show the manual page for the tar command

[Assistant] man tar


[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 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] I want to find and delete all .DS_Store files

[Assistant] find . -name '.DS_Store' -delete


[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] 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] count how many lines contain the word warning in app.log

[Assistant] grep -c 'warning' 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] please 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] how do I give the owner read write execute and others read on file.sh

[Assistant] chmod 744 file.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] I want to replace foo with bar in config.txt in place

[Assistant] sed -i '' 's/foo/bar/g' config.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 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] show me how to find all python files under the current directory

[Assistant] find . -name '*.py'


[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] stage all changes

[Assistant] git add -A


[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 what changed in the last commit

[Assistant] git show HEAD


[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] 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] please show the calendar for this month

[Assistant] cal


[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 create an empty file called notes.txt

[Assistant] touch notes.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] please show how long the system has been up

[Assistant] uptime


[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 replace all tabs with commas in data.txt and print to stdout

[Assistant] tr '\t' ',' < data.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] please show memory usage

[Assistant] top -l 1 | 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] show me how 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] command to list files sorted by modification time, newest first

[Assistant] ls -lt


[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 count occurrences of each unique line in items.txt

[Assistant] sort items.txt | uniq -c


[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 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] can you follow access.log in real time

[Assistant] tail -f access.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] can you show the manual page for the tar command

[Assistant] man tar


[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 unique lines in items.txt

[Assistant] sort items.txt | uniq


[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 replace foo with bar in config.txt in place

[Assistant] sed -i '' 's/foo/bar/g' config.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] show me how to count the number of cpu cores

[Assistant] sysctl -n hw.ncpu


[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] 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] list the contents of archive.tar.gz without extracting

[Assistant] tar -tzf archive.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] please 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] show the git status

[Assistant] git status


[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 show unique lines in items.txt

[Assistant] sort items.txt | uniq


[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] count occurrences of each unique line in items.txt

[Assistant] sort items.txt | uniq -c


[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] 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] can you find which files contain the string api_key

[Assistant] grep -rl 'api_key' .


[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 create a directory called build

[Assistant] mkdir build


[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 all python files under the current directory

[Assistant] find . -name '*.py'


[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 show the directory tree two levels deep

[Assistant] find . -maxdepth 2 -print


[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 show how long the system has been up

[Assistant] uptime


[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 find files modified in the last 24 hours

[Assistant] find . -type f -mtime -1


[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 the current working directory

[Assistant] pwd


[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 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] list files sorted by modification time, newest first

[Assistant] ls -lt


[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 stage all changes

[Assistant] git add -A


[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 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] I want to 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] command to unzip data.zip into the data directory

[Assistant] unzip data.zip -d data


[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 count the number of files in the current directory

[Assistant] ls -1 | wc -l


[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 empty files in the current directory tree

[Assistant] find . -type f -empty


[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 find empty files in the current directory tree

[Assistant] find . -type f -empty


[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 search for the word TODO in all files recursively

[Assistant] grep -rn 'TODO' .


[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 follow access.log in real time

[Assistant] tail -f access.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] show the last 5 commits in one line each

[Assistant] git log --oneline -5


[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 all files owned by root under /tmp

[Assistant] find /tmp -user root


[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 show the directory tree two levels deep

[Assistant] find . -maxdepth 2 -print


[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 show the last 5 commits in one line each

[Assistant] git log --oneline -5


[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 which files contain the string api_key

[Assistant] grep -rl 'api_key' .


[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 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 the current working directory

[Assistant] pwd


[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 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] how do I show the git status

[Assistant] git status


[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 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] search for 'error' case-insensitively in app.log

[Assistant] grep -i 'error' 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 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] rename all .txt files to .md in the current directory

[Assistant] for f in *.txt; do mv "$f" "${f%.txt}.md"; done


[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 pull the latest changes from origin main

[Assistant] git pull origin main


[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] repeat the ls command every 2 seconds

[Assistant] watch -n 2 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] command to show command history

[Assistant] history


[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] replace all tabs with commas in data.txt and print to stdout

[Assistant] tr '\t' ',' < data.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 make a get request to https://api.example.com/health

[Assistant] curl https://api.example.com/health


[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 the size of each subdirectory in the current folder

[Assistant] du -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] how do I search for 'error' case-insensitively in app.log

[Assistant] grep -i 'error' 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] list all files in the current directory including hidden ones

[Assistant] ls -la


[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 empty files in the current directory tree

[Assistant] find . -type f -empty


[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] create and switch to a new branch called feature

[Assistant] git checkout -b feature


[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 find all files larger than 100 megabytes

[Assistant] find . -type f -size +100M


[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 send a json post request to https://api.example.com/users

[Assistant] curl -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/users


[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 the directory tree two levels deep

[Assistant] find . -maxdepth 2 -print


[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 check if google.com is reachable with 4 pings

[Assistant] ping -c 4 google.com


[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 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] please check if google.com is reachable with 4 pings

[Assistant] ping -c 4 google.com


[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 show the last 50 lines of access.log

[Assistant] tail -n 50 access.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 create a directory called build

[Assistant] mkdir build


[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 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] please create and switch to a new branch called feature

[Assistant] git checkout -b feature


[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] 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] kill the process with pid 1234

[Assistant] kill 1234


[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 the last 5 commits in one line each

[Assistant] git log --oneline -5


[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 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] can you count how many lines contain the word warning in app.log

[Assistant] grep -c 'warning' 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] delete the file temp.log

[Assistant] rm temp.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] print the third column of a comma separated file data.csv

[Assistant] cut -d',' -f3 data.csv


[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 check if google.com is reachable with 4 pings

[Assistant] ping -c 4 google.com


[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 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] show me how to find files modified in the last 24 hours

[Assistant] find . -type f -mtime -1