messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find any socket using port 22 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :22"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "move all .png files into the src directory"
},
{
"role": "assistant",
"content": "mv *.png src/"
}
] | single | mv |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a small script that creates a temp working directory and cleans it up on exit using a trap."
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | trap |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "copy the whole dist folder to dist_copy recursively"
},
{
"role": "assistant",
"content": "cp -r dist dist_copy"
}
] | single | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving db02.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep db02.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Parse command-line flags -n (name), -p (port) and -d (dir) using getopts and validate that -n is provided."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nname=\"\"... | script | getopts |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find any socket using port 3000 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :3000"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a Bash script that prints a small system report: hostname, uptime, disk and memory usage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmem=$(free -h | awk ... | script | report |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read the CSV inventory.tsv field by field (id,name,email) with a while loop and print a greeting."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | while |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Process all .css files under /opt/app with gzip using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | xargs |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the disk usage of /usr/local/bin broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /usr/local/bin 2>/dev/null | sort -rh"
... | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the children of process 1729."
},
{
"role": "assistant",
"content": "pstree -p 1729"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many files are in /var/lib/mysql."
},
{
"role": "assistant",
"content": "ls -1 /var/lib/mysql | wc -l"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show redis's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p redis"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the configured hostname from /etc/hostname."
},
{
"role": "assistant",
"content": "cat /etc/hostname"
}
] | single | hostname |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "delete all blank lines from output.yaml"
},
{
"role": "assistant",
"content": "sed '/^$/d' output.yaml"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to show the last 20 lines containing 'WARNING' in syslog.log."
},
{
"role": "assistant",
"content": "grep 'WARNING' syslog.log | tail -n 20"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving proxy.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep proxy.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "copy the whole logs folder to logs_copy recursively"
},
{
"role": "assistant",
"content": "cp -r logs logs_copy"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database PostgreSQL backups written to /srv/backup and pruned after 14 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/srv/backup\nkeep=14\nm... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count 'Connection refused' occurrences in the docker journal today."
},
{
"role": "assistant",
"content": "journalctl -u docker --since today --no-pager | grep -c '... | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show statistics for all network links"
},
{
"role": "assistant",
"content": "ip -s link"
}
] | single | ip |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "push the current branch and set upstream to origin"
},
{
"role": "assistant",
"content": "git push -u origin HEAD"
}
] | single | git |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the unique sorted lines of backup.md."
},
{
"role": "assistant",
"content": "cat backup.md | sort | uniq"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the unique sorted lines of changelog.csv."
},
{
"role": "assistant",
"content": "cat changelog.csv | sort | uniq"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Make a backup copy of session.html called session.html.bak"
},
{
"role": "assistant",
"content": "cp session.html session.html.bak"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give me a script that iterates over /home/alice/*.xml and makes each file read-only."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/home/alice\nfor f in \"$di... | script | chmod |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://proxy.service.io/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://proxy.service.... | single | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://staging.local/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://staging.local/list.txt | wc -l... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "change permissions to 644 on all files under /opt/app"
},
{
"role": "assistant",
"content": "find /opt/app -type f -print0 | xargs -0 chmod 644"... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Take access.yaml and show the last 15 lines."
},
{
"role": "assistant",
"content": "cat access.yaml | tail -n 15"
}
] | pipeline | tail |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List connections using port 3306 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :3306 or dport = :3306'"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the last 20 lines of results.gz."
},
{
"role": "assistant",
"content": "tail -n 20 results.gz"
}
] | single | tail |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "show mount points sorted by usage percentage"
},
{
"role": "assistant",
"content": "df -h | awk 'NR>1 {print $5, $6}' | sort -rn"
}
] | pipeline | df |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 4361."
},
{
"role": "assistant",
"content": "pstree -s 4361"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up /srv/data to /var/backups as a dated gzip archive, pruning all but the last 5 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run vmstat with MB units every 10 seconds for 5 rounds."
},
{
"role": "assistant",
"content": "vmstat -S M 10 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "give me 20 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "enable mysql to start on boot"
},
{
"role": "assistant",
"content": "sudo systemctl enable mysql"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Recursively set owner and group of scripts to carol:docker."
},
{
"role": "assistant",
"content": "sudo chown -R carol:docker scripts"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fetch JSON from https://web01.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://web01.example.com/api/users ... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "which chronyd log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u chronyd --no-pager | grep -i failed"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a retry wrapper around connection to web01.example.org:5432: 6 attempts, 5s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | bash |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "search all .zip files under /var/log for the word TODO"
},
{
"role": "assistant",
"content": "find /var/log -name '*.zip' -print0 | xargs -0 grep... | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Recursively make everything in fixtures readable and writable by the owner only."
},
{
"role": "assistant",
"content": "chmod -R 600 fixtures"
... | single | chmod |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a one-liner to show which processes are listening and on which ports."
},
{
"role": "assistant",
"content": "ss -tlnp | awk 'NR>1 {print $4, $6}'"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "show sshd logs from the last 90 days"
},
{
"role": "assistant",
"content": "journalctl -u sshd --since '90 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "do a dry-run rsync of tests to logs to see what would change"
},
{
"role": "assistant",
"content": "rsync -avn tests/ logs/"
}
] | single | rsync |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 6608 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 6608"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from staging.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep staging.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that checks whether redis-server is running and starts it if not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nproc... | script | if |
[
{
"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 2s for 3 samples."
},
{
"role": "assistant",
"content": "iostat -m 2 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show error-level dmesg lines mentioning oom."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i oom"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections involving 10.0.0.5."
},
{
"role": "assistant",
"content": "netstat -tn | grep 10.0.0.5"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://backup.service.io/api/users"
},
{
"role": "assistant",
"content": "curl -s https://backup.service.io/... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show which process is using port 8443."
},
{
"role": "assistant",
"content": "lsof -i :8443"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 4094."
},
{
"role": "assistant",
"content": "pstree -s 4094"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Replace every occurrence of 'success' with 'inactive' in manifest.md and print the result."
},
{
"role": "assistant",
"content": "sed 's/success/... | single | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Process all .js files under /home/alice with optipng using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | xargs |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a preflight check that PORT, DB_HOST and ENV exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | env |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Timestamped vmstat every 2s for 30 samples."
},
{
"role": "assistant",
"content": "vmstat -t 2 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run vmstat every 3s and stop after 10 samples."
},
{
"role": "assistant",
"content": "vmstat 3 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of dist broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 dist 2>/dev/null | sort -r... | pipeline | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Who am I logged in as on this terminal?"
},
{
"role": "assistant",
"content": "whoami"
}
] | single | who |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Make a backup copy of session.tar.gz called session.tar.gz.bak"
},
{
"role": "assistant",
"content": "cp session.tar.gz session.tar.gz.bak"
}
... | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Remove write permission for group and others on error.yaml."
},
{
"role": "assistant",
"content": "chmod go-w error.yaml"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the system's hostname."
},
{
"role": "assistant",
"content": "hostname"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List sessions with destination github.io."
},
{
"role": "assistant",
"content": "ss -tn dst github.io"
}
] | single | ss |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Loop over every .sql 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 Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show kernel messages since yesterday."
},
{
"role": "assistant",
"content": "dmesg -T --since 'yesterday'"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the children of process 8064."
},
{
"role": "assistant",
"content": "pstree -p 8064"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from web01.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep web01.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 5 most common entries in column 4 of cron.log?"
},
{
"role": "assistant",
"content": "awk '{print $4}' cron.log | sort | uniq -c | sort -nr | head -n 5"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Start 'find / -name '*.core'' with nice value 5 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 5 find / -name '*.core'... | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Loop through the .md files in data and makes a .bak copy of each file — write it as a proper script."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=data\nfor f... | script | cp |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Retry curl to https://db01.local/health at most 6 times with a 5-second backoff, failing loudly if it never succeeds."
},
{
"role": "assistant",
... | script | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show alice's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p alice"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "count requests per HTTP status code in metrics.log"
},
{
"role": "assistant",
"content": "awk '{print $9}' metrics.log | sort | uniq -c | sort -nr"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up /srv/data to /var/backups as a dated gzip archive, pruning all but the last 7 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Copy notes.bak into the cache directory."
},
{
"role": "assistant",
"content": "cp notes.bak cache/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from monitor.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep monitor.example.com"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a watchdog loop that checks every 10s and only alerts once when disk passes 70%."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | while |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in audit.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' audit.log | sort | uniq ... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://proxy.example.org/api/users"
},
{
"role": "assistant",
"content": "curl -s https://proxy.example.org/api/users | jq -r '.[].name'"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On the file changelog.log, count the lines."
},
{
"role": "assistant",
"content": "wc -l changelog.log"
}
] | single | wc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find kernel errors related to firmware."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i firmware"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a rotating backup: archive /mnt/storage into /var/backups with bzip2, retain 30 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show ec2-user's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p ec2-user"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write me a script that accepts --name (-n), --tag (-t) and --output (-o) via getopts, with a usage message."
},
{
"role": "assistant",
"content":... | script | getopts |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://db02.internal/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://db02.internal/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Search build.log for lines containing 'fatal'."
},
{
"role": "assistant",
"content": "grep 'fatal' build.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List redis's active sessions with w."
},
{
"role": "assistant",
"content": "w redis"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show a hex dump of the first 64 bytes of response.sql."
},
{
"role": "assistant",
"content": "xxd -l 64 response.sql"
}
] | single | xxd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "list only the .js files in include"
},
{
"role": "assistant",
"content": "ls include | grep '\\.js$'"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run vmstat every 1s and stop after 10 samples."
},
{
"role": "assistant",
"content": "vmstat 1 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Ping registry.service.io once and branch: print reachable or unreachable based on the result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=registry.service.... | script | if |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show what user www-data is currently doing."
},
{
"role": "assistant",
"content": "w www-data"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Copy dump.old to releases/ but keep the original timestamps and permissions."
},
{
"role": "assistant",
"content": "cp -p dump.old releases/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Take audit.txt and keep only non-empty lines."
},
{
"role": "assistant",
"content": "cat audit.txt | grep -v '^$'"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Check if migration.log exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f migration.log ] && cat migrati... | pipeline | chain |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.