messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Move test.yaml into the vendor folder."
},
{
"role": "assistant",
"content": "mv test.yaml vendor/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many connections are there to port 22?"
},
{
"role": "assistant",
"content": "ss -tn | grep ':22' | wc -l"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Sample iostat 20 times at 1-second intervals."
},
{
"role": "assistant",
"content": "iostat 1 20"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving mail.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep mail.internal"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a deployment script: pull the feature/search branch, install deps, run tests, and restart the service only if tests pass."
},
{
"role": "assis... | script | git |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the files opened by process 5917."
},
{
"role": "assistant",
"content": "lsof -p 5917"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Please count the lines in invoice.tar.gz."
},
{
"role": "assistant",
"content": "wc -l invoice.tar.gz"
}
] | single | wc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 794."
},
{
"role": "assistant",
"content": "pstree -s 794"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print only lines 10 through 20 of session.yaml."
},
{
"role": "assistant",
"content": "sed -n '10,20p' session.yaml"
}
] | single | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Can you write a script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement?"
},
{
"role": "assistant",
"content": "#!/usr/... | script | case |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the top 5 CPU-hungry processes."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 6"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print the current uptime line."
},
{
"role": "assistant",
"content": "uptime"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of tests."
},
{
"role": "assistant",
"content": "du -h tests/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write me a script that deletes .log files older than 14 days from /var/tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/var/tmp... | script | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in export.csv and write to export.csv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' export.csv > export.csv.csv"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I/O stats in MB/s every 1s for 5 samples."
},
{
"role": "assistant",
"content": "iostat -m 1 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For data.jpg, determine what kind of file it is."
},
{
"role": "assistant",
"content": "file data.jpg"
}
] | single | file |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find directories named build anywhere under media."
},
{
"role": "assistant",
"content": "find media -type d -name 'build'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Parse command-line flags -c (count), -n (name) and -o (output) using getopts and validate that -c is provided."
},
{
"role": "assistant",
"conte... | script | getopts |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print erin's process hierarchy including PIDs."
},
{
"role": "assistant",
"content": "pstree -p erin"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 1892."
},
{
"role": "assistant",
"content": "pstree -p 1892"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a small bash logging library: log() writes info, die() writes an error and aborts."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\... | script | function |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "For each .gz file under /opt/app, record a sha256 checksum in a manifest file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nshopt -s nullglob\nfor f in /opt/app/... | script | for |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 7222 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 7222"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Bump process 2721 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 2721"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a script that runs gzip on every .png file in /opt/app, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app\nfind \"$dir\" -type... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give me a frequency tally of column 2 in nginx-error.log and show the 15 biggest."
},
{
"role": "assistant",
"content": "awk '{print $2}' nginx-error.log | sort | uniq -c | sort -nr | head -n 15"... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a shell script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | case |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 8321 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 8321"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Retry connection to api.example.com:5432 at most 5 times with a 1-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | bash |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count total lines across all .gz files in src."
},
{
"role": "assistant",
"content": "find src -type f -name '*.gz' -print0 | xargs -0 cat | wc -l"
... | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I/O stats in MB/s every 10s for 10 samples."
},
{
"role": "assistant",
"content": "iostat -m 10 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Make 3 day-stamped folders under /srv/backup using a for loop over a date range."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset ... | script | for |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print only lines 10 through 20 of manifest.conf."
},
{
"role": "assistant",
"content": "sed -n '10,20p' manifest.conf"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Lower the priority of process 8506 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 8506"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Delete the first line of manifest.conf in place."
},
{
"role": "assistant",
"content": "sed -i '1d' manifest.conf"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given config.txt, count the lines."
},
{
"role": "assistant",
"content": "cat config.txt | wc -l"
}
] | pipeline | wc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write an if that checks connectivity to backup.service.io with a single ping."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | if |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract backup.tar.gz into the src folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C src"
}
] | single | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a script that runs optipng on every .tmp file in data, 2 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the process listening on port 3000."
},
{
"role": "assistant",
"content": "lsof -i :3000"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the number of fields on each line of metrics.log."
},
{
"role": "assistant",
"content": "awk '{print NF}' metrics.log"
}
] | single | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "visualize the child processes of haproxy as a tree"
},
{
"role": "assistant",
"content": "pstree -p $(pgrep -o haproxy)"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Add a timestamp column to vmstat, 1s interval, 20 rounds."
},
{
"role": "assistant",
"content": "vmstat -t 1 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given access.yaml, strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat access.yaml | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the children of process 4278."
},
{
"role": "assistant",
"content": "pstree -p 4278"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under project are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 project | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in server.csv and write to server.csv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' server.csv > server.csv.csv"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List active users and their processes."
},
{
"role": "assistant",
"content": "w"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show detailed per-device iostat, 10s apart, 5 times."
},
{
"role": "assistant",
"content": "iostat -x 10 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Use vmstat's wide output, 2s apart, 3 times."
},
{
"role": "assistant",
"content": "vmstat -w 2 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Abbreviated session info for www-data."
},
{
"role": "assistant",
"content": "w -s www-data"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Background './import.sh' at nice level 1."
},
{
"role": "assistant",
"content": "nice -n 1 ./import.sh &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that deletes files older than 3 days from /var/log, logging each removal."
},
{
"role": "assistant",
"content": "#!/usr/bin/... | script | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "For every immediate subdirectory of data, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | for |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that deletes files older than 1 days from /tmp, logging each removal."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I want a cleanup script for /var/log that purges .bak files older than 2 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that accepts --level (-l), --output (-o) and --tag (-t) via getopts, with a usage message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | getopts |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show detailed per-device iostat, 1s apart, 20 times."
},
{
"role": "assistant",
"content": "iostat -x 1 20"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "gzip every .log file under /home/deploy"
},
{
"role": "assistant",
"content": "find /home/deploy -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch https://github.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{http_code}' https://github.co... | single | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "move all .tmp files into the build directory"
},
{
"role": "assistant",
"content": "mv *.tmp build/"
}
] | single | mv |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List admin's active sessions with w."
},
{
"role": "assistant",
"content": "w admin"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show every open file under uploads."
},
{
"role": "assistant",
"content": "lsof +D uploads"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the systemd journal for the haproxy service."
},
{
"role": "assistant",
"content": "journalctl -u haproxy"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give me 10 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List sessions with destination web01.corp.net."
},
{
"role": "assistant",
"content": "ss -tn dst web01.corp.net"
}
] | single | ss |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Bump process 6441 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 6441"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Bump process 4643 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 4643"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read the CSV transactions.tsv field by field (id,name,email) with a while loop and print a greeting."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS=, rea... | script | while |
[
{
"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 .sql file in data and prints the line count of each file."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | wc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in product.yaml and write to product.yaml.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' product.yaml > product.yaml.csv"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a script that runs optipng on every .json file in /srv/data, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | xargs |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show elasticsearch logs from the last 7 days"
},
{
"role": "assistant",
"content": "journalctl -u elasticsearch --since '7 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Loop over every .txt file in /srv/data and append its sha256 checksum to checksums.txt."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | for |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "what's the size of dump.pdf in bytes?"
},
{
"role": "assistant",
"content": "stat -c '%s' dump.pdf"
}
] | single | stat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in changelog.yaml and write to changelog.yaml.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' changelog.yaml... | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Decompress build.log.gz."
},
{
"role": "assistant",
"content": "gunzip build.log.gz"
}
] | single | gzip |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the last 20 warning entries for nginx."
},
{
"role": "assistant",
"content": "journalctl -u nginx -p warning -n 20 --no-pager"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show all running processes with full details."
},
{
"role": "assistant",
"content": "ps aux"
}
] | single | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "strip leading whitespace from every line of changelog.csv and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' changel... | pipeline | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 50 most recent mongod log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u mongod -n 50"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show cron logs from the last 21 days"
},
{
"role": "assistant",
"content": "journalctl -u cron --since '21 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show what PID 6281 has open."
},
{
"role": "assistant",
"content": "lsof -p 6281"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under lib."
},
{
"role": "assistant",
"content": "du -ah lib | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give me 5 vmstat readings spaced 2 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 2 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Make a backup copy of backup.conf called backup.conf.bak"
},
{
"role": "assistant",
"content": "cp backup.conf backup.conf.bak"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Copy event.gz into public only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u event.gz public/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in /opt/scripts."
},
{
"role": "assistant",
"content": "find /opt/scripts -type f -empty"
}
] | single | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving registry.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep registry.example.com"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the children of process 5064."
},
{
"role": "assistant",
"content": "pstree -p 5064"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show memory including a total line for RAM plus swap"
},
{
"role": "assistant",
"content": "free -h -t"
}
] | single | free |
[
{
"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 web01.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep web01.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that uses a lock file so only one instance can run at a time, releasing it on exit."
},
{
"role": "assistant",
"content": "#!/usr/... | script | trap |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show what PID 4584 has open."
},
{
"role": "assistant",
"content": "lsof -p 4584"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Is anything listening on port 5000?"
},
{
"role": "assistant",
"content": "ss -tlnp sport = :5000"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 5 biggest files under migrations."
},
{
"role": "assistant",
"content": "find migrations -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 5"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List erin's activity, headerless."
},
{
"role": "assistant",
"content": "w -h erin"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Retry git fetch from origin at most 10 times with a 3-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | git |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I list files in vendor sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS vendor"
}
] | single | ls |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.