messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the most recently modified file in scripts."
},
{
"role": "assistant",
"content": "ls -t scripts | head -n 1"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 4542."
},
{
"role": "assistant",
"content": "pstree -s 4542"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up /home/deploy to /mnt/backup as a dated xz archive, pruning all but the last 7 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'npm run build' at a lower priority (nice 15)."
},
{
"role": "assistant",
"content": "nice -n 15 npm run build"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run 'gzip huge.log' niced to 15 in the background."
},
{
"role": "assistant",
"content": "nice -n 15 gzip huge.log &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create the lib directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p lib && cd lib"
}
] | pipeline | chain |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 20 warning entries for firewalld."
},
{
"role": "assistant",
"content": "journalctl -u firewalld -p warning -n 20 --no-pager"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract the first field of data.csv using comma as the delimiter."
},
{
"role": "assistant",
"content": "cut -d, -f1 data.csv"
}
] | single | cut |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Classify a file passed as $1 into image/archive/document/other with a case on its extension."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfile=\"${1:?usage: $0 F... | script | case |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "On the file order.html, show just the first line."
},
{
"role": "assistant",
"content": "head -n 1 order.html"
}
] | single | head |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print dmesg with timestamps stripped."
},
{
"role": "assistant",
"content": "dmesg -t"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Follow live logs for apache2."
},
{
"role": "assistant",
"content": "journalctl -u apache2 -f"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the last boot time using who."
},
{
"role": "assistant",
"content": "who -b"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count error lines in the firewalld journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u firewalld --since yesterday | grep -ic error"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give me 30 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find '404' in gateway.log plus 3 lines of context around each match."
},
{
"role": "assistant",
"content": "grep -C 3 '404' gateway.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Watch memory continuously, updating every 5s."
},
{
"role": "assistant",
"content": "free -h -s 5"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print only the load-average portion of uptime."
},
{
"role": "assistant",
"content": "uptime | grep -o 'load average.*'"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Process all .bak files under logs with gzip using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=logs\nfind \"$dir\" -type f -nam... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a loop that restarts these services in order: firewalld nginx grafana-server."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | for |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show which files changed in the last commit."
},
{
"role": "assistant",
"content": "git show --stat HEAD"
}
] | single | git |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the short hostname (up to the first dot)."
},
{
"role": "assistant",
"content": "hostname -s"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "change just the group of notes.sh to wheel"
},
{
"role": "assistant",
"content": "sudo chgrp wheel notes.sh"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 6915 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 6915"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Background 'rsync -a /data /mnt/backup' at nice level 10."
},
{
"role": "assistant",
"content": "nice -n 10 rsync -a /data /mnt/backup &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create and switch to a new branch called develop."
},
{
"role": "assistant",
"content": "git checkout -b develop"
}
] | single | git |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 6166 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 6166"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Rank the values of column 7 in kern.log by frequency, highest first, top 10 only."
},
{
"role": "assistant",
"content": "awk '{print $7}' kern.log | s... | pipeline | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 1981 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 1981"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run 'find / -name '*.core'' at a lower priority (nice 19)."
},
{
"role": "assistant",
"content": "nice -n 19 find / -name '*.core'"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 50 most recent sshd log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u sshd -n 50"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 7379 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 7379"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the children of process 8131."
},
{
"role": "assistant",
"content": "pstree -p 8131"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'find / -name '*.core'' niced to 15 in the background."
},
{
"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": "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": "Follow live logs for cron."
},
{
"role": "assistant",
"content": "journalctl -u cron -f"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 5956 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 5956"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run './import.sh' at higher priority (nice -10); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -10 ./import.sh"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 8372 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 8372"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Copy dump.xml into the vendor directory."
},
{
"role": "assistant",
"content": "cp dump.xml vendor/"
}
] | single | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show low and high memory statistics with free."
},
{
"role": "assistant",
"content": "free -l"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "When did the system last boot?"
},
{
"role": "assistant",
"content": "uptime -s"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the systemd journal for the chronyd service."
},
{
"role": "assistant",
"content": "journalctl -u chronyd"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run './import.sh' niced to 5 in the background."
},
{
"role": "assistant",
"content": "nice -n 5 ./import.sh &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Make a backup copy of test.yaml called test.yaml.bak"
},
{
"role": "assistant",
"content": "cp test.yaml test.yaml.bak"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 7899 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 7899"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Abbreviated session info for admin."
},
{
"role": "assistant",
"content": "w -s admin"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which memcached log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u memcached --no-pager | grep -i failed"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by www-data"
},
{
"role": "assistant",
"content": "renice -n 15 -u www-data"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print dmesg entries from today onward with timestamps."
},
{
"role": "assistant",
"content": "dmesg -T --since 'today'"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 3999 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 3999"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Report memory in raw bytes."
},
{
"role": "assistant",
"content": "free -b"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need getopts handling for three options: -t, -i and -l; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntag=\"\"; input=\"\"; level=\"\"... | script | getopts |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "send a GET request to https://git.example.org/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://git.exampl... | single | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Report virtual memory statistics every 3 seconds, 10 times."
},
{
"role": "assistant",
"content": "vmstat 3 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of fixtures broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 fixtures 2>/dev/null | sort... | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want to find the 10 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort | uniq -c ... | pipeline | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the logs directory."
},
{
"role": "assistant",
"content": "tar -czf logs.tar.gz logs"
}
] | single | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many files are in static."
},
{
"role": "assistant",
"content": "ls -1 static | wc -l"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display jenkins's processes as a tree."
},
{
"role": "assistant",
"content": "pstree jenkins"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find kernel errors related to thermal."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i thermal"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections to mail.internal."
},
{
"role": "assistant",
"content": "ss -tn dst mail.internal"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse products.csv as comma-separated id,name,email using while read and print each name."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | while |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in gateway.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' gateway.log | sort | uniq -c | sort -nr"
... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Which processes have files open in /var/lib/mysql?"
},
{
"role": "assistant",
"content": "lsof +D /var/lib/mysql"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Remove adjacent duplicate lines from the already-sorted inventory.log."
},
{
"role": "assistant",
"content": "uniq inventory.log"
}
] | single | uniq |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Start a backup with tar at the lowest CPU priority."
},
{
"role": "assistant",
"content": "nice -n 19 tar -czf backup.tar.gz /home/deploy"
}
] | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How big is tests overall?"
},
{
"role": "assistant",
"content": "du -sh tests"
}
] | single | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in release.yaml and write to release.yaml.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' release.yaml > rel... | pipeline | sed |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What is this machine's hostname?"
},
{
"role": "assistant",
"content": "hostname"
}
] | single | hostname |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Launch 'dd if=/dev/zero of=test.img bs=1M count=1024' at reduced priority (10)."
},
{
"role": "assistant",
"content": "nice -n 10 dd if=/dev/zero of=t... | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Which files does user ubuntu have open?"
},
{
"role": "assistant",
"content": "lsof -u ubuntu"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from results.ini."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' results.ini | sort -u"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find all .cache files under migrations and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find migrations -type f -name '... | pipeline | find |
[
{
"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 jenkins"
},
{
"role": "assistant",
"content": "renice -n 15 -u jenkins"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show open files for the java process."
},
{
"role": "assistant",
"content": "lsof -c java"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List TCP listeners without name resolution."
},
{
"role": "assistant",
"content": "netstat -ltn"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 50 most recent rabbitmq log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq -n 50"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract archive.tar.gz into the current directory."
},
{
"role": "assistant",
"content": "tar -xzf archive.tar.gz"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Download https://proxy.internal/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://proxy.internal... | single | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print jenkins's process hierarchy including PIDs."
},
{
"role": "assistant",
"content": "pstree -p jenkins"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow new kernel messages as they arrive."
},
{
"role": "assistant",
"content": "dmesg -w"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the most recently modified file in src."
},
{
"role": "assistant",
"content": "ls -t src | head -n 1"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /backup and pruned after 5 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/backup\nkeep=5\nmkdir -p \"... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many times each line appears in request.json, most frequent first."
},
{
"role": "assistant",
"content": "sort request.json | uniq -c | sort -nr"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need getopts handling for three options: -i, -c and -n; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ni... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving cache.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.example.com"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run './import.sh' at a lower priority (nice 19)."
},
{
"role": "assistant",
"content": "nice -n 19 ./import.sh"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "print uptime in the short 'pretty' format"
},
{
"role": "assistant",
"content": "uptime -p"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List connections using port 25565 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :25565 or dport = :25565'"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Convert the contents of account.csv to uppercase."
},
{
"role": "assistant",
"content": "tr 'a-z' 'A-Z' < account.csv"
}
] | single | tr |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me the 20 biggest files under /srv/data."
},
{
"role": "assistant",
"content": "find /srv/data -type f -printf '%s %p\\n' 2>/dev/null | sor... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'tar -czf backup.tar.gz /home/deploy' at a lower priority (nice 15)."
},
{
"role": "assistant",
"content": "nice -n 15 tar -czf backup.tar.gz /hom... | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Can you write a script that watches modules and prints a message whenever the file count changes?"
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | while |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under /home/deploy are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /home/deploy | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What was the date 7 days ago?"
},
{
"role": "assistant",
"content": "date -d '7 days ago' +%Y-%m-%d"
}
] | single | date |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show a recursive listing of modules."
},
{
"role": "assistant",
"content": "ls -R modules"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.local/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://registry.local/api/users | jq .... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from proxy.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep proxy.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display free's low/high memory breakdown."
},
{
"role": "assistant",
"content": "free -l"
}
] | single | free |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.