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": "Grep the kernel ring buffer for kvm."
},
{
"role": "assistant",
"content": "dmesg -T | grep -i kvm"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .cache files under data with optipng using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | xargs |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections to db02.service.io."
},
{
"role": "assistant",
"content": "ss -tn dst db02.service.io"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print it with line numbers of test.sql."
},
{
"role": "assistant",
"content": "nl test.sql"
}
] | single | nl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the top 10 processes by memory."
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 11"
}
] | pipeline | ps |
[
{
"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 5s for 5 samples."
},
{
"role": "assistant",
"content": "iostat -m 5 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Wide-format vmstat every 2s, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -w 2 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the last 20 warning entries for postgresql."
},
{
"role": "assistant",
"content": "journalctl -u postgresql -p warning -n 20 --no-pager"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 3s interval, 30 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 3 30"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in build owned by mysql."
},
{
"role": "assistant",
"content": "find build -type f -user mysql"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a health check that reports UP/DOWN for the python3 process via its exit code."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\n... | script | if |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "move all .css files into the scripts directory"
},
{
"role": "assistant",
"content": "mv *.css scripts/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Short w listing for user erin."
},
{
"role": "assistant",
"content": "w -s erin"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "search all .log files under migrations for the word TODO"
},
{
"role": "assistant",
"content": "find migrations -name '*.log' -print0 | xargs -0... | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'python train.py' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 python train.py"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show lines in app.log that do NOT contain 'WARNING'."
},
{
"role": "assistant",
"content": "grep -v 'WARNING' app.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in include."
},
{
"role": "assistant",
"content": "du -h include/* | sort -rh | head -n 10"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from cache.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.corp.net"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract backup.tar.gz into the migrations folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C migrations"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 4201."
},
{
"role": "assistant",
"content": "pstree -s 4201"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in nginx-error.log mention 'refused'?"
},
{
"role": "assistant",
"content": "grep -c 'refused' nginx-error.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a script that uses a lock file so only one instance can run at a time, releasing it on exit."
},
{
"role": "assistant",
"content": "#!/usr/bin/... | script | trap |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user nginx."
},
{
"role": "assistant",
"content": "pstree nginx"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the PIDs of vim sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C vim -o pid=,rss= --sort=-rss"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run iostat every 2s for 3 reports."
},
{
"role": "assistant",
"content": "iostat 2 3"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Help me show the top 15 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 16"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 1597."
},
{
"role": "assistant",
"content": "pstree -s 1597"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a script that creates a temp working directory and cleans it up on exit using a trap."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pi... | script | trap |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to list the unique 'traceback' messages in worker.log."
},
{
"role": "assistant",
"content": "grep 'traceback' worker.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List connections using port 9090 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :9090 or dport = :9090'"
}
] | single | ss |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in auth.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' auth.log | sort | uniq -c | sor... | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From summary.txt, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat summary.txt | sort | uniq -c | sort -nr"
... | pipeline | uniq |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Can you write a script that verifies the environment variables DB_HOST, AWS_REGION and PORT are all set before running?"
},
{
"role": "assistant",
"content": "#!/us... | script | env |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show what PID 3112 has open."
},
{
"role": "assistant",
"content": "lsof -p 3112"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Make a backup copy of release.js called release.js.bak"
},
{
"role": "assistant",
"content": "cp release.js release.js.bak"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 7594 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 7594"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "search all .gif files under bin for the word TODO"
},
{
"role": "assistant",
"content": "find bin -name '*.gif' -print0 | xargs -0 grep -l TODO"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want a cleanup script for /var/tmp that purges .tmp files older than 90 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/var/tmp\nage=90\n[ -d \"$tar... | script | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Loop through the .gz files in /opt/app 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=/opt/ap... | script | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Pull the latest changes for the hotfix/crash branch."
},
{
"role": "assistant",
"content": "git pull origin hotfix/crash"
}
] | single | git |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Total the resident memory of all cron processes in MB."
},
{
"role": "assistant",
"content": "ps -C cron -o rss= | awk '{s+=$1} END{print s/1024 \" MB... | pipeline | ps |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Concatenate part1.txt and part2.txt into whole.txt"
},
{
"role": "assistant",
"content": "cat part1.txt part2.txt > whole.txt"
}
] | single | cat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show rabbitmq logs from the last 30 days"
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq --since '30 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'tar -czf backup.tar.gz /home/deploy' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 tar -czf backup.tar.gz /home/deploy"
}
] | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the mysql journal but only show lines mentioning 'warning:'."
},
{
"role": "assistant",
"content": "journalctl -u mysql -f | gre... | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://app01.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://app01.example.com/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch https://registry.service.io/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{... | single | curl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under releases are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 releases | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /srv/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndes... | script | pg_dump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "gzip every .log file under migrations"
},
{
"role": "assistant",
"content": "find migrations -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a bash script that moves each file into an archive/ subfolder for all .sh files under /home/deploy."
},
{
"role": "assistant",
"content": "#!/u... | script | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "list the distinct error messages in worker.log"
},
{
"role": "assistant",
"content": "grep -i error worker.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show connections on port 9000."
},
{
"role": "assistant",
"content": "netstat -anp | grep :9000"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From debug.md, strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat debug.md | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show active vs inactive memory using vmstat at 1-second intervals."
},
{
"role": "assistant",
"content": "vmstat -a 1"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "delete all blank lines from debug.md"
},
{
"role": "assistant",
"content": "sed '/^$/d' debug.md"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Remove write permission for group and others on manifest.css."
},
{
"role": "assistant",
"content": "chmod go-w manifest.css"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List open files owned by svc-app."
},
{
"role": "assistant",
"content": "lsof -u svc-app"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List connections using port 11211 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :11211 or dport = :11211'"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print column 2 of the comma-separated file access.log."
},
{
"role": "assistant",
"content": "awk -F, '{print $2}' access.log"
}
] | single | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up /srv/data to /srv/backup as a dated gzip archive, pruning all but the last 10 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Kill all sshd processes by name."
},
{
"role": "assistant",
"content": "pkill sshd"
}
] | single | pkill |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List all files in include, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la include"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in auth.log mention 'Connection refused'?"
},
{
"role": "assistant",
"content": "grep -c 'Connection refused' auth.log | cat"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run vmstat every 10s and stop after 5 samples."
},
{
"role": "assistant",
"content": "vmstat 10 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Grep the kernel ring buffer for sda."
},
{
"role": "assistant",
"content": "dmesg -T | grep -i sda"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read the CSV products.tsv field by field (id,name,email) with a while loop and print a greeting."
},
{
"role": "assistant",
"content": "#!/usr/bi... | script | while |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "which directories under data are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 data | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in project."
},
{
"role": "assistant",
"content": "du -h project/* | sort -rh | head -n 10"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Poll memory in MB every 1s, 3 times."
},
{
"role": "assistant",
"content": "free -m -s 1 -c 3"
}
] | single | free |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Check what holds port 5432 with ss."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :5432"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 10 biggest files under include."
},
{
"role": "assistant",
"content": "find include -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 10"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that categorizes a filename by extension using case (is a .txt an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | case |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of /etc/apache2 broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /etc/apache2 2>/dev/null... | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a script that runs optipng on every .js file in /mnt/storage, 2 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/mnt/storage\nfind \"$d... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Rank the values of column 4 in ingest.log by frequency, highest first, top 10 only."
},
{
"role": "assistant",
"content": "awk '{print $4}' ingest.log | sort | uniq -c | sort -nr | head -n 10"
... | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Which processes have files open in uploads?"
},
{
"role": "assistant",
"content": "lsof +D uploads"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show just the load averages in a pretty form."
},
{
"role": "assistant",
"content": "uptime"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "show ssh logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl -u ssh --since '5 days ago'"
}
] | single | journalctl |
[
{
"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://app01.local/api/items"
},
{
"role": "assistant",
"content": "curl -s https://app01.local/api... | pipeline | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n ... | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a small script that runs gzip on every .gz file in /var/lib/app, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/var/lib/app\nfind \"... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "compress gateway.log but keep the original file too"
},
{
"role": "assistant",
"content": "gzip -k gateway.log"
}
] | single | gzip |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Timestamped vmstat every 10s for 3 samples."
},
{
"role": "assistant",
"content": "vmstat -t 10 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need getopts handling for three options: -i, -l and -c; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving db01.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep db01.internal"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to output.log."
},
{
"role": "assistant",
"content": "./backup.sh > output.log 2>&1"
}
] | pipeline | redirection |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://registry.example.org/api/users"
},
{
"role": "assistant",
"content": "curl -s https://registry.example.org/api/users | jq... | pipeline | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 5314 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 5314"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Bump process 7024 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 7024"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What is backup running right now?"
},
{
"role": "assistant",
"content": "w backup"
}
] | single | w |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Can you write a script that deletes .old files older than 5 days from uploads and logs what it removed?"
},
{
"role": "assistant",
"content": "#!... | script | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 3980 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 3980"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display nginx's processes as a tree."
},
{
"role": "assistant",
"content": "pstree nginx"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Wide-format vmstat every 3s, 10 samples."
},
{
"role": "assistant",
"content": "vmstat -w 3 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "For every immediate subdirectory of /var/www, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pi... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter netstat for connections to or from monitor.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep monitor.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a backup script that gzip-compresses data into a timestamped tarball under /data/backup and keeps only the 5 newest."
},
{
"role": "assistant",... | script | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "change just the group of order.yaml to admin"
},
{
"role": "assistant",
"content": "sudo chgrp admin order.yaml"
}
] | single | chown |
[
{
"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 uploads"
},
{
"role": "assistant",
"content": "find uploads -type f -print0 | xargs -0 chmod 644"
... | pipeline | find |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.