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": "Count how many unique IP-like first fields appear in error.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' error.log | sort | uniq -... | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://mail.corp.net/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://mail.corp.ne... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Device-only I/O stats every 10 seconds."
},
{
"role": "assistant",
"content": "iostat -d 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Sample free 5 times at 2-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 2 -c 5"
}
] | single | free |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "which directories under src are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 src | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find all .bak files under /var/www."
},
{
"role": "assistant",
"content": "find /var/www -type f -name '*.bak'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Download https://api.example.com/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://api.example.com/file.zip"
}
] | single | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the most recently modified file in /var/cache."
},
{
"role": "assistant",
"content": "ls -t /var/cache | head -n 1"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show a recursive listing of /srv/data."
},
{
"role": "assistant",
"content": "ls -R /srv/data"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show kernel messages since 30 min ago."
},
{
"role": "assistant",
"content": "dmesg -T --since '30 min ago'"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the 10 most common 'segfault'-related lines in server.log."
},
{
"role": "assistant",
"content": "grep 'segfault' server.log | sort | uniq -c | sort -nr | head... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the ancestors of process 7937 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 7937"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 25 most common entries in column 9 of server.log?"
},
{
"role": "assistant",
"content": "cut -d, -f9 server.log | sort | uniq -c | sort -nr | head -n 2... | pipeline | cut |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "remove htop and its config files"
},
{
"role": "assistant",
"content": "sudo apt purge -y htop"
}
] | single | apt |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /data/backup and pruned after 10 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/data/backup\nkeep=10\... | script | pg_dump |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 1773 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 1773"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 10 seconds, 3 times."
},
{
"role": "assistant",
"content": "vmstat 10 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Append the current date to scheduler.log."
},
{
"role": "assistant",
"content": "date >> scheduler.log"
}
] | pipeline | redirection |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Restart the redis service."
},
{
"role": "assistant",
"content": "sudo systemctl restart redis"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Copy order.md into media only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u order.md media/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Report virtual memory statistics every 5 seconds, 3 times."
},
{
"role": "assistant",
"content": "vmstat 5 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many lines in ingest.log match 'traceback'."
},
{
"role": "assistant",
"content": "grep -c 'traceback' ingest.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Copy archive.log to backup.internal's /tmp directory as alice."
},
{
"role": "assistant",
"content": "scp archive.log alice@backup.internal:/tmp/... | single | scp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://registry.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl -s https://registry.corp.net/api/items ... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 1954."
},
{
"role": "assistant",
"content": "pstree -p 1954"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find all .csv files under build and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find build -type f -name '*.csv' -prin... | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show systemd-networkd logs from the last 14 days"
},
{
"role": "assistant",
"content": "journalctl -u systemd-networkd --since '14 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in lib larger than -1M."
},
{
"role": "assistant",
"content": "find lib -type f -size -1M"
}
] | single | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check if auth.csv exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f auth.csv ] && cat auth.csv || echo '... | pipeline | chain |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Timestamped vmstat every 2s for 5 samples."
},
{
"role": "assistant",
"content": "vmstat -t 2 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me the disk usage of /mnt/data broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /mnt/data 2>/dev/null | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report iostat throughput in megabytes, 10s interval, 3 rounds."
},
{
"role": "assistant",
"content": "iostat -m 10 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Background 'find / -name '*.core'' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 find / -name '*.core' &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From schema.csv, show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat schema.csv | awk '{ print length, $0 }' | sort -rn | head -20 | cut -d' ' -f2-"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Remove the empty directory modules."
},
{
"role": "assistant",
"content": "rmdir modules"
}
] | single | rm |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read access.md, then count the lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat access.md | wc -l"
}
] | pipeline | wc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a start/stop/restart/status control script for grafana-server using a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=grafana-server\ncase... | script | case |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show containerd logs from the last 7 days"
},
{
"role": "assistant",
"content": "journalctl -u containerd --since '7 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find all .html files under config and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find config -type f -name '*.h... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Refresh memory usage every 5 seconds."
},
{
"role": "assistant",
"content": "free -h -s 5"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show kernel messages since 10 min ago."
},
{
"role": "assistant",
"content": "dmesg -T --since '10 min ago'"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 5 biggest files under artifacts."
},
{
"role": "assistant",
"content": "find artifacts -type f -printf '%s %p\\n' 2>/dev/null | sort -rn... | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Process all .tmp files under logs with gzip using 2 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 Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me list the PIDs of systemd sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C systemd -o pid=,rss= --sort=-rss"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving db01.local."
},
{
"role": "assistant",
"content": "netstat -tn | grep db01.local"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count total lines across all .html files in reports."
},
{
"role": "assistant",
"content": "find reports -type f -name '*.html' -print0 | xargs -0 cat | wc -l"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Retry curl to https://192.168.1.10/health at most 5 times with a 5-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
... | script | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Change the owner of event.sql to jenkins."
},
{
"role": "assistant",
"content": "sudo chown jenkins event.sql"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Parse command-line flags -p (port), -c (count) and -t (tag) using getopts and validate that -p is provided."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ba... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "download https://app01.local/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://app01.local/list.txt | wc -l"
... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find kernel errors related to kvm."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i kvm"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy server.css to modules/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p server.css modules/"
}
] | single | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the top 10 most frequent values in field 3 of the whitespace-separated file syslog."
},
{
"role": "assistant",
"content": "awk '{print $3}' syslo... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "For release.gz, show the last 20 lines."
},
{
"role": "assistant",
"content": "tail -n 20 release.gz"
}
] | single | tail |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "strip leading whitespace from every line of archive.conf and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' arc... | pipeline | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List mysql's activity, headerless."
},
{
"role": "assistant",
"content": "w -h mysql"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Poll disk usage every 10 seconds; warn a single time when it first exceeds 80%."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | while |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a rotating backup: archive /mnt/storage into /backup with xz, retain 10 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .old files under /var/www with checksum with sha256sum using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show just disk stats with iostat every 10s."
},
{
"role": "assistant",
"content": "iostat -d 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the PID and memory of containerd processes."
},
{
"role": "assistant",
"content": "ps aux | grep containerd | grep -v grep | awk '{print $2... | pipeline | ps |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Clean up /var/log: remove .cache files not modified in 7 days, recording each deletion."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Edit release.log in place, replacing 'active' with 'localhost'."
},
{
"role": "assistant",
"content": "sed -i 's/active/localhost/g' release.log"... | single | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Retry git fetch from origin at most 4 times with a 5-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
"content": ... | script | git |
[
{
"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://registry.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://regist... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me the 20 biggest files under /var/cache."
},
{
"role": "assistant",
"content": "find /var/cache -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 20... | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the listener on port 25565."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :25565"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fail fast if any of ENV, API_KEY, AWS_REGION is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | env |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Case-insensitively find 'corrupt' in error.log."
},
{
"role": "assistant",
"content": "grep -i 'corrupt' error.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in messages mention 'segfault'?"
},
{
"role": "assistant",
"content": "grep -c 'segfault' messages | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run iostat every 10s for 10 reports."
},
{
"role": "assistant",
"content": "iostat 10 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy summary.sh to fixtures/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p summary.sh fixtures/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a shell script that retries a git fetch from origin up to 3 times, sleeping 1s between attempts."
},
{
"role": "assistant",
"content": "#!... | script | git |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "list the distinct error messages in api.log"
},
{
"role": "assistant",
"content": "grep -i error api.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a script that loops over every .gz file in /home/alice and moves each file into an archive/ subfolder."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/ho... | script | mv |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 20 biggest files under /data/uploads?"
},
{
"role": "assistant",
"content": "find /data/uploads -type f -printf '%s %p\\n' 2>/dev/n... | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rename credentials.zip to credentials.zip.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n cred... | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a backup script that gzip-compresses /srv/data into a timestamped tarball under /data/backup and keeps only the 3 newest."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -eu... | script | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "list PIDs and names of processes matching elasticsearch"
},
{
"role": "assistant",
"content": "pgrep -a elasticsearch"
}
] | single | pgrep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 20 biggest files under downloads?"
},
{
"role": "assistant",
"content": "find downloads -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 20"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Poll memory in MB every 2s, 5 times."
},
{
"role": "assistant",
"content": "free -m -s 2 -c 5"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a script that dumps every PostgreSQL database into its own gzip file under /srv/backup, keeping 30 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | pg_dump |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .tmp files under /mnt/storage with gzip using 4 parallel workers via xargs."
},
{
"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": "which firewalld log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u firewalld --no-pager | grep -i failed"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Abbreviated session info for git."
},
{
"role": "assistant",
"content": "w -s git"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I want 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 translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sample free 10 times at 5-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 5 -c 10"
}
] | single | free |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run vmstat every 2s and stop after 3 samples."
},
{
"role": "assistant",
"content": "vmstat 2 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "what's the fully qualified domain name of this machine?"
},
{
"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": "Find all .xml files under /opt/scripts and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /opt/scripts -type f ... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving registry.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep registry.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show what PID 7077 has open."
},
{
"role": "assistant",
"content": "lsof -p 7077"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Check what holds port 25565 with ss."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :25565"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display backup's processes as a tree."
},
{
"role": "assistant",
"content": "pstree backup"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under build."
},
{
"role": "assistant",
"content": "du -ah build | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "give the owner rwx and everyone else read on payment.conf"
},
{
"role": "assistant",
"content": "chmod 744 payment.conf"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the most recently modified file in /var/lib/mysql."
},
{
"role": "assistant",
"content": "ls -t /var/lib/mysql | head -n 1"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy config.conf into the migrations directory."
},
{
"role": "assistant",
"content": "cp config.conf migrations/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show filesystem disk usage including inode counts."
},
{
"role": "assistant",
"content": "df -i"
}
] | single | df |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in session.yaml and write to session.yaml.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' session.yaml > session.yaml.csv"
}
] | pipeline | sed |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.