Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
12
12
instruction
stringclasses
1 value
input
stringlengths
16
84
output
stringlengths
6
143
category
stringclasses
30 values
risk
stringclasses
2 values
nl2sh-000000
Translate the following English request to a Bash command.
POST app4056.conf to https://api.example.com/upload/646
curl -X POST -F "file=@app4056.conf" https://api.example.com/upload/646
net
safe
nl2sh-000001
Translate the following English request to a Bash command.
Log 19 commits graph for hotfix-12331
git log --oneline --graph -n 17 hotfix-12331
git
safe
nl2sh-000002
Translate the following English request to a Bash command.
Delete log files over 1G in ~/docs
find ~/docs -name "*.log" -size +1G -delete
find
destructive
nl2sh-000003
Translate the following English request to a Bash command.
Sync python deps with uv job 1655 app603
cd app603 && uv sync # 1655
py
safe
nl2sh-000004
Translate the following English request to a Bash command.
Sqlite dump app482.db job 134
sqlite3 app482.db ".dump" > dump134.sql # 134
db
safe
nl2sh-000005
Translate the following English request to a Bash command.
Chmod 700 on report660.json
chmod 700 report660.json
perms
safe
nl2sh-000006
Translate the following English request to a Bash command.
Run dev server app342 port 4358 job 2767
cd app342 && PORT=4358 npm run dev # 2767
js
safe
nl2sh-000007
Translate the following English request to a Bash command.
Cargo test app952 job 1404
cd app952 && cargo test # 1404
native
safe
nl2sh-000008
Translate the following English request to a Bash command.
Host lookup host71.lab.local job 2126
host host71.lab.local # 2126
net
safe
nl2sh-000009
Translate the following English request to a Bash command.
Show 99 largest files in ~/downloads/access141
find ~/downloads/access141 -type f -exec ls -lh {} + | sort -k5 -hr | head -n 99
find
safe
nl2sh-000010
Translate the following English request to a Bash command.
Line count of server1669.sh plus file report1906.sh
wc -l server1669.sh report1906.sh
text
safe
nl2sh-000011
Translate the following English request to a Bash command.
Awk print col 1 from server4026.txt where col1 > 11
awk '$1 > 15 {print $1}' server4026.txt
sedawk
safe
nl2sh-000012
Translate the following English request to a Bash command.
Awk print col 5 from server3082.json where col1 > 11
awk '$1 > 74 {print $5}' server3082.json
sedawk
safe
nl2sh-000013
Translate the following English request to a Bash command.
Log 10 commits graph for feat/search74
git log --oneline --graph -n 27 feat/search74
git
safe
nl2sh-000014
Translate the following English request to a Bash command.
Chmod 600 on access1910.md
chmod 600 access1910.md
perms
safe
nl2sh-000015
Translate the following English request to a Bash command.
Move data3094.conf to /var/log as notes1813.tmp
mv data3094.conf /var/log/notes1813.tmp
fileops
safe
nl2sh-000016
Translate the following English request to a Bash command.
Ping db.internal 4 packets job 2184
ping -c 4 db.internal # 2184
net
safe
nl2sh-000017
Translate the following English request to a Bash command.
Chmod 644 on data2887.log
chmod 644 data2887.log
perms
safe
nl2sh-000018
Translate the following English request to a Bash command.
SSH user50@backup-host with key ~/.ssh/lab301_ed25519
ssh -i ~/.ssh/lab301_ed25519 -p 8066 user50@backup-host
net
safe
nl2sh-000019
Translate the following English request to a Bash command.
Kill java91 gracefully by name
pkill -TERM java
sys
safe
nl2sh-000020
Translate the following English request to a Bash command.
Line count of access4178.md plus file server3296.py
wc -l access4178.md server3296.py
text
safe
nl2sh-000021
Translate the following English request to a Bash command.
List .md files in /tmp/deploy136 changed in past 34 days
find /tmp/deploy136 -name "*.md" -mtime -34
find
safe
nl2sh-000022
Translate the following English request to a Bash command.
Drizzle push app903 job 2122
cd app903 && npx drizzle-kit push # 2122
db
safe
nl2sh-000023
Translate the following English request to a Bash command.
Search for '404' recursively in /tmp/report161
grep -rn "404" /tmp/report161
grep
safe
nl2sh-000024
Translate the following English request to a Bash command.
Count lines in all .json files under ./logs
find ./logs -name "*.json" -exec cat {} + | wc -l
find
safe
nl2sh-000025
Translate the following English request to a Bash command.
Start opencode in .
opencode /var/log
opencode
safe
nl2sh-000026
Translate the following English request to a Bash command.
Run node:20 as data-144 detached port 8256
docker run -d --name data-144 -p 8511:80 node:20
docker
safe
nl2sh-000027
Translate the following English request to a Bash command.
Extract access1101.tar.gz stripping top level
tar -xzf access1101.tar.gz --strip-components=1
archive
safe
nl2sh-000028
Translate the following English request to a Bash command.
Bring up wireguard wg-lab1690 job 1690
sudo wg-quick up wg-lab1690 # 1690
net
safe
nl2sh-000029
Translate the following English request to a Bash command.
Delete empty lines and comments from report448.conf
grep -v '^\s*#' report448.conf | sed '/^\s*$/d'
sedawk
safe
nl2sh-000030
Translate the following English request to a Bash command.
In my isolated lab VM I own, force-remove disposable dir /tmp/lab672 (1704)
rm -rf -- /tmp/lab672
destruct
destructive
nl2sh-000031
Translate the following English request to a Bash command.
List nft ruleset job 1396
sudo nft list ruleset # 1396
net
safe
nl2sh-000032
Translate the following English request to a Bash command.
Extract app1221.tar.gz stripping top level
tar -xzf app1221.tar.gz --strip-components=1
archive
safe
nl2sh-000033
Translate the following English request to a Bash command.
On my lab I own, nikto scan http://lab.local:8469
nikto -h http://lab.local:8469 # authorized lab 131
pentest
destructive
nl2sh-000034
Translate the following English request to a Bash command.
SSH user7 to 10.0.0.5 port 443
ssh -p 443 user7@10.0.0.5
net
safe
nl2sh-000035
Translate the following English request to a Bash command.
List report1116.tar.gz contents sizes
tar -tzvf report1116.tar.gz
archive
safe
nl2sh-000036
Translate the following English request to a Bash command.
Resume download https://example.com/server3458.md
curl -C - -O https://example.com/server3458.md
net
safe
nl2sh-000037
Translate the following English request to a Bash command.
Show DNS config eth0 job 1268
scutil --dns # eth0 1268; resolvectl status 2>/dev/null | head -n 20
net
safe
nl2sh-000038
Translate the following English request to a Bash command.
List nft ruleset job 3414
sudo nft list ruleset # 3414
net
safe
nl2sh-000039
Translate the following English request to a Bash command.
Diskutil list and info disk0 job 523
diskutil list # 523; diskutil info disk0 | head -n 20
macdev
safe
nl2sh-000040
Translate the following English request to a Bash command.
Extract app1758.tar.gz stripping top level
tar -xzf app1758.tar.gz --strip-components=1
archive
safe
nl2sh-000041
Translate the following English request to a Bash command.
Fuse mlx adapters run198 for google/gemma-2-9b
mlx_lm.fuse --model google/gemma-2-9b --adapter-path adapters/run198 --save-path models/fused198
mlx
safe
nl2sh-000042
Translate the following English request to a Bash command.
Dig MX host725.lab.local via 8.8.8.8 job 3948
dig @8.8.8.8 host725.lab.local MX +short # 3948
net
safe
nl2sh-000043
Translate the following English request to a Bash command.
Host lookup host480.lab.local job 2950
host host480.lab.local # 2950
net
safe
nl2sh-000044
Translate the following English request to a Bash command.
Load llama-3.1-8b with context 16384
lms load llama-3.1-8b --context-length 16384
lms
safe
nl2sh-000045
Translate the following English request to a Bash command.
Psql list tables in app857_db30 job 2253
psql $DATABASE_URL -c "\dt" # app857_db30 2253
db
safe
nl2sh-000046
Translate the following English request to a Bash command.
Quantize model1525-q8_0.gguf to q4_k_m job 1272
llama-quantize model1525-q8_0.gguf model1525-q8_0-q4-1272.gguf q4_k_m
llamacpp
safe
nl2sh-000047
Translate the following English request to a Bash command.
Create branch hotfix-12358 push upstream
git checkout -b hotfix-12358 && git push -u origin hotfix-12358
git
safe
nl2sh-000048
Translate the following English request to a Bash command.
Move server3762.conf to ~/downloads as server3686.py
mv server3762.conf ~/downloads/server3686.py
fileops
safe
nl2sh-000049
Translate the following English request to a Bash command.
List archive419.tar.gz contents sizes
tar -tzvf archive419.tar.gz
archive
safe
nl2sh-000050
Translate the following English request to a Bash command.
Simctl list and boot iPhone-12-sim job 1376
xcrun simctl list devices # 1376; xcrun simctl boot "iPhone-12-sim"
macdev
safe
nl2sh-000051
Translate the following English request to a Bash command.
List /etc/metrics42 newest 35 entries human readable
ls -lth /etc/metrics42 | head -n 35
fileops
safe
nl2sh-000052
Translate the following English request to a Bash command.
Replace 'temp' with 'prod' in deploy1256.yaml backup .bak
sed -i.bak 's/temp/prod/g' deploy1256.yaml
sedawk
safe
nl2sh-000053
Translate the following English request to a Bash command.
Replace 'debug' with 'info' in report4032.md backup .bak
sed -i.bak 's/debug/info/g' report4032.md
sedawk
safe
nl2sh-000054
Translate the following English request to a Bash command.
Swift build and test job 1988 App177
swift build # App177 1988; swift test 2>&1 | tail -n 20
macdev
safe
nl2sh-000055
Translate the following English request to a Bash command.
Awk print col 3 from access620.json where col1 > 41
awk '$1 > 31 {print $3}' access620.json
sedawk
safe
nl2sh-000056
Translate the following English request to a Bash command.
Move deploy4087.sh to /var/log/metrics190 as metrics2845.py
mv deploy4087.sh /var/log/metrics190/metrics2845.py
fileops
safe
nl2sh-000057
Translate the following English request to a Bash command.
Compose up with build for app1983 job 1983
docker compose up -d --build # 1983
devops
safe
nl2sh-000058
Translate the following English request to a Bash command.
Diff feat/search110 vs main stat
git diff --stat main...feat/search110
git
safe
nl2sh-000059
Translate the following English request to a Bash command.
Alembic upgrade head app196 job 2333
cd app196 && uv run alembic upgrade head # 2333
py
safe
nl2sh-000060
Translate the following English request to a Bash command.
Serve model1816-q4_k_m.gguf on port 8326 ctx 16384 (2691)
llama-server -m model1816-q4_k_m.gguf --port 8326 -c 16384
llamacpp
safe
nl2sh-000061
Translate the following English request to a Bash command.
Awk print col 3 from access4574.log where col1 > 83
awk '$1 > 43 {print $3}' access4574.log
sedawk
safe
nl2sh-000062
Translate the following English request to a Bash command.
Awk print col 1 from access4691.yaml where col1 > 78
awk '$1 > 85 {print $1}' access4691.yaml
sedawk
safe
nl2sh-000063
Translate the following English request to a Bash command.
Download mistralai/Mistral-7B-v0.3 revision main job 2410
hf download mistralai/Mistral-7B-v0.3
hf
safe
nl2sh-000064
Translate the following English request to a Bash command.
Resume download https://example.com/report2095.log
curl -C - -O https://example.com/report2095.log
net
safe
nl2sh-000065
Translate the following English request to a Bash command.
Find all .yaml files under /opt/app/app82 modified in last 52 days
find /opt/app/app82 -name "*.yaml" -mtime -52
find
safe
nl2sh-000066
Translate the following English request to a Bash command.
Serve meta-llama/Llama-3.1-8B with vLLM port 8745 ctx 4096 job 664
vllm serve meta-llama/Llama-3.1-8B --port 8745 --max-model-len 4096
server
safe
nl2sh-000067
Translate the following English request to a Bash command.
Chown root on access4785.yaml in ~/downloads/data165
chown root ~/downloads/data165/access4785.yaml
perms
safe
nl2sh-000068
Translate the following English request to a Bash command.
Tailscale funnel 9705 job 1586
tailscale funnel 9705 # 1586
tailscale
safe
nl2sh-000069
Translate the following English request to a Bash command.
Top 90 frequent lines in archive2896.csv
sort archive2896.csv | uniq -c | sort -nr | head -n 90
text
safe
nl2sh-000070
Translate the following English request to a Bash command.
Search for 'Exception' recursively in /opt/app
grep -rn "Exception" /opt/app
grep
safe
nl2sh-000071
Translate the following English request to a Bash command.
Line count of backup472.yaml plus file archive4013.txt
wc -l backup472.yaml archive4013.txt
text
safe
nl2sh-000072
Translate the following English request to a Bash command.
List access1463.tar.gz contents sizes
tar -tzvf access1463.tar.gz
archive
safe
nl2sh-000073
Translate the following English request to a Bash command.
Run crush with 'explain code'
crush run "explain code"
agent
safe
nl2sh-000074
Translate the following English request to a Bash command.
Tar gzip /opt/app into server711.tar.gz
tar -czf server711.tar.gz /opt/app
archive
safe
nl2sh-000075
Translate the following English request to a Bash command.
Build app410 with vite/next job 1984
cd app410 && npm run build # 1984
js
safe
nl2sh-000076
Translate the following English request to a Bash command.
Move all log files here to ~/projects/notes41
mv ./*.log ~/projects/notes41/
fileops
safe
nl2sh-000077
Translate the following English request to a Bash command.
Aider run with 'fix tests' (meta-llama/Llama-3.1-8B)
aider --model meta-llama/Llama-3.1-8B -m "fix tests"
agent
safe
nl2sh-000078
Translate the following English request to a Bash command.
Delete tmp files over 50M in ~/docs/server143
find ~/docs/server143 -name "*.tmp" -size +50M -delete
find
destructive
nl2sh-000079
Translate the following English request to a Bash command.
SSH user28 to backup-host port 6416 job 717
ssh -p 6416 user28@backup-host
net
safe
nl2sh-000080
Translate the following English request to a Bash command.
Top 10 big files in ~/downloads/notes137
du -ah ~/downloads/notes137 | sort -rh | head -n 10
sys
safe
nl2sh-000081
Translate the following English request to a Bash command.
Tailscale funnel 9603 job 165
tailscale funnel 9603 # 165
tailscale
safe
nl2sh-000082
Translate the following English request to a Bash command.
Start litellm proxy Qwen/Qwen3-0.6B port 8756 job 642
litellm --port 8756 --model Qwen/Qwen3-0.6B
server
safe
nl2sh-000083
Translate the following English request to a Bash command.
Make dirs /opt/app/subdir319 with parents
mkdir -p /opt/app/subdir319
fileops
safe
nl2sh-000084
Translate the following English request to a Bash command.
Download google/gemma-2-9b-run22 revision main job 15
hf download google/gemma-2-9b-run22
hf
safe
nl2sh-000085
Translate the following English request to a Bash command.
Last 34 lines of notes2053.sh follow mode
tail -n 34 -f notes2053.sh
text
safe
nl2sh-000086
Translate the following English request to a Bash command.
Search for 'ERROR' recursively in ~/downloads/backup78
grep -rn "ERROR" ~/downloads/backup78
grep
safe
nl2sh-000087
Translate the following English request to a Bash command.
NAT masquerade utun3 lab job 3306
sudo iptables -t nat -A POSTROUTING -o utun3 -j MASQUERADE # lab 3306
net
safe
nl2sh-000088
Translate the following English request to a Bash command.
List .json files in src/app4 changed in past 43 days
find src/app4 -name "*.json" -mtime -43
find
safe
nl2sh-000089
Translate the following English request to a Bash command.
List notes1509.tar.gz contents sizes
tar -tzvf notes1509.tar.gz
archive
safe
nl2sh-000090
Translate the following English request to a Bash command.
Bring up wireguard wg-lab3 job 3
sudo wg-quick up wg-lab3 # 3
net
safe
nl2sh-000091
Translate the following English request to a Bash command.
Create branch develop21 push upstream
git checkout -b develop21 && git push -u origin develop21
git
safe
nl2sh-000092
Translate the following English request to a Bash command.
Copy data2234.sh to ./logs/archive89 preserving attrs
cp -a data2234.sh ./logs/archive89/
fileops
safe
nl2sh-000093
Translate the following English request to a Bash command.
Create qwen3:0.6b-custom6 from Modelfile-104
ollama create qwen3:0.6b-custom68 -f Modelfile-104
ollama
safe
nl2sh-000094
Translate the following English request to a Bash command.
Count lines in all .tmp files under ~/projects
find ~/projects -name "*.tmp" -exec cat {} + | wc -l
find
safe
nl2sh-000095
Translate the following English request to a Bash command.
Make dirs ./logs/subdir428 with parents
mkdir -p ./logs/subdir428
fileops
safe
nl2sh-000096
Translate the following English request to a Bash command.
SSH remote forward 2585 via backup-host job 2283
ssh -R 2585:localhost:3000 user28@backup-host
net
safe
nl2sh-000097
Translate the following English request to a Bash command.
Replace 'temp' with 'example.com' in data1189.py backup .bak
sed -i.bak 's/temp/example.com/g' data1189.py
sedawk
safe
nl2sh-000098
Translate the following English request to a Bash command.
Kill postgres8 gracefully by name
pkill -TERM postgres
sys
safe
nl2sh-000099
Translate the following English request to a Bash command.
List csv files in ~/projects containing 'denied'
grep -rl "denied" ~/projects --include="*.csv"
grep
safe
End of preview. Expand in Data Studio

bash-data: 140k English → Bash pairs

Synthetic, deterministic (scripts/generate.py, seed varies). Each row: id, instruction, input, output, category, risk.

  • train 140k / eval 2k, bash -n clean, ~99% unique inputs.
  • categories: shell core, net (ssh/dns/NAT), tailscale, macdev (xcode), AI tooling (ollama/lms/opencode/llamacpp/mlx/hf/vllm/agents/shellai), fullstack (js/py/db/devops/native), lab-authorized destructive+pentest (risk: destructive).
  • destructive/pentest rows are lab-scoped (own VMs only). No exploit payloads.
Downloads last month
-