messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create the assets directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p assets && cd assets"
}
] | pipeline | chain | 70ecd909c35c56d3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create the assets directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents assets && cd assets"
}
] | pipeline | chain | 70ecd909c35c56d3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show what PID 6600 has open."
},
{
"role": "assistant",
"content": "lsof -p 6600"
}
] | single | lsof | 2a30b9ae9e6a896a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of config"
},
{
"role": "assistant",
"content": "tar -cjf config.tar.bz2 config"
}
] | single | tar | 771b1607a6849cc1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of config"
},
{
"role": "assistant",
"content": "tar cjf config.tar.bz2 config"
}
] | single | tar | 771b1607a6849cc1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of config"
},
{
"role": "assistant",
"content": "tar -jcf config.tar.bz2 config"
}
] | single | tar | 771b1607a6849cc1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Filter netstat for connections to or from db02.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep db02.corp.net"
}
] | single | netstat | 5c1f3327f7dc212c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a script that verifies the environment variables DB_PASS, API_KEY and REDIS_URL are all set before running."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfo... | script | env | 9594083610d214be |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given summary.tsv, count the lines."
},
{
"role": "assistant",
"content": "cat summary.tsv | wc -l"
}
] | pipeline | wc | 7e46b503a107ab4a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Given summary.tsv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < summary.tsv"
}
] | pipeline | wc | 7e46b503a107ab4a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write to a file interactively."
},
{
"role": "assistant",
"content": "cat > release.js"
}
] | single | cat | 266a8f14319ac03a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the disk usage of migrations broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 migrations 2>/dev/null ... | pipeline | du | 5ddd2867253f8fa0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the disk usage of migrations broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 migrations 2>/dev/null | sort... | pipeline | du | 5ddd2867253f8fa0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://cache.example.org/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://cache.exa... | pipeline | curl | 67734c0a9fed48ae |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://cache.example.org/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://ca... | pipeline | curl | 67734c0a9fed48ae |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Query a given name server on a specific port number for a TXT record of the domain."
},
{
"role": "assistant",
"content": "nslookup -port=80 -type=TXT... | single | nslookup | 4c29a2bc318d40d4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read nodes.txt and for each host, report UP/DOWN based on whether it checks if port 22 is open."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nwhile IFS= read -r h... | script | ssh | ad74d0025c5dfb5e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count total lines across all .sh files in /var/cache."
},
{
"role": "assistant",
"content": "find /var/cache -type f -name '*.sh' -print0 | xargs... | pipeline | find | f4ad9a7aea5d8570 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print the fifth column (a.k.a. field) in a space-separated file."
},
{
"role": "assistant",
"content": "awk '{print $5}' changelog.html"
}
] | single | awk | 349476e81ce63f63 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Abbreviated session info for alice."
},
{
"role": "assistant",
"content": "w -s alice"
}
] | single | w | d9c6ac822177a7b7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display both IP address and reverse DNS name."
},
{
"role": "assistant",
"content": "mtr db02.local product.css"
}
] | single | mtr | eae81ce8001ab3af |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of logs?"
},
{
"role": "assistant",
"content": "du -h logs/* 2>/dev/null | sort -rh | head -n 20"
}
] | pipeline | du | d42b307d545a9ebe |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 20 largest subdirectories of logs?"
},
{
"role": "assistant",
"content": "du --human-readable logs/* 2>/dev/null | sort -rh | head ... | pipeline | du | d42b307d545a9ebe |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "search all .js files under /var/cache for the word TODO"
},
{
"role": "assistant",
"content": "find /var/cache -name '*.js' -print0 | xargs -0 g... | pipeline | find | 484017564c60842b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rank the values of column 1 in gateway.log by frequency, highest first, top 15 only."
},
{
"role": "assistant",
"content": "cut -d, -f1 gateway.l... | pipeline | cut | 424a8d7429977f09 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a frequency tally of column 3 in syslog.log and show the 25 biggest."
},
{
"role": "assistant",
"content": "cut -d, -f3 syslog.log | sort | un... | pipeline | cut | 9db2a7ae747b87a8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show open files for the vim process."
},
{
"role": "assistant",
"content": "lsof -c vim"
}
] | single | lsof | 58366654989567f9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "strip leading whitespace from every line of profile.tsv and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' prof... | pipeline | sed | df8be4d43794f154 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Specify an alternate DNS server to query."
},
{
"role": "assistant",
"content": "host app01.internal manifest.html"
}
] | single | host | 4dc724a6ce38904f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in backup."
},
{
"role": "assistant",
"content": "find backup -type f -empty"
}
] | single | find | cb8f50bda75f0de7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in backup."
},
{
"role": "assistant",
"content": "find backup -empty -type f"
}
] | single | find | cb8f50bda75f0de7 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Start a [l]istener on the specified TCP [p]ort and send a file into it."
},
{
"role": "assistant",
"content": "nc < debug.json -l -p 443"
}
] | single | nc | af6f8c7c2712d6ed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Replace the current crontab with the contents of the given file."
},
{
"role": "assistant",
"content": "crontab results.tmp"
}
] | single | crontab | d89e7ede1bb21740 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Download the contents of a URL to a file (named \"foo\" in this case)."
},
{
"role": "assistant",
"content": "wget error.js"
}
] | single | wget | 90723b62d8170627 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show CPU and disk I/O stats every 10 seconds, 3 times."
},
{
"role": "assistant",
"content": "iostat 10 3"
}
] | single | iostat | af3cdd1ddf30be80 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the disk usage of /srv/www broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /srv/www 2>/dev/null | so... | pipeline | du | 3780cc59945dcd02 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the disk usage of /srv/www broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 /srv/www 2>/... | pipeline | du | 3780cc59945dcd02 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fail fast if any of ENV, DB_HOST, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | env | 3dc2ce339216b25e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to count 'WARNING' occurrences in the apache2 journal today."
},
{
"role": "assistant",
"content": "journalctl -u apache2 --since today --... | pipeline | journalctl | 7d1a32a95a008273 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to count 'WARNING' occurrences in the apache2 journal today."
},
{
"role": "assistant",
"content": "journalctl --unit apache2 --sinc... | pipeline | journalctl | 7d1a32a95a008273 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files in scripts, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la scripts"
}
] | single | ls | 541d360ab6efb6aa |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all files in scripts, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al scripts"
}
] | single | ls | 541d360ab6efb6aa |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files in scripts, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a scripts"
}
] | single | ls | 541d360ab6efb6aa |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .csv files under build and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find build -type f -name '*.csv' ... | pipeline | find | 0155a11a0efadcd9 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find empty files in /var/log."
},
{
"role": "assistant",
"content": "find /var/log -type f -empty"
}
] | single | find | ebe2b644fee2b438 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find empty files in /var/log."
},
{
"role": "assistant",
"content": "find /var/log -empty -type f"
}
] | single | find | ebe2b644fee2b438 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "follow redirects when fetching https://db01.example.com"
},
{
"role": "assistant",
"content": "curl -L https://db01.example.com"
}
] | single | curl | a021e1fdf47e4222 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "follow redirects when fetching https://db01.example.com"
},
{
"role": "assistant",
"content": "curl --location https://db01.example.com"
}
] | single | curl | a021e1fdf47e4222 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "keep watching syslog for new entries and start from the last 15 lines"
},
{
"role": "assistant",
"content": "tail -n 15 -f syslog"
}
] | single | tail | 60729fccb81727ea |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "keep watching syslog for new entries and start from the last 15 lines"
},
{
"role": "assistant",
"content": "tail --lines 15 -f syslog"
}
] | single | tail | 60729fccb81727ea |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show connections on port 11211."
},
{
"role": "assistant",
"content": "netstat -anp | grep :11211"
}
] | single | netstat | 7c8684da5c592407 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Poll memory in MB every 2s, 5 times."
},
{
"role": "assistant",
"content": "free -m -s 2 -c 5"
}
] | single | free | fdf57e1374a78fbd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Poll memory in MB every 2s, 5 times."
},
{
"role": "assistant",
"content": "free --mega -s 2 -c 5"
}
] | single | free | fdf57e1374a78fbd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "list only the .py files in src"
},
{
"role": "assistant",
"content": "ls src | grep '\\.py$'"
}
] | pipeline | ls | 464b4437b853fc72 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create multiple files with an increasing number."
},
{
"role": "assistant",
"content": "touch payload.xml}"
}
] | single | touch | d29bd9957cfde04e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in syslog.log mention 'panic'?"
},
{
"role": "assistant",
"content": "grep -c 'panic' syslog.log | cat"
}
] | pipeline | grep | 8a3116c728766a6a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in syslog.log mention 'panic'?"
},
{
"role": "assistant",
"content": "grep --count 'panic' syslog.log | cat"
}
] | pipeline | grep | 8a3116c728766a6a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print only lines common to both files."
},
{
"role": "assistant",
"content": "comm -12 customer.yaml credentials.bak"
}
] | single | comm | d341391ba5f92c7f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /opt/scripts."
},
{
"role": "assistant",
"content": "du -h /opt/scripts/* 2>/dev/null | sort -rh | head -n... | pipeline | du | 76d9cfddeef7bb8c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 10 largest subdirectories of /opt/scripts."
},
{
"role": "assistant",
"content": "du --human-readable /opt/scripts/* 2>/dev/null | sort -rh | head -n 10"
... | pipeline | du | 76d9cfddeef7bb8c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "follow redirects when fetching https://www.corp.net"
},
{
"role": "assistant",
"content": "curl -L https://www.corp.net"
}
] | single | curl | d47313abf8ae617c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "follow redirects when fetching https://www.corp.net"
},
{
"role": "assistant",
"content": "curl --location https://www.corp.net"
}
] | single | curl | d47313abf8ae617c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Timestamped vmstat every 1s for 5 samples."
},
{
"role": "assistant",
"content": "vmstat -t 1 5"
}
] | single | vmstat | a9a213fb69f340bc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List just the filenames under public that contain 'WARNING'."
},
{
"role": "assistant",
"content": "grep -rl 'WARNING' public"
}
] | single | grep | 08d59d7a44761d40 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List just the filenames under public that contain 'WARNING'."
},
{
"role": "assistant",
"content": "grep -lr 'WARNING' public"
}
] | single | grep | 08d59d7a44761d40 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List just the filenames under public that contain 'WARNING'."
},
{
"role": "assistant",
"content": "grep -r -l 'WARNING' public"
}
] | single | grep | 08d59d7a44761d40 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From export.csv, list the 20 most frequent field-9 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f9 export.csv | sort | u... | pipeline | cut | 58fe8fbe910f392a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a preflight check that REDIS_URL, DB_PASS and AWS_REGION exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in REDIS_URL DB_PA... | script | env | 53bb37b39a114f8e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Connect to a target listener on the specified port and receive a file from it."
},
{
"role": "assistant",
"content": "nc db02.internal 53 > profi... | single | nc | a1b784297c77cdaa |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of src."
},
{
"role": "assistant",
"content": "du -h src/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | 5127924a51e35001 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of src."
},
{
"role": "assistant",
"content": "du --human-readable src/* 2>/dev/null | sort -rh | head -n 5"
... | pipeline | du | 5127924a51e35001 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to show the last 20 lines containing 'TODO' in build.log."
},
{
"role": "assistant",
"content": "grep 'TODO' build.log | tail -n 20"
... | pipeline | grep | c9f9013261e612f0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print all IP addresses assigned to this host."
},
{
"role": "assistant",
"content": "hostname -I"
}
] | single | hostname | 26f4f8b33281e953 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Output char and line number of the first difference between two files."
},
{
"role": "assistant",
"content": "cmp build.zip response.gz"
}
] | single | cmp | ac925896b5287010 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read an erroneous file, skip errors as `dd conv=sync,noerror` would."
},
{
"role": "assistant",
"content": "pv cache.service.io access.png > export.cs... | single | pv | 3069711fdfa2b1c4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up logs to /var/backups as a dated gzip archive, pruning all but the last 10 backups."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | tar | 46819bd8b6121b7f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | pg_dump | 4cf9511c08ee8c56 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display the absolute path for a file or directory."
},
{
"role": "assistant",
"content": "realpath public"
}
] | single | realpath | fb739973d0eab9e3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Make 3 day-stamped folders under /srv/backup using a for loop over a date range."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nbase... | script | for | 46906ce1e4bb2f5c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections to db01.service.io."
},
{
"role": "assistant",
"content": "ss -tn dst db01.service.io"
}
] | single | ss | 22ebab9de9c11ff5 |
[
{
"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 'rejected'?"
},
{
"role": "assistant",
"content": "grep -c 'rejected' nginx-error.log | cat"
}
] | pipeline | grep | 210d2c288779c4be |
[
{
"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 'rejected'?"
},
{
"role": "assistant",
"content": "grep --count 'rejected' nginx-error.log | cat"
}
] | pipeline | grep | 210d2c288779c4be |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Wrap each line to width \"30\"."
},
{
"role": "assistant",
"content": "fold -w30 profile.tmp"
}
] | single | fold | aa8d0150e1f254e3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 7410."
},
{
"role": "assistant",
"content": "pstree -s 7410"
}
] | single | pstree | 1cb39783f742ba08 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in include owned by operator."
},
{
"role": "assistant",
"content": "find include -type f -user operator"
}
] | single | find | d0d45958b5a6724e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find files in include owned by operator."
},
{
"role": "assistant",
"content": "find include -user operator -type f"
}
] | single | find | d0d45958b5a6724e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me the 5 biggest files under dist."
},
{
"role": "assistant",
"content": "find dist -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 5"
}
] | pipeline | find | fbc2c28574305795 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count total lines across all .js files in templates."
},
{
"role": "assistant",
"content": "find templates -type f -name '*.js' -print0 | xargs ... | pipeline | find | ca0435a60dc9f9fa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to list the unique 'panic' messages in build.log."
},
{
"role": "assistant",
"content": "grep 'panic' build.log | sort -u"
}
] | pipeline | grep | 7ba1940df27a1176 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Locate binaries that have [u]nusual [m]anual entries (binaries that have more or less than one manual installed)."
},
{
"role": "assistant",
"content": "whereis -u -m *"
}
] | single | whereis | ee440c87e9e4979a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct 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": "openssl ... | single | openssl | 1de36f21c92b7b52 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of /etc/apache2."
},
{
"role": "assistant",
"content": "du -h /etc/apache2/* 2>/dev/null | sort -rh | head -n 5... | pipeline | du | 267b5e53d18fc54a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of /etc/apache2."
},
{
"role": "assistant",
"content": "du --human-readable /etc/apache2/* 2>/dev/null | sort -rh | head -n 5"
}... | pipeline | du | 267b5e53d18fc54a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Remove all rights from [o]thers."
},
{
"role": "assistant",
"content": "chmod o= settings.tmp"
}
] | single | chmod | 616ba8ed1f47ed9c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me list the PIDs of gunicorn sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C gunicorn -o pid=,rss= --sort=-rss"
}
] | pipeline | ps | cf64d25e2643ba07 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Help me count how many gunicorn processes are running."
},
{
"role": "assistant",
"content": "pgrep -c gunicorn"
}
] | pipeline | pgrep | be2798683aa523e8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Help me count how many gunicorn processes are running."
},
{
"role": "assistant",
"content": "pgrep --count gunicorn"
}
] | pipeline | pgrep | be2798683aa523e8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "From request.csv, count the lines."
},
{
"role": "assistant",
"content": "cat request.csv | wc -l"
}
] | pipeline | wc | be1d952e8e974636 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "From request.csv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < request.csv"
}
] | pipeline | wc | be1d952e8e974636 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check what holds port 3306 with ss."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :3306"
}
] | single | ss | 425744d0aed0b260 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.