messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show admin's sessions without the header."
},
{
"role": "assistant",
"content": "w -h admin"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show haproxy logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl -u haproxy --since '5 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up /home/deploy to /var/backups as a dated bzip2 archive, pruning all but the last 10 backups."
},
{
"role": "assistant",
"content": "#!/us... | script | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the files opened by process 4948."
},
{
"role": "assistant",
"content": "lsof -p 4948"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in auth.log mention '500'?"
},
{
"role": "assistant",
"content": "grep -c '500' auth.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in build.log mention 'segfault'?"
},
{
"role": "assistant",
"content": "grep -c 'segfault' build.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show every open file under config."
},
{
"role": "assistant",
"content": "lsof +D config"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Can you write a script that runs optipng on every .tmp file in backups, 4 jobs in parallel?"
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=backups\nfind \"$dir... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "On this box, list the top 10 remote IPs by number of connections."
},
{
"role": "assistant",
"content": "ss -tn | awk 'NR>1 {print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head -n 10"
}... | pipeline | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' at a lower priority (nice 15)."
},
{
"role": "assistant",
"content": "nice -n 15 dd if=/dev/zero of=test.img bs=1M count=1024"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fail fast if any of API_KEY, DB_PASS, ENV is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in invoice.md and write to invoice.md.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' invoice.md > invoice.md.csv"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Wide-format vmstat every 3s, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -w 3 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in api.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' api.log | sort | uniq -c |... | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the children of process 4626."
},
{
"role": "assistant",
"content": "pstree -p 4626"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "show docker logs from the last 10 days"
},
{
"role": "assistant",
"content": "journalctl -u docker --since '10 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 7077."
},
{
"role": "assistant",
"content": "pstree -s 7077"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a start/stop/restart control script for the redis service using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | case |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'dropped'-related lines in build.log."
},
{
"role": "assistant",
"content": "grep 'dropped' build.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "search all .bak files under /srv/www for the word TODO"
},
{
"role": "assistant",
"content": "find /srv/www -name '*.bak' -print0 | xargs -0 grep... | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Add a timestamp column to vmstat, 3s interval, 3 rounds."
},
{
"role": "assistant",
"content": "vmstat -t 3 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a small script that uses a lock file so only one instance can run at a time, releasing it on exit."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nlock=/tmp/m... | script | trap |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Abbreviated session info for deploy."
},
{
"role": "assistant",
"content": "w -s deploy"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Filter netstat for connections to or from staging.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep staging.example.com"
}... | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 1 seconds, 20 times."
},
{
"role": "assistant",
"content": "vmstat 1 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from mail.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep mail.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show grafana-server logs from the last 14 days"
},
{
"role": "assistant",
"content": "journalctl -u grafana-server --since '14 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Download https://www.corp.net/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://www.corp.net/file.zip"... | single | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Rank the values of column 9 in debug.log by frequency, highest first, top 20 only."
},
{
"role": "assistant",
"content": "awk '{print $9}' debug.log | sort | uniq -c | sort -nr | head -n 20"
}
... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from changelog.log."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' changelog.log | sort -u"
}... | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how often each column-3 value appears in scheduler.log; show the 10 most common."
},
{
"role": "assistant",
"content": "cut -d, -f3 schedu... | pipeline | cut |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sync the tmp directory to logs preserving attributes."
},
{
"role": "assistant",
"content": "rsync -av tmp/ logs/"
}
] | single | rsync |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Retry connection to db02.corp.net:5432 at most 10 times with a 3-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
... | script | bash |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Delete the first line of test.conf in place."
},
{
"role": "assistant",
"content": "sed -i '1d' test.conf"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "gzip every .log file under vendor"
},
{
"role": "assistant",
"content": "find vendor -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "strip leading whitespace from every line of metrics.json and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' metrics.... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Start 'npm run build' with nice value 5 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 5 npm run build"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Start 'rsync -a /data /mnt/backup' with nice value 10 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 10 rsync -a /dat... | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the unique 'FIXME' messages in server.log."
},
{
"role": "assistant",
"content": "grep 'FIXME' server.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 20 largest subdirectories of dist."
},
{
"role": "assistant",
"content": "du -h dist/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Restart elasticsearch cron containerd one after another and report each result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 2557."
},
{
"role": "assistant",
"content": "pstree -s 2557"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the 5 biggest files under tmp."
},
{
"role": "assistant",
"content": "find tmp -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 5"
}... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show rabbitmq logs from the last 1 days"
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq --since '1 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy test.zip to tmp/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p test.zip tmp/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Copy inventory.py into tmp only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u inventory.py tmp/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.corp.net/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://registry.corp.net/api/users | jq ."
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Which processes have files open in /srv/data?"
},
{
"role": "assistant",
"content": "lsof +D /srv/data"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Force-kill every process whose name matches php-fpm."
},
{
"role": "assistant",
"content": "pkill -9 php-fpm"
}
] | single | pkill |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show connections on port 5000."
},
{
"role": "assistant",
"content": "netstat -anp | grep :5000"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Background 'python train.py' at nice level 10."
},
{
"role": "assistant",
"content": "nice -n 10 python train.py &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Move users.tmp into the build folder."
},
{
"role": "assistant",
"content": "mv users.tmp build/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a script that loops over every .zip file in /home/alice and prints the line count of each file."
},
{
"role": "assistant",
"content": "#!/... | script | wc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Append the current date to mail.log."
},
{
"role": "assistant",
"content": "date >> mail.log"
}
] | pipeline | redirection |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Make 5 day-stamped folders under /mnt/backup using a for loop over a date range."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nbase... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /var/backups as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nde... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Report iostat throughput in megabytes, 2s interval, 3 rounds."
},
{
"role": "assistant",
"content": "iostat -m 2 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 most frequently used commands from your shell history."
},
{
"role": "assistant",
"content": "history | awk '{print $2}' | sort | uni... | pipeline | history |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the children of process 3664."
},
{
"role": "assistant",
"content": "pstree -p 3664"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Monitor the sda device and its partitions with iostat every 1 seconds."
},
{
"role": "assistant",
"content": "iostat -p sda 1"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show bob's sessions without the header."
},
{
"role": "assistant",
"content": "w -h bob"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Parse command-line flags -c (count), -o (output) and -i (input) using getopts and validate that -c is provided."
},
{
"role": "assistant",
"cont... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given product.tsv, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat product.tsv | sort | uniq -c | sort -nr... | pipeline | uniq |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show what PID 8542 has open."
},
{
"role": "assistant",
"content": "lsof -p 8542"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to list the unique 'traceback' messages in metrics.log."
},
{
"role": "assistant",
"content": "grep 'traceback' metrics.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'find / -name '*.core'' niced to 1 in the background."
},
{
"role": "assistant",
"content": "nice -n 1 find / -name '*.core' &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up backups to /srv/backup as a dated bzip2 archive, pruning all but the last 3 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/e... | script | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the reports directory."
},
{
"role": "assistant",
"content": "tar -czf reports.tar.gz reports"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the systemd journal for the ssh service."
},
{
"role": "assistant",
"content": "journalctl -u ssh"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 1s interval, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 1 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Start 'rsync -a /data /mnt/backup' with nice value 19 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 19 rsync -a /data... | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I want to find the 20 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c | sort -nr | h... | pipeline | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving monitor.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep monitor.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Launch './import.sh' at reduced priority (5)."
},
{
"role": "assistant",
"content": "nice -n 5 ./import.sh"
}
] | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read build.json, then strip trailing whitespace — as a pipeline."
},
{
"role": "assistant",
"content": "cat build.json | sed 's/[[:space:]]*$//'"
}
... | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Retry connection to www.example.org:5432 at most 4 times with a 5-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
... | script | bash |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of docs?"
},
{
"role": "assistant",
"content": "du -h docs/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/backup... | script | mysqldump |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Add a timestamp column to vmstat, 2s interval, 3 rounds."
},
{
"role": "assistant",
"content": "vmstat -t 2 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that requires exactly two arguments (source and destination) and errors out otherwise."
},
{
"role": "assistant",
"content": "#!/usr... | script | args |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how full each mounted filesystem is, worst first."
},
{
"role": "assistant",
"content": "df -h | awk 'NR>1 {print $5, $6}' | sort -rn"
... | pipeline | df |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a script that runs checksum with sha256sum on every .tmp file in /data/uploads, 2 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/u... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the exact boot timestamp."
},
{
"role": "assistant",
"content": "uptime -s"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "list the size of each subdirectory in config"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 config"
}
] | single | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Abbreviated session info for postgres."
},
{
"role": "assistant",
"content": "w -s postgres"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://api.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://api.example... | pipeline | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List sessions with destination registry.local."
},
{
"role": "assistant",
"content": "ss -tn dst registry.local"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "make a symlink to /opt/app/current in your home directory called app"
},
{
"role": "assistant",
"content": "ln -s /opt/app/current ~/app"
}
] | single | ln |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many connections are there to port 11211?"
},
{
"role": "assistant",
"content": "ss -tn | grep ':11211' | wc -l"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the process tree for user jenkins."
},
{
"role": "assistant",
"content": "pstree jenkins"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Which processes have files open in public?"
},
{
"role": "assistant",
"content": "lsof +D public"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show connections on port 443."
},
{
"role": "assistant",
"content": "netstat -anp | grep :443"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "give the owner rwx and everyone else read on transaction.json"
},
{
"role": "assistant",
"content": "chmod 744 transaction.json"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "follow redirects when fetching https://proxy.example.com"
},
{
"role": "assistant",
"content": "curl -L https://proxy.example.com"
}
] | single | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a loop that restarts these services in order: postgresql mysql redis."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | for |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in order.tsv and write to order.tsv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' order.tsv > order.tsv.cs... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "search all .sh files under include for the word TODO"
},
{
"role": "assistant",
"content": "find include -name '*.sh' -print0 | xargs -0 grep -l TODO"... | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Add a timestamp column to vmstat, 5s interval, 20 rounds."
},
{
"role": "assistant",
"content": "vmstat -t 5 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Pull the latest changes for the staging branch."
},
{
"role": "assistant",
"content": "git pull origin staging"
}
] | single | git |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "In users.csv, which 25 values of column 9 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $9}' users.csv | sort | uniq -c | sort -nr | head -n ... | pipeline | awk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.