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": "locate files under config modified in the last 21 days"
},
{
"role": "assistant",
"content": "find config -type f -mtime -21"
}
] | single | find | 6e6d64196b13bb08 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "locate files under config modified in the last 21 days"
},
{
"role": "assistant",
"content": "find config -mtime -21 -type f"
}
] | single | find | 6e6d64196b13bb08 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show lines in auth.log that do NOT contain 'DEBUG'."
},
{
"role": "assistant",
"content": "grep -v 'DEBUG' auth.log"
}
] | single | grep | 007a08f8d3728aca |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show lines in auth.log that do NOT contain 'DEBUG'."
},
{
"role": "assistant",
"content": "grep --invert-match 'DEBUG' auth.log"
}
] | single | grep | 007a08f8d3728aca |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to follow the mongod journal but only show lines mentioning 'unreachable'."
},
{
"role": "assistant",
"content": "journalctl -u mongod -f... | pipeline | journalctl | cb2e02f472ba9fc0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to follow the mongod journal but only show lines mentioning 'unreachable'."
},
{
"role": "assistant",
"content": "journalctl --unit mongod -f | grep --line-buffered -i 'unreachable'"
}
] | pipeline | journalctl | cb2e02f472ba9fc0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Join field3 of file1 with field1 of file2."
},
{
"role": "assistant",
"content": "join -1 3 -2 1 error.sh dump.log"
}
] | single | join | b0018b798a837545 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Poll memory in MB every 3s, 10 times."
},
{
"role": "assistant",
"content": "free -m -s 3 -c 10"
}
] | single | free | 80322bcd4d00066a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Poll memory in MB every 3s, 10 times."
},
{
"role": "assistant",
"content": "free --mega -s 3 -c 10"
}
] | single | free | 80322bcd4d00066a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Delete the first line of release.log in place."
},
{
"role": "assistant",
"content": "sed -i '1d' release.log"
}
] | single | sed | 6b0493f25101c6e4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From order.md, show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat order.md | awk '{ print length, $0 }' | sort -rn | head -20 | cut... | pipeline | awk | 1897cf4e60cbb106 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "kill every process listening on port 3000"
},
{
"role": "assistant",
"content": "lsof -ti :3000 | xargs -r kill -9"
}
] | pipeline | xargs | 6940c44de89cdfff |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show postgresql logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl -u postgresql --since '5 days ago'"
}
] | single | journalctl | a9b15b86c5e28179 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show postgresql logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl --unit postgresql --since '5 days ago'"
}
] | single | journalctl | a9b15b86c5e28179 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 10 most common entries in column 5 of orders.csv?"
},
{
"role": "assistant",
"content": "cut -d, -f5 orders.csv | sort | uniq -c | s... | pipeline | cut | 955fd84ac7801884 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping a host only a specific number of times."
},
{
"role": "assistant",
"content": "ping6 -c 50 cdn.example.com"
}
] | single | ping6 | 8007272c2ce92162 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the contents of the file and display a progress bar."
},
{
"role": "assistant",
"content": "pv profile.html"
}
] | single | pv | 372c4e67d74b86bc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display information about the filesystem where a specific file is located."
},
{
"role": "assistant",
"content": "stat results.tmp config.html"
... | single | stat | 51c5a11b1dcd6c60 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract specific files from an archive."
},
{
"role": "assistant",
"content": "unzip -j release.sql.zip export.log"
}
] | single | unzip | e118fb04c4678e08 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "list only the .js files in migrations"
},
{
"role": "assistant",
"content": "ls migrations | grep '\\.js$'"
}
] | pipeline | ls | 8727c823af12e471 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Process all .jpg files under logs with optipng using 2 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=logs\nfind \"$dir\" -type f -... | script | xargs | 2c411801c72d9752 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to list the unique 'DEBUG' messages in syslog.log."
},
{
"role": "assistant",
"content": "grep 'DEBUG' syslog.log | sort -u"
}
] | pipeline | grep | 1c0e86efa0690065 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show first 10 lines of multiple files."
},
{
"role": "assistant",
"content": "head transaction.sh"
}
] | single | head | 1f1c0ed1d146364a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nanswer=\"${1:-no}\"\... | script | case | d93d5568cc22cd14 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "recursively search docs for 'stale' and show line numbers"
},
{
"role": "assistant",
"content": "grep -rn 'stale' docs"
}
] | single | grep | 8ccd5738d4445655 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "recursively search docs for 'stale' and show line numbers"
},
{
"role": "assistant",
"content": "grep -nr 'stale' docs"
}
] | single | grep | 8ccd5738d4445655 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "recursively search docs for 'stale' and show line numbers"
},
{
"role": "assistant",
"content": "grep -r -n 'stale' docs"
}
] | single | grep | 8ccd5738d4445655 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show just the first line of migration.yaml."
},
{
"role": "assistant",
"content": "head -n 1 migration.yaml"
}
] | single | head | 42eff964ec367232 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show just the first line of migration.yaml."
},
{
"role": "assistant",
"content": "head --lines 1 migration.yaml"
}
] | single | head | 42eff964ec367232 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show just the first line of migration.yaml."
},
{
"role": "assistant",
"content": "head -1 migration.yaml"
}
] | single | head | 42eff964ec367232 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://auth.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://auth.internal/api/users | jq -r '.[].name'... | pipeline | curl | 7c8b9b977754b392 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://auth.internal/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://auth.internal/api/users | jq -r '.[]... | pipeline | curl | 7c8b9b977754b392 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the output in plain mode, without any gaps between the columns."
},
{
"role": "assistant",
"content": "xxd app01.service.io config.pdf"
... | single | xxd | d129130f11c95aa5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving staging.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep staging.corp.net"
}
] | single | netstat | 63abb734115edf77 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sample free 5 times at 2-second intervals in megabytes."
},
{
"role": "assistant",
"content": "free -m -s 2 -c 5"
}
] | single | free | 6856a989d6be9078 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "strip leading whitespace from every line of archive.yaml and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' archive.yaml > clean.t... | pipeline | sed | 3a9367fdf2e4211d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give me a frequency tally of column 9 in export.csv and show the 5 biggest."
},
{
"role": "assistant",
"content": "cut -d, -f9 export.csv | sort... | pipeline | cut | 0628803cf39867bb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "search all .cache files under static for the word TODO"
},
{
"role": "assistant",
"content": "find static -name '*.cache' -print0 | xargs -0 grep -l T... | pipeline | find | 89f4b0a85191d469 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping a host without trying to lookup symbolic names for addresses."
},
{
"role": "assistant",
"content": "ping6 -n git.internal"
}
] | single | ping6 | 8f85b42303efeecc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter netstat for connections to or from cdn.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep cdn.service.io"
}
] | single | netstat | 1848e335550cf00c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Parse command-line flags -l (level), -c (count) and -n (name) using getopts and validate that -l is provided."
},
{
"role": "assistant",
"content... | script | getopts | 0f33adac7f4a300b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in auth.json and write to auth.json.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' auth.json > auth.json.csv"
}
] | pipeline | sed | e0a925b1ab28f355 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving app01.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep app01.example.org"
}
] | single | netstat | 12910ee304778c4a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Mount a device to a directory."
},
{
"role": "assistant",
"content": "mount customer.yaml media"
}
] | single | mount | 6615dbc1ebd0e1b8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract files/directories from archives to `stdout` alongside the extracted file names."
},
{
"role": "assistant",
"content": "unzip -c localhost"
}
] | single | unzip | 62e01340abcef377 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "move all .jpg files into the vendor directory"
},
{
"role": "assistant",
"content": "mv *.jpg vendor/"
}
] | single | mv | b5ba84e6c176e985 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show dave's sessions without the header."
},
{
"role": "assistant",
"content": "w -h dave"
}
] | single | w | 8775f2257fa187fc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Only output the process ID (PID)."
},
{
"role": "assistant",
"content": "lsof -t settings.tar.gz"
}
] | single | lsof | cfb1546bbadcfa00 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'not found'-related lines in cron.log."
},
{
"role": "assistant",
"content": "grep 'not found' cron.log | sort | uniq -c | sor... | pipeline | grep | 994b9a80671758b4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'not found'-related lines in cron.log."
},
{
"role": "assistant",
"content": "grep 'not found' cron.log | sort | uniq --c... | pipeline | grep | 994b9a80671758b4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Number only the [b]ody lines that match a basic `regex` (BRE) [p]attern."
},
{
"role": "assistant",
"content": "nl -b p'FooBar[0-9]' changelog.t... | single | nl | b0f406ad475a9d02 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the hexadecimal representation of a file, but interpret only a specific number of bytes of the input."
},
{
"role": "assistant",
"content": "hexdump -C -n 10 debug.zip"
}
] | single | hexdump | 647c2812c3916573 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show open files for the postgres process."
},
{
"role": "assistant",
"content": "lsof -c postgres"
}
] | single | lsof | 992bf123fe59e0c2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a script that loops over every .md file in logs and moves each file into an archive/ subfolder."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=logs\nfor... | script | mv | 930ef7a19c6f34cc |
[
{
"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://mail.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://mail.exam... | pipeline | curl | a2209660ba1cf16f |
[
{
"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://mail.example.com/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://mail.example.com/api/it... | pipeline | curl | a2209660ba1cf16f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Get a detailed answer for a given domain (A records)."
},
{
"role": "assistant",
"content": "dig +noall +answer test.conf"
}
] | single | dig | 14127c22977b560d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from build.conf."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.conf | sort -u"
}
] | pipeline | sed | 74736e26fb5806f1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from build.conf."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.conf ... | pipeline | sed | 74736e26fb5806f1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from build.conf."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.conf | so... | pipeline | sed | 74736e26fb5806f1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Receive data through a named pipe."
},
{
"role": "assistant",
"content": "cat cdn.example.com"
}
] | single | cat | 2e5b8638324ba6cb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Follow the cron journal but only show lines mentioning 'overflow'."
},
{
"role": "assistant",
"content": "journalctl -u cron -f | grep --line-buf... | pipeline | journalctl | d1c1ea198dd8ba46 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to count 'not found' occurrences in the redis journal today."
},
{
"role": "assistant",
"content": "journalctl -u redis --since today --no... | pipeline | journalctl | e571c8547e788734 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to count 'not found' occurrences in the redis journal today."
},
{
"role": "assistant",
"content": "journalctl --unit redis --since today --no-pager | grep -c 'not found'"
}
] | pipeline | journalctl | e571c8547e788734 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Test if response.sh is present and has content; report missing, empty, or its line count."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | if | 989d339f42c39b0d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://app01.local/api/users"
},
{
"role": "assistant",
"content": "curl -s https://app01.local/api/users | j... | pipeline | curl | 8101647710b89966 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://app01.local/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://app01.local/api/users | ... | pipeline | curl | 8101647710b89966 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Verify a timestamp request file and a timestamp response file from the server with an SSL certificate file."
},
{
"role": "assistant",
"content"... | single | openssl | 5aca8b2b8e25d56a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count error lines in the docker journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u docker --since yesterday | grep -ic... | pipeline | journalctl | 667550eb0eaf6a00 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count error lines in the docker journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl --unit docker --since yesterday | grep -ic ... | pipeline | journalctl | 667550eb0eaf6a00 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the current primary group identity."
},
{
"role": "assistant",
"content": "id www-data"
}
] | single | id | 03fc3ad76be142af |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Remove specific directories."
},
{
"role": "assistant",
"content": "rmdir releases"
}
] | single | rmdir | ddc4e4ce76db896c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that runs gzip on every .txt file in backups, 8 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | xargs | accb8f7fd6b4be08 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List open files in a directory."
},
{
"role": "assistant",
"content": "lsof +D logs"
}
] | single | lsof | f0fb332a6db98e14 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "[Interactive] Rename a file on the remote server."
},
{
"role": "assistant",
"content": "mv build.json profile.css"
}
] | single | mv | b09c45947bb50352 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving api.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep api.service.io"
}
] | single | netstat | c96be56f111d007c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "locate files under /etc/nginx modified in the last 5 days"
},
{
"role": "assistant",
"content": "find /etc/nginx -type f -mtime -5"
}
] | single | find | d9f73741139e8bb3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "locate files under /etc/nginx modified in the last 5 days"
},
{
"role": "assistant",
"content": "find /etc/nginx -mtime -5 -type f"
}
] | single | find | d9f73741139e8bb3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"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/bin/env bash\nset -euo pipefail\nwhile IFS=, read -... | script | while | 9f79a5debe389dce |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Terminate a process using the default SIGTERM (terminate) signal."
},
{
"role": "assistant",
"content": "killall postgres"
}
] | single | killall | 3ca87704669afc2b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in metrics.log mention 'not found'?"
},
{
"role": "assistant",
"content": "grep -c 'not found' metrics.log | cat"
}
] | pipeline | grep | 5145d79c379ab218 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in metrics.log mention 'not found'?"
},
{
"role": "assistant",
"content": "grep --count 'not found' metrics.log | cat"
}
] | pipeline | grep | 5145d79c379ab218 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Transfer a file (use `--dry-run` to simulate the transfer)."
},
{
"role": "assistant",
"content": "rsync sales.pdf customer.log"
}
] | single | rsync | 97d31314f2bd47dd |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Query for a mail server (MX record) of the domain, showing details of the transaction."
},
{
"role": "assistant",
"content": "nslookup -type=MX -debug... | single | nslookup | 10001130ad29b4cd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "[Interactive] Dump raw bytes of current block to a file."
},
{
"role": "assistant",
"content": "pr > notes.md"
}
] | single | pr | cd511d9b1ee70d0d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a script that retries a git fetch from origin up to 10 times, sleeping 5s between attempts."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=10\ndelay=5\n... | script | git | 4ffd67ee91a16d7b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in bin, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la bin"
}
] | single | ls | adfc75ecdcfd2e28 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all files in bin, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al bin"
}
] | single | ls | adfc75ecdcfd2e28 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files in bin, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a bin"
}
] | single | ls | adfc75ecdcfd2e28 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print logged in usernames according to a given file."
},
{
"role": "assistant",
"content": "users request.js"
}
] | single | users | 8f1c63b32ce25acb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://github.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://github.com/api/items ... | pipeline | curl | 95cbd755cfd0ac57 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://github.com/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://github.com/api/... | pipeline | curl | 95cbd755cfd0ac57 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to follow the cron journal but only show lines mentioning 'not found'."
},
{
"role": "assistant",
"content": "journalctl -u cron -f | grep --line-buffer... | pipeline | journalctl | 474e4ebaee9f8439 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to follow the cron journal but only show lines mentioning 'not found'."
},
{
"role": "assistant",
"content": "journalctl --unit cron -f | grep --line-buffered -i 'not found'"
}
] | pipeline | journalctl | 474e4ebaee9f8439 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the top 25 most frequent values in field 5 of the whitespace-separated file ingest.log."
},
{
"role": "assistant",
"content": "awk '{print $... | pipeline | awk | 5902fc98c72d7cc5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Format output using printf-like format string."
},
{
"role": "assistant",
"content": "hexdump -e 'data.csv' dump.md"
}
] | single | hexdump | 07920bb709b1fb9d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .old files under /etc/nginx and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /etc/nginx -type f -nam... | pipeline | find | 8dfc32d156e200c6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter netstat for connections to or from mail.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep mail.service.io"
}
] | single | netstat | 0a9d539f254e809c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create specific directories."
},
{
"role": "assistant",
"content": "mkdir src"
}
] | single | mkdir | 4256150d94aab5c1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 10 lines containing '404' in server.log."
},
{
"role": "assistant",
"content": "grep '404' server.log | tail -n 10"
}
] | pipeline | grep | 3523d0c0d618d9a4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.