messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Launch 'npm run build' at reduced priority (10)."
},
{
"role": "assistant",
"content": "nice -n 10 npm run build"
}
] | single | nice | e9e48be6407a5bc1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List just the filenames under src that contain 'unreachable'."
},
{
"role": "assistant",
"content": "grep -rl 'unreachable' src"
}
] | single | grep | 17f0d2d1eafcdc1f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List just the filenames under src that contain 'unreachable'."
},
{
"role": "assistant",
"content": "grep -lr 'unreachable' src"
}
] | single | grep | 17f0d2d1eafcdc1f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List just the filenames under src that contain 'unreachable'."
},
{
"role": "assistant",
"content": "grep -r -l 'unreachable' src"
}
] | single | grep | 17f0d2d1eafcdc1f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in templates."
},
{
"role": "assistant",
"content": "du -h templates/* | sort -rh | head -n 10"
}
] | pipeline | du | 292c55c8839d2905 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in templates."
},
{
"role": "assistant",
"content": "du --human-readable templates/* | sort -rh | head -n 10"
}
] | pipeline | du | 292c55c8839d2905 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'npm run build' at a lower priority (nice 10)."
},
{
"role": "assistant",
"content": "nice -n 10 npm run build"
}
] | single | nice | 308ac9c679d3ddac |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Unmount a directory."
},
{
"role": "assistant",
"content": "sudo umount session.tmp"
}
] | single | umount | 4b3de2b0b451de55 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections to www.corp.net."
},
{
"role": "assistant",
"content": "ss -tn dst www.corp.net"
}
] | single | ss | db320d2e87dc7b7f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Append the current date to gc.log."
},
{
"role": "assistant",
"content": "date >> gc.log"
}
] | pipeline | redirection | 4c8cafbc4803f22b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a shell script that runs optipng on every .pdf file in backups, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipef... | script | xargs | 64c4c31d093f46c2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'exception'-related lines in access.log."
},
{
"role": "assistant",
"content": "grep 'exception' access.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | 26de037d72c65ae5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'exception'-related lines in access.log."
},
{
"role": "assistant",
"content": "grep 'exception' access.log | sort | uniq --co... | pipeline | grep | 26de037d72c65ae5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "POST a JSON body to https://api.example.com/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://api.example.com/api... | single | curl | 8522bdac0f40a188 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://api.example.com/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/j... | single | curl | 8522bdac0f40a188 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Archive tmp and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -czf - tmp | ssh tomcat@git.example.org 'cat > /backup/tmp.tar.gz'"
}
] | pipeline | tar | e435d849774a7b86 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "list only the .js files in static"
},
{
"role": "assistant",
"content": "ls static | grep '\\.js$'"
}
] | pipeline | ls | 1805b9b1dee2baf5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://git.example.org/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '{\"n... | single | curl | b209074593720f8b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://git.example.org/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/json' -... | single | curl | b209074593720f8b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show error-level dmesg lines mentioning reset."
},
{
"role": "assistant",
"content": "dmesg --level=err | grep -i reset"
}
] | single | dmesg | 056116c53dfac742 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of project broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 project 2>/dev/null | sort -rh"
}
] | pipeline | du | 7647e52f750663db |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of project broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 project 2>/dev/null | sort -rh"
}
] | pipeline | du | 7647e52f750663db |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want a cleanup script for /var/cache that purges .old files older than 21 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/var/cache\nage=21\n[ -d \"... | script | find | 0da53a1e848332c1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from export.txt."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.txt | sort -u"
}
] | pipeline | sed | d2533701332f0753 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from export.txt."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.txt | sort... | pipeline | sed | d2533701332f0753 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from export.txt."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.txt | sort -u"
}
] | pipeline | sed | d2533701332f0753 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "change permissions to 644 on all files under /var/log"
},
{
"role": "assistant",
"content": "find /var/log -type f -print0 | xargs -0 chmod 644"
}
] | pipeline | find | 99eb0584b73bdc39 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Query a given name server for a NS record of the domain."
},
{
"role": "assistant",
"content": "nslookup -type=NS config.tmp request.xml"
}
] | single | nslookup | 0bf750241eec922e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "download https://auth.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://auth.example.org/list.txt ... | pipeline | curl | 07bffadbc9c9b2d2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://auth.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://auth.example.org/list... | pipeline | curl | 07bffadbc9c9b2d2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Use vmstat's wide output, 5s apart, 3 times."
},
{
"role": "assistant",
"content": "vmstat -w 5 3"
}
] | single | vmstat | eee7442f7f458123 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find all .pdf files under config and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find config -type f -name '*.pdf' -pr... | pipeline | find | 1fc6c774a8a46a48 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the top 15 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 16"
}
] | pipeline | ps | 7cb0784ae8d6af12 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the disk usage of fixtures broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 fixtures 2>/dev/null |... | pipeline | du | cb9707f2158eb318 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of fixtures broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 fixture... | pipeline | du | cb9707f2158eb318 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the process that opened a local internet port."
},
{
"role": "assistant",
"content": "lsof -i :3000"
}
] | single | lsof | ffb9c91c65681dd5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Which files does user deploy have open?"
},
{
"role": "assistant",
"content": "lsof -u deploy"
}
] | single | lsof | 0b2d4f698e26b6b6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Increase/decrease the priority of all processes that belong to a process [g]roup."
},
{
"role": "assistant",
"content": "renice -n 5 -g sudo"
}
] | single | renice | 1e96c9b4d6aff4c2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Please show just the first line in report.log."
},
{
"role": "assistant",
"content": "head -n 1 report.log"
}
] | single | head | e914a7c3524c4d6c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Please show just the first line in report.log."
},
{
"role": "assistant",
"content": "head --lines 1 report.log"
}
] | single | head | e914a7c3524c4d6c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Please show just the first line in report.log."
},
{
"role": "assistant",
"content": "head -1 report.log"
}
] | single | head | e914a7c3524c4d6c |
[
{
"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 mongod process via its exit code."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\np... | script | if | 5258510f42b9f18a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many files are in templates."
},
{
"role": "assistant",
"content": "ls -1 templates | wc -l"
}
] | pipeline | ls | 4810222e05192da2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in templates owned by mysql."
},
{
"role": "assistant",
"content": "find templates -type f -user mysql"
}
] | single | find | 7f2911aa7ea45fde |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in templates owned by mysql."
},
{
"role": "assistant",
"content": "find templates -user mysql -type f"
}
] | single | find | 7f2911aa7ea45fde |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Follow the apache2 journal but only show lines mentioning 'refused'."
},
{
"role": "assistant",
"content": "journalctl -u apache2 -f | grep --li... | pipeline | journalctl | d666d429b95e8b24 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow the apache2 journal but only show lines mentioning 'refused'."
},
{
"role": "assistant",
"content": "journalctl --unit apache2 -f | grep --line-buffered -i 'refused'"
}
] | pipeline | journalctl | d666d429b95e8b24 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the current primary group identity as a number."
},
{
"role": "assistant",
"content": "id admin"
}
] | single | id | 9872efc83269b5a8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in kern.log"
},
{
"role": "assistant",
"content": "grep -i error kern.log | sort -u"
}
] | pipeline | grep | 47840a2e4016b97b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in kern.log"
},
{
"role": "assistant",
"content": "grep --ignore-case error kern.log | sort -u"
}
] | pipeline | grep | 47840a2e4016b97b |
[
{
"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://git.service.io/api/items"
},
{
"role": "assistant",
"content": "curl -s https://git.service.io/api/items | jq '... | pipeline | curl | 63254019507ad221 |
[
{
"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://git.service.io/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://git.service.io/api/items ... | pipeline | curl | 63254019507ad221 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the input offset in hexadecimal and its ASCII representation in two columns."
},
{
"role": "assistant",
"content": "hexdump -C catalog.sh... | single | hexdump | 7fe42c790593d7b0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a backup script that xz-compresses /opt/app into a timestamped tarball under /mnt/backup and keeps only the 7 newest."
},
{
"role": "assistant",
... | script | tar | 4d22feead1fd9c31 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show TCP connections involving auth.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep auth.internal"
}
] | single | netstat | c7c50f50275d0087 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Is anything listening on port 27017?"
},
{
"role": "assistant",
"content": "ss -tlnp sport = :27017"
}
] | single | ss | 85e0f4be953802ef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show backup's process tree with PIDs."
},
{
"role": "assistant",
"content": "pstree -p backup"
}
] | single | pstree | d9d76a421c35abdc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I total the resident memory of all celery processes in MB?"
},
{
"role": "assistant",
"content": "ps -C celery -o rss= | awk '{s+=$1} END{print... | pipeline | ps | 4be0148b815aa02f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://cdn.example.org/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://cdn.example.org/api/users | jq ."
}
] | pipeline | curl | 4f3e5d28abb9f720 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in debug.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' deb... | pipeline | grep | 1d0a3d88d3f9d4ef |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in debug.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG... | pipeline | grep | 1d0a3d88d3f9d4ef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in debug.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBU... | pipeline | grep | 1d0a3d88d3f9d4ef |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Concatenate specific files in reversed order."
},
{
"role": "assistant",
"content": "tac users.html"
}
] | single | tac | 2bafb9565ac461cf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Calculate and save the list of SHA256 checksums to a file."
},
{
"role": "assistant",
"content": "sha256sum output.jpg > e4f5a6b"
}
] | single | sha256sum | de720d678d0c43ce |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show alice's sessions without the header."
},
{
"role": "assistant",
"content": "w -h alice"
}
] | single | w | 98f387bba4ebc294 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count the lines of summary.yaml."
},
{
"role": "assistant",
"content": "wc -l summary.yaml"
}
] | single | wc | 57153e75527ed912 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count the lines of summary.yaml."
},
{
"role": "assistant",
"content": "wc --lines summary.yaml"
}
] | single | wc | 57153e75527ed912 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count the lines of summary.yaml."
},
{
"role": "assistant",
"content": "wc -l < summary.yaml"
}
] | single | wc | 57153e75527ed912 |
[
{
"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 registry.local."
},
{
"role": "assistant",
"content": "netstat -tn | grep registry.local"
}
] | single | netstat | 3752b3585afc69e9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 8727 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 8727"
}
] | single | renice | 47a821c5c4bba495 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Convert tabs in each file to spaces, writing to `stdout`."
},
{
"role": "assistant",
"content": "expand results.sql"
}
] | single | expand | 7c648eb1b2e88e0c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping a host and ring the bell when a packet is received (if your terminal supports it)."
},
{
"role": "assistant",
"content": "ping6 -a 1.1.1.1"
}
] | single | ping6 | 7b390bfc3e1bf352 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find all .bak files under logs."
},
{
"role": "assistant",
"content": "find logs -type f -name '*.bak'"
}
] | single | find | 0c1e57ac4937e1fb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find all .bak files under logs."
},
{
"role": "assistant",
"content": "find logs -name '*.bak' -type f"
}
] | single | find | 0c1e57ac4937e1fb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the public directory."
},
{
"role": "assistant",
"content": "tar -czf public.tar.gz public"
}
] | single | tar | 8076ab8635008b7d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the public directory."
},
{
"role": "assistant",
"content": "tar czf public.tar.gz public"
}
] | single | tar | 8076ab8635008b7d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the public directory."
},
{
"role": "assistant",
"content": "tar -zcf public.tar.gz public"
}
] | single | tar | 8076ab8635008b7d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "download https://www.corp.net/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://www.corp.net/list.txt | wc -l"... | pipeline | curl | 645d6f75a0ec9991 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "download https://www.corp.net/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://www.corp.net/list.txt | wc -l"
}
] | pipeline | curl | 645d6f75a0ec9991 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a bash script that removes each matching file for all .old files under /mnt/storage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | rm | 75604330ceb9b9c3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from output.ini."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' output.ini ... | pipeline | sed | 863338ac879086ce |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from output.ini."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' output.ini | sort -u"
}
] | pipeline | sed | 863338ac879086ce |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from output.ini."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' output.in... | pipeline | sed | 863338ac879086ce |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Check if test.png exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f test.png ] && cat test.png || echo 'not found'"
}
] | pipeline | chain | 5f9fdb0ec170bc2d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List all files opened by vim."
},
{
"role": "assistant",
"content": "lsof -c vim"
}
] | single | lsof | 6b36a196b17ca69e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in response.ini and write to response.ini.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' response.ini > response.ini.csv"
}
] | pipeline | sed | 325e6816c0f64fb8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in request.log mention 'traceback'?"
},
{
"role": "assistant",
"content": "grep -c 'traceback' request.log | cat"
}
] | pipeline | grep | fb57212e732f0e4b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in request.log mention 'traceback'?"
},
{
"role": "assistant",
"content": "grep --count 'traceback' request.log | cat"
}
] | pipeline | grep | fb57212e732f0e4b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://git.internal/api/items"
},
{
"role": "assistant",
"content": "curl -s https://git.internal/api/items | jq 'length'"
}
] | pipeline | curl | 2af937ca6a597294 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://git.internal/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://git.int... | pipeline | curl | 2af937ca6a597294 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set current host name."
},
{
"role": "assistant",
"content": "hostname web01.local"
}
] | single | hostname | 6076a09ba670d897 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many php-fpm processes are running."
},
{
"role": "assistant",
"content": "pgrep -c php-fpm"
}
] | pipeline | pgrep | 67c1a5ad312ae279 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many php-fpm processes are running."
},
{
"role": "assistant",
"content": "pgrep --count php-fpm"
}
] | pipeline | pgrep | 67c1a5ad312ae279 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy a local file to a remote host."
},
{
"role": "assistant",
"content": "scp users.tar.gz cdn.example.com:debug.gz"
}
] | single | scp | a201b929d2cbbb99 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Check if results.tmp exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f results.tmp ] && cat results.tmp || echo 'not found'... | pipeline | chain | a4f325f41548bb88 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the load-average part of uptime."
},
{
"role": "assistant",
"content": "uptime | awk -F'load average:' '{print $2}'"
}
] | single | uptime | 0fe9ae4d625a8af4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Output the first few lines of a file."
},
{
"role": "assistant",
"content": "head 2 20 auth.jpg"
}
] | single | head | ec3103fca76706b3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under dist."
},
{
"role": "assistant",
"content": "du -ah dist | sort -rh | head -n 20"
}
] | pipeline | du | a7dbf41c510af33a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under dist."
},
{
"role": "assistant",
"content": "du -ha dist | sort -rh | head -n 20"
}
] | pipeline | du | a7dbf41c510af33a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the biggest files under dist."
},
{
"role": "assistant",
"content": "du -a -h dist | sort -rh | head -n 20"
}
] | pipeline | du | a7dbf41c510af33a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.