messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "launch a compile job at reduced priority so it doesn't hog the CPU"
},
{
"role": "assistant",
"content": "nice -n 15 make -j4"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "count requests per HTTP status code in access.log"
},
{
"role": "assistant",
"content": "awk '{print $9}' access.log | sort | uniq -c | sort -nr"... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a Bash script that retries a curl to https://proxy.example.org/health up to 5 times with a 2-second backoff."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | retry |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the 5 most common words in response.csv"
},
{
"role": "assistant",
"content": "cat response.csv | tr ' ' '\\n' | sort | uniq -c | sort -nr | head ... | pipeline | sort |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I/O stats in MB/s every 3s for 3 samples."
},
{
"role": "assistant",
"content": "iostat -m 3 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many files are in /srv/data."
},
{
"role": "assistant",
"content": "ls -1 /srv/data | wc -l"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run vmstat every 5s and stop after 20 samples."
},
{
"role": "assistant",
"content": "vmstat 5 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Remove write permission for group and others on inventory.conf."
},
{
"role": "assistant",
"content": "chmod go-w inventory.conf"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Search metrics.log for lines containing 'stale'."
},
{
"role": "assistant",
"content": "grep 'stale' metrics.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a preflight check that AWS_REGION, DB_HOST and PORT exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\n... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show w output including the remote host each user came from."
},
{
"role": "assistant",
"content": "w -f"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Delete the first line of debug.log in place."
},
{
"role": "assistant",
"content": "sed -i '1d' debug.log"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Take response.txt and strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat response.txt | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display kernel warnings and errors only."
},
{
"role": "assistant",
"content": "dmesg -l err,warn"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Launch 'find / -name '*.core'' at reduced priority (15)."
},
{
"role": "assistant",
"content": "nice -n 15 find / -name '*.core'"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Launch './import.sh' at reduced priority (10)."
},
{
"role": "assistant",
"content": "nice -n 10 ./import.sh"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Check the status of mariadb."
},
{
"role": "assistant",
"content": "systemctl status mariadb"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the ancestors of process 7600 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 7600"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Timestamped vmstat every 10s for 30 samples."
},
{
"role": "assistant",
"content": "vmstat -t 10 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "kill every process listening on port 15672"
},
{
"role": "assistant",
"content": "lsof -ti :15672 | xargs -r kill -9"
}
] | pipeline | xargs |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Dump the vmstat table of memory and event counters."
},
{
"role": "assistant",
"content": "vmstat -s"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by svc-app"
},
{
"role": "assistant",
"content": "renice -n 15 -u svc-app"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Who's on the system right now and running what?"
},
{
"role": "assistant",
"content": "w"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a countdown script from 5 to 1 that prints each number one second apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | while |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show jenkins's sessions without the header."
},
{
"role": "assistant",
"content": "w -h jenkins"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "show firewalld logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl -u firewalld --since '5 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print www-data's process hierarchy including PIDs."
},
{
"role": "assistant",
"content": "pstree -p www-data"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy index.css to reports/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p index.css reports/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What TCP ports are being listened on, and by what?"
},
{
"role": "assistant",
"content": "ss -tlnp"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in app.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' app.log | sort | uniq -c... | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 1527 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 1527"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List every connection without resolving names."
},
{
"role": "assistant",
"content": "netstat -an"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Discard all uncommitted changes in the working tree. (Destructive.)"
},
{
"role": "assistant",
"content": "git checkout -- ."
}
] | single | git |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by ec2-user"
},
{
"role": "assistant",
"content": "renice -n 15 -u ec2-user"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "list the distinct error messages in access.log"
},
{
"role": "assistant",
"content": "grep -i error access.log | sort -u"
}
] | pipeline | grep |
[
{
"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 5 seconds."
},
{
"role": "assistant",
"content": "iostat -p sda 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Process all .conf files under /opt/app with checksum with sha256sum using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/opt/app... | script | xargs |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch https://web01.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{ht... | single | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a one-liner to count connections grouped by their TCP state."
},
{
"role": "assistant",
"content": "ss -tan | awk 'NR>1 {print $1}' | sort | uniq -c | sort -nr"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write me a script that dumps every MySQL database into its own gzip file under /backup, keeping 10 days."
},
{
"role": "assistant",
"content": "... | script | mysqldump |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' at a lower priority (nice 10)."
},
{
"role": "assistant",
"content": "nice -n 10 dd if=/dev/zero of... | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show w output but skip the header."
},
{
"role": "assistant",
"content": "w -h"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show active vs inactive memory using vmstat at 3-second intervals."
},
{
"role": "assistant",
"content": "vmstat -a 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Get just the first local IP address."
},
{
"role": "assistant",
"content": "hostname -I | awk '{print $1}'"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the biggest files under backup."
},
{
"role": "assistant",
"content": "du -ah backup | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show all established TCP connections."
},
{
"role": "assistant",
"content": "ss -t state established"
}
] | single | ss |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Loop through the .css files in /home/deploy and makes each file read-only — write it as a proper script."
},
{
"role": "assistant",
"content": "#!/usr... | script | chmod |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On this box, list the top 5 remote IPs by number of connections."
},
{
"role": "assistant",
"content": "ss -tn | awk 'NR>1 {print $5}' | cut -d: ... | pipeline | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show prometheus logs from the last 14 days"
},
{
"role": "assistant",
"content": "journalctl -u prometheus --since '14 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display redis's processes as a tree."
},
{
"role": "assistant",
"content": "pstree redis"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Bump process 4729 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 4729"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show established connections on port 8080."
},
{
"role": "assistant",
"content": "lsof -i :8080 -sTCP:ESTABLISHED"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the process hierarchy including PIDs."
},
{
"role": "assistant",
"content": "pstree -p"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script with a die() helper that logs an error to stderr and exits, plus a log() helper for info messages."
},
{
"role": "assistant",
"content": "#!/usr/bin/... | script | function |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Determine the file type of output.md."
},
{
"role": "assistant",
"content": "file output.md"
}
] | single | file |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a small script that runs gzip on every .js file in data, 8 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | xargs |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print only lines 10 through 20 of customer.tsv."
},
{
"role": "assistant",
"content": "sed -n '10,20p' customer.tsv"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rename audit.png to audit.png.old"
},
{
"role": "assistant",
"content": "mv audit.png audit.png.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List active (established) sessions on port 22."
},
{
"role": "assistant",
"content": "lsof -i :22 -sTCP:ESTABLISHED"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "gzip every .log file under tmp"
},
{
"role": "assistant",
"content": "find tmp -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Get the bare PID that holds port 3306."
},
{
"role": "assistant",
"content": "lsof -i :3306 -t"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the fully qualified domain name."
},
{
"role": "assistant",
"content": "hostname -f"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 4693 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4693"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run 'make -j4' niced to 10 in the background."
},
{
"role": "assistant",
"content": "nice -n 10 make -j4 &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run 'python train.py' niced to 1 in the background."
},
{
"role": "assistant",
"content": "nice -n 1 python train.py &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Replace every occurrence of 'session' with 'session' in metrics.json and print the result."
},
{
"role": "assistant",
"content": "sed 's/session... | single | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show extended I/O stats in human-readable form."
},
{
"role": "assistant",
"content": "iostat -xh"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show operator's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p operator"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give me 10 vmstat readings spaced 10 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 10 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count error lines in the postgresql journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u postgresql --since yesterday | grep -ic error"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Sample iostat 5 times at 5-second intervals."
},
{
"role": "assistant",
"content": "iostat 5 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a preflight check that DB_HOST, PORT and AWS_REGION exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in DB_HOST PORT AWS_REG... | script | env |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show memory usage in bytes."
},
{
"role": "assistant",
"content": "free -b"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Change the owner of archive.tmp to ec2-user."
},
{
"role": "assistant",
"content": "sudo chown ec2-user archive.tmp"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 1-minute load average."
},
{
"role": "assistant",
"content": "cut -d' ' -f1 /proc/loadavg"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "move all .xml files into the media directory"
},
{
"role": "assistant",
"content": "mv *.xml media/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 2658."
},
{
"role": "assistant",
"content": "pstree -p 2658"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Start 'ffmpeg -i in.mp4 out.mp4' with nice value 1 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 1 ffmpeg -i in.mp4 o... | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all open network connections."
},
{
"role": "assistant",
"content": "lsof -i"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show network interface statistics."
},
{
"role": "assistant",
"content": "netstat -i"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to follow the mongod journal but only show lines mentioning 'fatal'."
},
{
"role": "assistant",
"content": "journalctl -u mongod -f | grep --line-buffered -i 'fatal'"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count occurrences of each unique line in auth.conf (assume it's sorted)."
},
{
"role": "assistant",
"content": "uniq -c auth.conf"
}
] | single | uniq |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display dmesg in human-friendly mode."
},
{
"role": "assistant",
"content": "dmesg -H"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give me a bytes-to-human function and demonstrate it on a file's size."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipe... | script | function |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many entries w reports."
},
{
"role": "assistant",
"content": "w | wc -l"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'gzip huge.log' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 gzip huge.log"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a script that verifies the environment variables ENV, DB_PASS and API_KEY are all set before running."
},
{
"role": "assistant",
"content"... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are 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": "Where is the psql binary located?"
},
{
"role": "assistant",
"content": "which psql"
}
] | single | which |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show all journal entries since the last boot."
},
{
"role": "assistant",
"content": "journalctl -b"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "print lines of metrics.log where column 1 is greater than 100"
},
{
"role": "assistant",
"content": "awk '$1 > 100' metrics.log"
}
] | single | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a generic retry wrapper function (max 3 tries) I can call with any command."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | function |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show all sockets numerically."
},
{
"role": "assistant",
"content": "netstat -an"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run iostat -x every 3 seconds and skip zero-activity devices."
},
{
"role": "assistant",
"content": "iostat -xz 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Get the bare PID that holds port 15672."
},
{
"role": "assistant",
"content": "lsof -i :15672 -t"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Tally column 2 of export.tsv and print the 5 top values by count."
},
{
"role": "assistant",
"content": "awk '{print $2}' export.tsv | sort | uniq -c | sort -nr | h... | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Copy profile.py to bin/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p profile.py bin/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Include the FROM field in the w listing."
},
{
"role": "assistant",
"content": "w -f"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Background 'gzip huge.log' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 gzip huge.log &"
}
] | single | nice |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.