messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List just the filenames under reports that contain '500'."
},
{
"role": "assistant",
"content": "grep -lr '500' reports"
}
] | single | grep | b1a42bb7df27ce2c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List just the filenames under reports that contain '500'."
},
{
"role": "assistant",
"content": "grep -r -l '500' reports"
}
] | single | grep | b1a42bb7df27ce2c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which chronyd log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl -u chronyd --no-pager | grep -i failed"
}
] | pipeline | journalctl | 1527341262108ca9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which chronyd log lines mention 'failed'?"
},
{
"role": "assistant",
"content": "journalctl --unit chronyd --no-pager | grep -i failed"
}
] | pipeline | journalctl | 1527341262108ca9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch https://backup.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{ht... | single | curl | b8636c0b11693a32 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch https://backup.example.com/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl --silent -o /dev/null -w '%{http_code}' https://backup.example.com/health"... | single | curl | b8636c0b11693a32 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Select only the [n]ewest (most recently started) matching process."
},
{
"role": "assistant",
"content": "pgrep -n containerd"
}
] | single | pgrep | 5fd46e270c366aae |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Select only the [n]ewest (most recently started) matching process."
},
{
"role": "assistant",
"content": "pgrep --newest containerd"
}
] | single | pgrep | 5fd46e270c366aae |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the 10 biggest files under /srv/www."
},
{
"role": "assistant",
"content": "find /srv/www -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 10"
}
] | pipeline | find | dd0aef65a6408802 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read the CSV transactions.csv 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=, rea... | script | while | 8bedc23b46e34fdc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Edit settings.log in place, replacing 'pending' with 'cron'."
},
{
"role": "assistant",
"content": "sed -i 's/pending/cron/g' settings.log"
}
] | single | sed | 90adafd6d9bf2f59 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Process all .sh files under /mnt/storage with optipng using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | xargs | 82c089faf63b2f89 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Sort payment.tsv numerically in reverse order."
},
{
"role": "assistant",
"content": "sort -nr payment.tsv"
}
] | single | sort | d1affd9c53a14564 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sort payment.tsv numerically in reverse order."
},
{
"role": "assistant",
"content": "sort -rn payment.tsv"
}
] | single | sort | d1affd9c53a14564 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Sort payment.tsv numerically in reverse order."
},
{
"role": "assistant",
"content": "sort -n -r payment.tsv"
}
] | single | sort | d1affd9c53a14564 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Analyze a given directory."
},
{
"role": "assistant",
"content": "ncdu vendor"
}
] | single | ncdu | ab4724aea0f964ea |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate the BLAKE2 checksum for one or more files."
},
{
"role": "assistant",
"content": "b2sum dump.old"
}
] | single | b2sum | 68e2b748e899d59b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Given inventory.json, count the lines."
},
{
"role": "assistant",
"content": "cat inventory.json | wc -l"
}
] | pipeline | wc | 8e15b7e4c1a873b4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given inventory.json, count the lines."
},
{
"role": "assistant",
"content": "wc -l < inventory.json"
}
] | pipeline | wc | 8e15b7e4c1a873b4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving app01.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep app01.internal"
}
] | single | netstat | c3234ffa1ed71da8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From payload.ini, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat payload.ini | sort | uniq -c | sort -nr"... | pipeline | uniq | 27cd146be168d100 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /usr/local/bin."
},
{
"role": "assistant",
"content": "du -h /usr/local/bin/* | sort -rh | head -n 10"
}... | pipeline | du | c6a8166a9ed02025 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /usr/local/bin."
},
{
"role": "assistant",
"content": "du --human-readable /usr/local/bin/* | sort -rh | h... | pipeline | du | c6a8166a9ed02025 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create a timestamp response for request using key and signing certificate and output it to `file.tsr`."
},
{
"role": "assistant",
"content": "op... | single | openssl | e493d2d2d945997a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set current host name."
},
{
"role": "assistant",
"content": "hostname monitor.corp.net"
}
] | single | hostname | 5677a2cf88e877e6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Concatenate specific files in reversed order."
},
{
"role": "assistant",
"content": "tac test.conf"
}
] | single | tac | 279062c33b3f07b0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Perform iterative queries and display the entire trace path to resolve a domain name."
},
{
"role": "assistant",
"content": "dig +trace response.bak"
}
] | single | dig | 046bcdee94669e61 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to show the last 50 lines containing 'retry' in messages."
},
{
"role": "assistant",
"content": "grep 'retry' messages | tail -n 50"
}
] | pipeline | grep | 1d5914d4466fc8f7 |
[
{
"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 | 9702fc112cb0a52b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "move all .old files into the data directory"
},
{
"role": "assistant",
"content": "mv *.old data/"
}
] | single | mv | e3a06476c833d67d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'make -j4' at a lower priority (nice 1)."
},
{
"role": "assistant",
"content": "nice -n 1 make -j4"
}
] | single | nice | bd5d261ad57d5db1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find empty files in tests."
},
{
"role": "assistant",
"content": "find tests -type f -empty"
}
] | single | find | 8ee044435e91bfed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find empty files in tests."
},
{
"role": "assistant",
"content": "find tests -empty -type f"
}
] | single | find | 8ee044435e91bfed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in nginx-error.log mention 'failed'?"
},
{
"role": "assistant",
"content": "grep -c 'failed' nginx-error.log | cat"
}
] | pipeline | grep | 493cf471c7faa74c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Take notes.csv and show the 20 longest lines."
},
{
"role": "assistant",
"content": "cat notes.csv | awk '{ print length, $0 }' | sort -rn | head... | pipeline | awk | e3f7145069c22052 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Given auth.json, sort it and drop duplicate lines."
},
{
"role": "assistant",
"content": "cat auth.json | sort -u"
}
] | pipeline | sort | 046d89bdf141e81a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "show ssh logs from the last 180 days"
},
{
"role": "assistant",
"content": "journalctl -u ssh --since '180 days ago'"
}
] | single | journalctl | 08cd5c383ce22975 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show ssh logs from the last 180 days"
},
{
"role": "assistant",
"content": "journalctl --unit ssh --since '180 days ago'"
}
] | single | journalctl | 08cd5c383ce22975 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in error.log and write to error.log.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' error.log > error.log.csv"
}
] | pipeline | sed | 921563f1d5a17886 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 15 most common entries in column 1 of scheduler.log?"
},
{
"role": "assistant",
"content": "cut -d, -f1 scheduler.log | sort | uniq ... | pipeline | cut | b6dd5ff3544b7ea0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in dmesg.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' dm... | pipeline | grep | 23370a88e5b31608 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in dmesg.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' dm... | pipeline | grep | 23370a88e5b31608 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in dmesg.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' dmesg.... | pipeline | grep | 23370a88e5b31608 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me a script that iterates over logs/*.js and moves each file into an archive/ subfolder."
},
{
"role": "assistant",
"content": "#!/usr/bin/e... | script | mv | c9d64b07960fa485 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Ping host without trying to lookup symbolic names for addresses."
},
{
"role": "assistant",
"content": "ping -n proxy.service.io"
}
] | single | ping | 479faf5f8b31f9d4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List carol's activity, headerless."
},
{
"role": "assistant",
"content": "w -h carol"
}
] | single | w | 207158ebf76f8cda |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to show the last 10 lines containing 'TODO' in auth.log."
},
{
"role": "assistant",
"content": "grep 'TODO' auth.log | tail -n 10"
}
] | pipeline | grep | 03d2f919a57520f5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch https://app01.example.org/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl -s -o /dev/null -w '%{htt... | single | curl | 186f2923e6b47caf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch https://app01.example.org/health and print only the HTTP status code."
},
{
"role": "assistant",
"content": "curl --silent -o /dev/null -w... | single | curl | 186f2923e6b47caf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Sign a file using and ECDSA key."
},
{
"role": "assistant",
"content": "openssl dgst -sign transaction.html -sha256 -out sales.tmp users.csv"
}
] | single | openssl | 8e191890ea835146 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create the public directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p public && cd public"
}
] | pipeline | chain | b3d4c8ebde21e67e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the last 20 kernel log lines with timestamps."
},
{
"role": "assistant",
"content": "dmesg -T | tail -n 20"
}
] | single | dmesg | 358ec5e0f797f3aa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under /data/uploads."
},
{
"role": "assistant",
"content": "du -ah /data/uploads | sort -rh | head -n 20"
}
] | pipeline | du | aeeab27ff82bfe4f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Ping a host, specifying the interval in seconds between requests (default is 1 second)."
},
{
"role": "assistant",
"content": "ping6 -i 100 proxy... | single | ping6 | bdf012f2e2192b55 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Calculate the MD5 checksum for one or more files."
},
{
"role": "assistant",
"content": "md5sum inventory.tar.gz"
}
] | single | md5sum | 10d4972778063aa4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a shell script that generates an nginx config file for example.com using a here-document."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndomain=example.com\n... | script | heredoc | 377066cc3c17a146 |
[
{
"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 kern.log."
},
{
"role": "assistant",
"content": "grep 'not found' kern.log | sort | uniq -c ... | pipeline | grep | d7e4eb23f7d87c6e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'not found'-related lines in kern.log."
},
{
"role": "assistant",
"content": "grep 'not found' kern.log | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | d7e4eb23f7d87c6e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Split a file above the first line matching a `regex` pattern."
},
{
"role": "assistant",
"content": "csplit order.log /segfault/"
}
] | single | csplit | 68a4cbbdeac39135 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in output.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' output.log | sort | uniq... | pipeline | grep | d775239f6c6d9fd0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Check if response.jpg exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f response.jpg ] && cat response.... | pipeline | chain | 8a0c88c154e0bdc8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What is svc-app running right now?"
},
{
"role": "assistant",
"content": "w svc-app"
}
] | single | w | e767e242323aaf8b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "View all logins by a specific user and show the IP address instead of the hostname."
},
{
"role": "assistant",
"content": "last redis auth.example.com... | single | last | 7335113d4971d7e7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to metrics.log."
},
{
"role": "assistant",
"content": "./backup.sh > metrics.log 2>&1"
}
] | pipeline | redirection | 75472da44b490619 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Use a specific SSH private key for authentication with the remote host."
},
{
"role": "assistant",
"content": "scp -i output.jpg export.js git.co... | single | scp | f29ffc5253a95b05 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a shell script that dumps every MySQL database into its own gzip file under /var/backups, keeping 10 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndes... | script | mysqldump | 60612b9eb1169025 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output)."
},
{
"role": "assistant",
"content": "jq '.' ca... | single | jq | 3c9f8026c3f94c21 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many lines in api.log match '500'."
},
{
"role": "assistant",
"content": "grep -c '500' api.log"
}
] | single | grep | 3f221c85155922e5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many lines in api.log match '500'."
},
{
"role": "assistant",
"content": "grep --count '500' api.log"
}
] | single | grep | 3f221c85155922e5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many lines in api.log match '500'."
},
{
"role": "assistant",
"content": "grep '500' api.log | wc -l"
}
] | single | grep | 3f221c85155922e5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that accepts --name (-n), --count (-c) and --port (-p) via getopts, with a usage message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\... | script | getopts | 88da6f6a52fd9255 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers."
},
{
"role": "assistant",
"content": "lsof -i6TCP:5432 -sTCP... | single | lsof | a14520def5331d2f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Number non-blank lines in a file."
},
{
"role": "assistant",
"content": "nl response.tmp"
}
] | single | nl | c6d7176d6bb29bac |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep -u admin haproxy"
}
] | single | pgrep | 2f7924f66fd32e6a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep --euid admin haproxy"
}
] | single | pgrep | 2f7924f66fd32e6a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Download the contents of a URL to a file (named \"foo\" in this case)."
},
{
"role": "assistant",
"content": "wget product.csv"
}
] | single | wget | 17efa01ae73a7ced |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from api.example.org."
},
{
"role": "assistant",
"content": "netstat -tn | grep api.example.org"
}
] | single | netstat | 22380b18270eec46 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to show the last 10 lines containing 'WARNING' in build.log."
},
{
"role": "assistant",
"content": "grep 'WARNING' build.log | tail -n 10"
}
] | pipeline | grep | 85de4ae9ecd6377c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Move a file or directory into an existing directory."
},
{
"role": "assistant",
"content": "mv product.md migrations"
}
] | single | mv | e9f03ac386c411bb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From debug.json, count the lines."
},
{
"role": "assistant",
"content": "cat debug.json | wc -l"
}
] | pipeline | wc | f859d1f5c961e29a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From debug.json, count the lines."
},
{
"role": "assistant",
"content": "wc -l < debug.json"
}
] | pipeline | wc | f859d1f5c961e29a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Generate a hexdump from a binary file and display the output."
},
{
"role": "assistant",
"content": "xxd changelog.gz"
}
] | single | xxd | 3d08ab40da395fae |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Clean up logs: remove .old files not modified in 2 days, recording each deletion."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=logs\nage=2\n[ -d \"$target... | script | find | 5375baca875d5af8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Check if test.zip exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f test.zip ] && cat test.zip || echo 'not found'"
}
] | pipeline | chain | af95fc62e3660937 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to list the unique 'ERROR' messages in syslog.log."
},
{
"role": "assistant",
"content": "grep 'ERROR' syslog.log | sort -u"
}
] | pipeline | grep | 2cfb9696573e6aef |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Query a given name server for a NS record of the domain."
},
{
"role": "assistant",
"content": "nslookup -type=NS account.xml credentials.sql"
}
] | single | nslookup | a9a68a5f31aa04f0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from export.md."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.md | sort -u"
}
] | pipeline | sed | dca13d136cfcad9c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from export.md."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.md | sort -... | pipeline | sed | dca13d136cfcad9c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from export.md."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' export.md |... | pipeline | sed | dca13d136cfcad9c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to show the last 10 lines containing 'panic' in debug.log."
},
{
"role": "assistant",
"content": "grep 'panic' debug.log | tail -n 10"
... | pipeline | grep | e0bc7b21204647dd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://db02.corp.net/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://db02.corp.net/list.txt | wc -l"
}
] | pipeline | curl | f92c6b7fc8d92dfb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://db02.corp.net/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://db02.corp.net/list.txt |... | pipeline | curl | f92c6b7fc8d92dfb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://db02.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://db02.example.com/api/users | jq ."
}
] | pipeline | curl | d41017874dc9f0dc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in scripts."
},
{
"role": "assistant",
"content": "du -h scripts/* | sort -rh | head -n 10"
}
] | pipeline | du | ec3abcdf071892b4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in scripts."
},
{
"role": "assistant",
"content": "du --human-readable scripts/* | sort -rh | head -n 10"
}
] | pipeline | du | ec3abcdf071892b4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Connect using a predefined host (in `~/.ssh/config`)."
},
{
"role": "assistant",
"content": "sftp cdn.corp.net"
}
] | single | sftp | 9a52bed62ef4a007 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Change the owner group of a file/directory to match a reference file."
},
{
"role": "assistant",
"content": "chgrp --reference export.css docs"
... | single | chgrp | 9ca98a29098e9cb7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving www.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep www.internal"
}
] | single | netstat | 940e2a62ecb2a8ce |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Change the owner of a file/directory to match a reference file."
},
{
"role": "assistant",
"content": "sudo chown --reference account.py releases"
}
] | single | chown | bdfdb558c462839f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give me 30 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 30"
}
] | single | vmstat | 4d127d9f7c770396 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.