messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rename session.tar.gz to session.tar.gz.old"
},
{
"role": "assistant",
"content": "mv session.tar.gz session.tar.gz.old"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /var/backups and pruned after 3 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | mysqldump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a script that retries a git fetch from origin up to 4 times, sleeping 2s between attempts."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | git |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Rank the values of column 4 in gc.log by frequency, highest first, top 25 only."
},
{
"role": "assistant",
"content": "cut -d, -f4 gc.log | sort | uni... | pipeline | cut |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Set inventory.css to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 inventory.css"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections involving cdn.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep cdn.internal"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from request.log."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' request.lo... | pipeline | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Compress syslog.log with gzip."
},
{
"role": "assistant",
"content": "gzip syslog.log"
}
] | single | gzip |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "replace tabs with commas in transaction.yaml and write to transaction.yaml.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' transaction... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the top 20 most frequent values in field 1 of the whitespace-separated file build.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' bu... | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me a generic retry wrapper function (max 5 tries) I can call with any command."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | function |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Report iostat throughput in megabytes, 2s interval, 5 rounds."
},
{
"role": "assistant",
"content": "iostat -m 2 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show all processes for the user tomcat."
},
{
"role": "assistant",
"content": "ps -u tomcat"
}
] | single | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving api.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep api.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the images directory."
},
{
"role": "assistant",
"content": "tar -czf images.tar.gz images"
}
] | single | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in static."
},
{
"role": "assistant",
"content": "du -h static/* | sort -rh | head -n 10"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "gzip every .log file under images"
},
{
"role": "assistant",
"content": "find images -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to list the unique '502' messages in dmesg.log."
},
{
"role": "assistant",
"content": "grep '502' dmesg.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which directories under dist are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 dist | sort -rh"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .py files under lib and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find lib -type f -name '*.py' -print0 | xargs -0 rm -f"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List only directories inside images."
},
{
"role": "assistant",
"content": "ls -d images/*/"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving www.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep www.example.org"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a preflight check that DB_PASS, PORT and API_KEY exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | env |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sample free 3 times at 5-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 5 -c 3"
}
] | single | free |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need getopts handling for three options: -t, -l and -d; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | getopts |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a script that runs gzip on every .tmp file in /home/deploy, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | xargs |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fail fast if any of AWS_REGION, DB_HOST, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\... | script | env |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show detailed per-device iostat, 2s apart, 5 times."
},
{
"role": "assistant",
"content": "iostat -x 2 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want a cleanup script for uploads that purges .bak files older than 21 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pi... | script | find |
[
{
"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://db02.internal/api/items"
},
{
"role": "assistant",
"content": "curl -s https://db02.internal... | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from data.ini."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' data.ini | sort -u"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a script that iterates over /srv/data/*.bak and changes the owner of each file to deploy."
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | chown |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in export.log and write to export.log.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' export.log > export.log.csv"... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For each .png file under /data/uploads, record a sha256 checksum in a manifest file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | for |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in nginx-error.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' nginx-error.log ... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://backup.local/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://backup.local/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from localhost."
},
{
"role": "assistant",
"content": "netstat -tn | grep localhost"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "From credentials.md, keep only non-empty lines."
},
{
"role": "assistant",
"content": "cat credentials.md | grep -v '^$'"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to follow the docker journal but only show lines mentioning 'refused'."
},
{
"role": "assistant",
"content": "journalctl -u docker -f... | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from inventory.json."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' inventor... | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 25 most common entries in column 5 of data.tsv?"
},
{
"role": "assistant",
"content": "awk '{print $5}' data.tsv | sort | uniq -c |... | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From output.ini, show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat output.ini | awk '{ print length, $0 }' | sort -rn | head... | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "delete all blank lines from session.ini"
},
{
"role": "assistant",
"content": "sed '/^$/d' session.ini"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check if notes.log exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f notes.log ] && cat notes.log || ech... | pipeline | chain |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of releases."
},
{
"role": "assistant",
"content": "du -h releases/* 2>/dev/null | sort -rh | head -n 10"
}
... | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from auth.tsv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' auth.tsv | sort -u"... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Launch 'ffmpeg -i in.mp4 out.mp4' at reduced priority (1)."
},
{
"role": "assistant",
"content": "nice -n 1 ffmpeg -i in.mp4 out.mp4"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rank the values of column 5 in cron.log by frequency, highest first, top 25 only."
},
{
"role": "assistant",
"content": "cut -d, -f5 cron.log | sort | uniq -c | sor... | pipeline | cut |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /data/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/d... | script | mysqldump |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given archive.txt, sort it and drop duplicate lines."
},
{
"role": "assistant",
"content": "cat archive.txt | sort -u"
}
] | pipeline | sort |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Back up /srv/data to /data/backup as a dated xz archive, pruning all but the last 14 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/srv/data\ndest=/d... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://staging.local/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://staging.local... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a small script that runs optipng on every .gif file in /var/www, 8 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a retry wrapper around git fetch from origin: 5 attempts, 2s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=5\ndelay=2\nfor attempt in $(seq 1 \"... | script | git |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show TCP connections involving cache.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.corp.net"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "move all .html files into the media directory"
},
{
"role": "assistant",
"content": "mv *.html media/"
}
] | single | mv |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find any socket using port 2379 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :2379"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Make index.sh executable."
},
{
"role": "assistant",
"content": "chmod +x index.sh"
}
] | single | chmod |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Rename session.yaml to session.yaml.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n session.yaml se... | single | mv |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want a cleanup script for /var/cache that purges .log files older than 90 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a small script that checks whether python3 is running and starts it if not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=python3\nif pgrep -x \"$proc\... | script | if |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show all network interfaces and their IP addresses."
},
{
"role": "assistant",
"content": "ip addr show"
}
] | single | ip |
[
{
"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://cache.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cache.example.org/api/items ... | pipeline | curl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "copy the whole images folder to images_copy recursively"
},
{
"role": "assistant",
"content": "cp -r images images_copy"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me show the top 10 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 11"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "move all .cache files into the logs directory"
},
{
"role": "assistant",
"content": "mv *.cache logs/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the ancestors of process 6818 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 6818"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Delete the first line of debug.txt in place."
},
{
"role": "assistant",
"content": "sed -i '1d' debug.txt"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Parse command-line flags -t (tag), -n (name) and -i (input) using getopts and validate that -t is provided."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntag=\"\"... | script | getopts |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a script that checks whether migration.zip exists and is non-empty, printing an appropriate message."
},
{
"role": "assistant",
"content":... | script | if |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to follow the elasticsearch journal but only show lines mentioning 'fatal'."
},
{
"role": "assistant",
"content": "journalctl -u elastics... | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How big is /mnt/data overall?"
},
{
"role": "assistant",
"content": "du -sh /mnt/data"
}
] | single | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Set auth.sh to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 auth.sh"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want a cleanup script for cache that purges .tmp files older than 14 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=cache\nage=14\n[ -d \"$target\" ... | script | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the PIDs of all nginx processes."
},
{
"role": "assistant",
"content": "pgrep nginx"
}
] | single | pgrep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show chronyd logs from the last 2 days"
},
{
"role": "assistant",
"content": "journalctl -u chronyd --since '2 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 20 biggest files under lib?"
},
{
"role": "assistant",
"content": "find lib -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head... | pipeline | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Stage all changes and commit with a message."
},
{
"role": "assistant",
"content": "git commit -am 'update'"
}
] | single | git |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the top 5 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 6"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under tests."
},
{
"role": "assistant",
"content": "du -ah tests | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show detailed metadata for schema.tar.gz."
},
{
"role": "assistant",
"content": "stat schema.tar.gz"
}
] | single | stat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that deletes files older than 14 days from /var/log, logging each removal."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Change the owner of notes.csv to backup."
},
{
"role": "assistant",
"content": "sudo chown backup notes.csv"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Loop through the .txt files in /home/alice and makes a .bak copy of each file — write it as a proper script."
},
{
"role": "assistant",
"content"... | script | cp |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Sample free 10 times at 1-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 1 -c 10"
}
] | single | free |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Recursively set owner and group of vendor to tomcat:sudo."
},
{
"role": "assistant",
"content": "sudo chown -R tomcat:sudo vendor"
}
] | single | chown |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Take changelog.tsv and show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat changelog.tsv | awk '{ print length, $0 }' | sort -r... | pipeline | awk |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from notes.yaml."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' notes.yaml ... | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a retry wrapper around connection to app01.internal:5432: 6 attempts, 1s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | bash |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "enable cron to start on boot"
},
{
"role": "assistant",
"content": "sudo systemctl enable cron"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Case-insensitively find 'timeout' in app.log."
},
{
"role": "assistant",
"content": "grep -i 'timeout' app.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Launch 'gzip huge.log' at reduced priority (5)."
},
{
"role": "assistant",
"content": "nice -n 5 gzip huge.log"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create the artifacts directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p artifacts && cd artifacts"
}
] | pipeline | chain |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Filter netstat for connections to or from cdn.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep cdn.corp.net"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Please show a hex dump of the first 64 bytes in users.csv."
},
{
"role": "assistant",
"content": "xxd -l 64 users.csv"
}
] | single | xxd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://api.service.io/api/users"
},
{
"role": "assistant",
"content": "curl -s https://api.service.io/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": "replace tabs with commas in product.conf and write to product.conf.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' product.conf > prod... | pipeline | sed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Back up /var/www to /data/backup as a dated bzip2 archive, pruning all but the last 5 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract backup.tar.gz into the build folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C build"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Restart mysql redis mariadb one after another and report each result."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | for |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.