messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need getopts handling for three options: -p, -d and -i; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nport=\"\"; dir=\"\"; input=\"\"\... | script | getopts | c77eb43c0726e03c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://monitor.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://monitor.service.io/api/users | jq ."
}
] | pipeline | curl | 3ea7e7410f31a025 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://monitor.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://m... | pipeline | curl | 3ea7e7410f31a025 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Display all groups the current user belongs to."
},
{
"role": "assistant",
"content": "id operators"
}
] | single | id | ad1cfdc19cb7b7c3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Number only the body lines that match a basic `regex` (BRE) [p]attern."
},
{
"role": "assistant",
"content": "nl 20 p'FooBar[0-9]' settings.zip"... | single | nl | 13e28c9f557b0e43 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many files are in /opt/app."
},
{
"role": "assistant",
"content": "ls -1 /opt/app | wc -l"
}
] | pipeline | ls | 8152f23936ceebab |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What is this machine's hostname?"
},
{
"role": "assistant",
"content": "hostname"
}
] | single | hostname | 100058a49e4acb9b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "search all .py files under /data/uploads for the word TODO"
},
{
"role": "assistant",
"content": "find /data/uploads -name '*.py' -print0 | xargs -0 g... | pipeline | find | cba0cfcf333312ee |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a script that checks whether containerd is running and starts it if not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=... | script | if | 2a766ed3fc4e5709 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I total the resident memory of all vim processes in MB?"
},
{
"role": "assistant",
"content": "ps -C vim -o rss= | awk '{s+=$1} END{print s/102... | pipeline | ps | 862780f15b3cb378 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a backup script that gzip-compresses /home/deploy into a timestamped tarball under /var/backups and keeps only the 10 newest."
},
{
"role": "a... | script | tar | 67f6f0ba31d375a5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I show the top 5 processes by memory?"
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 6"
}
] | pipeline | ps | 205586e2ff9e11f5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a small script that deletes files older than 5 days from cache, logging each removal."
},
{
"role": "assistant",
"content": "#!/usr/bin/en... | script | find | b1f144a5d389f8ca |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Decompress audit.log.gz."
},
{
"role": "assistant",
"content": "gunzip audit.log.gz"
}
] | single | gzip | b659d2d5d21bda5c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "recursively search modules for 'expired' and show line numbers"
},
{
"role": "assistant",
"content": "grep -rn 'expired' modules"
}
] | single | grep | 6ad1665d2aeb1a5b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "recursively search modules for 'expired' and show line numbers"
},
{
"role": "assistant",
"content": "grep -nr 'expired' modules"
}
] | single | grep | 6ad1665d2aeb1a5b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "recursively search modules for 'expired' and show line numbers"
},
{
"role": "assistant",
"content": "grep -r -n 'expired' modules"
}
] | single | grep | 6ad1665d2aeb1a5b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .zip files under /srv/data with optipng using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | xargs | 12d789516dd72e98 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given report.txt, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat report.txt | tr 'a-z' 'A-Z'"
}
] | pipeline | tr | 9362fe4e47a87663 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Copy payment.txt into assets only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u payment.txt assets/"
}
] | single | cp | 5f7e7dc89d9d5703 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How long has this box been running, in plain words?"
},
{
"role": "assistant",
"content": "uptime -p"
}
] | single | uptime | d6ec00be6c52426e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I list files in /var/log sorted by size?"
},
{
"role": "assistant",
"content": "ls -lS /var/log"
}
] | single | ls | 2c34e48166e1c39b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Rename event.png to event.png.old"
},
{
"role": "assistant",
"content": "mv event.png event.png.old"
}
] | single | mv | 2c17fda683970530 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the PIDs of all apache2 processes."
},
{
"role": "assistant",
"content": "pgrep apache2"
}
] | single | pgrep | 3bdc6d35d81583b6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Remove write permission for group and others on audit.xml."
},
{
"role": "assistant",
"content": "chmod go-w audit.xml"
}
] | single | chmod | c056af426c47e1fc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a health check that reports UP/DOWN for the dockerd process via its exit code."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | if | 11d470422f8542de |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What groups does the current user belong to?"
},
{
"role": "assistant",
"content": "id -Gn"
}
] | single | id | ab557b2c8fe2e06d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'rejected'-related lines in messages."
},
{
"role": "assistant",
"content": "grep 'rejected' messages | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | 726de8670a26e598 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'rejected'-related lines in messages."
},
{
"role": "assistant",
"content": "grep 'rejected' messages | sort | uniq --cou... | pipeline | grep | 726de8670a26e598 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the firewalld journal but only show lines mentioning '403'."
},
{
"role": "assistant",
"content": "journalctl -u firewalld -f | ... | pipeline | journalctl | e78d5f906c1df6d3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to follow the firewalld journal but only show lines mentioning '403'."
},
{
"role": "assistant",
"content": "journalctl --unit firew... | pipeline | journalctl | e78d5f906c1df6d3 |
[
{
"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://auth.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://auth.example.com/api/items | ... | pipeline | curl | 928427b9f564dc55 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the value of the PATH environment variable."
},
{
"role": "assistant",
"content": "echo $PATH"
}
] | single | env | f63311c618267dea |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Check if sales.jpg exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f sales.jpg ] && cat sales.jpg || echo 'not found'"
}
... | pipeline | chain | a2f8c7c7468fb7c8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /data/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | pg_dump | 58700bebae52962c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "search all .gz files under tmp for the word TODO"
},
{
"role": "assistant",
"content": "find tmp -name '*.gz' -print0 | xargs -0 grep -l TODO"
}
] | pipeline | find | e9191c082fe9346a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /var/backups as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/var/backups\nkeep=14\nmkdir... | script | pg_dump | 5467f269952282f0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that converts every .png in the current directory to .jpg using ImageMagick, keeping originals."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | for | b63ed9e3e1cd4fe3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the top 10 processes by memory."
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 11"
}
] | pipeline | ps | a50206bea757f136 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Update all packages with dnf."
},
{
"role": "assistant",
"content": "sudo dnf upgrade -y"
}
] | single | dnf | 9abeb46916e412d2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count 'OutOfMemory' occurrences in the chronyd journal today."
},
{
"role": "assistant",
"content": "journalctl -u chronyd --since today --no-pager | grep -c 'OutOf... | pipeline | journalctl | 3bd0238d5024ec5d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count 'OutOfMemory' occurrences in the chronyd journal today."
},
{
"role": "assistant",
"content": "journalctl --unit chronyd --since today --no... | pipeline | journalctl | 3bd0238d5024ec5d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the first 15 lines of ingest.log."
},
{
"role": "assistant",
"content": "head -n 15 ingest.log"
}
] | single | head | 23ac0b847200d599 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given credentials.tsv, count the lines."
},
{
"role": "assistant",
"content": "cat credentials.tsv | wc -l"
}
] | pipeline | wc | 4e50df089f4b21e6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Given credentials.tsv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < credentials.tsv"
}
] | pipeline | wc | 4e50df089f4b21e6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Help me total the resident memory of all mongod processes in MB."
},
{
"role": "assistant",
"content": "ps -C mongod -o rss= | awk '{s+=$1} END{p... | pipeline | ps | cb952c4db84ad091 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a bash script that makes a .bak copy of each file for all .css files under /data/uploads."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | cp | f8691eef284cf01c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'corrupt'-related lines in audit.log."
},
{
"role": "assistant",
"content": "grep 'corrupt' audit.log | sort | uniq -c | ... | pipeline | grep | df119f2bd7bbb63f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract backup.tar.gz into the dist folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C dist"
}
] | single | tar | a0a75e5ef51c73e4 |
[
{
"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 invoice.log and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' invo... | pipeline | sed | 654a5f252139bdec |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the 5 biggest files under templates."
},
{
"role": "assistant",
"content": "find templates -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | he... | pipeline | find | 0ae45be32878752c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the contents of the reports directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -lt reports"
}
] | single | ls | b91ed4cb2887a08d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me how to count 'SIGTERM' occurrences in the docker journal today."
},
{
"role": "assistant",
"content": "journalctl -u docker --since today... | pipeline | journalctl | cfa5bd67e140589e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to count 'SIGTERM' occurrences in the docker journal today."
},
{
"role": "assistant",
"content": "journalctl --unit docker --since today ... | pipeline | journalctl | cfa5bd67e140589e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Ping staging.example.com four times and stop."
},
{
"role": "assistant",
"content": "ping -c 4 staging.example.com"
}
] | single | ping | 705fc0e070da0edc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write me a script that renames every .htm file in the current directory to .jpg."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | for | 5e0ebe89334a6dbf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "locate files under backup modified in the last 1 days"
},
{
"role": "assistant",
"content": "find backup -type f -mtime -1"
}
] | single | find | ea17e892913b60a8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "locate files under backup modified in the last 1 days"
},
{
"role": "assistant",
"content": "find backup -mtime -1 -type f"
}
] | single | find | ea17e892913b60a8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create and switch to a new branch called main."
},
{
"role": "assistant",
"content": "git checkout -b main"
}
] | single | git | c5697adab630c384 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of assets"
},
{
"role": "assistant",
"content": "tar -cjf assets.tar.bz2 assets"
}
] | single | tar | bd30b50784f9f3b6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of assets"
},
{
"role": "assistant",
"content": "tar cjf assets.tar.bz2 assets"
}
] | single | tar | bd30b50784f9f3b6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of assets"
},
{
"role": "assistant",
"content": "tar -jcf assets.tar.bz2 assets"
}
] | single | tar | bd30b50784f9f3b6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Test if debug.xml is present and has content; report missing, empty, or its line count."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | if | da6805b01eae9329 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the current git status in short form."
},
{
"role": "assistant",
"content": "git status -s"
}
] | single | git | e49e89eba74381f1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the contents of the config directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -lt config"
}
] | single | ls | f52d3cc08bb5b08b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the contents of the config directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -tl config"
}
] | single | ls | f52d3cc08bb5b08b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the contents of the config directory sorted by modification time, newest first."
},
{
"role": "assistant",
"content": "ls -l -t config"
}
... | single | ls | f52d3cc08bb5b08b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the contents of sales.txt to the terminal."
},
{
"role": "assistant",
"content": "cat sales.txt"
}
] | single | cat | c7ed932d45aeb5a4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set notes.old to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 notes.old"
}
] | single | chmod | 31a55c95516e0f2a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check the status of redis."
},
{
"role": "assistant",
"content": "systemctl status redis"
}
] | single | systemctl | 9193a734e6b52a26 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Set order.conf to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 order.conf"
}
] | single | chmod | a5e38d372493590a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Set order.conf to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r order.conf"
}
] | single | chmod | a5e38d372493590a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print gateway.log starting from line 20 to the end."
},
{
"role": "assistant",
"content": "tail -n +20 gateway.log"
}
] | single | tail | a14ae5b52f101205 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print gateway.log starting from line 20 to the end."
},
{
"role": "assistant",
"content": "tail --lines +20 gateway.log"
}
] | single | tail | a14ae5b52f101205 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Recursively set owner and group of docs to ec2-user:deploy."
},
{
"role": "assistant",
"content": "sudo chown -R ec2-user:deploy docs"
}
] | single | chown | 30fd3d0c4c37d965 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print the 1nd column of inventory.csv (whitespace separated)."
},
{
"role": "assistant",
"content": "awk '{print $1}' inventory.csv"
}
] | single | awk | d12eb1c1def8057e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of public"
},
{
"role": "assistant",
"content": "tar -cjf public.tar.bz2 public"
}
] | single | tar | 599fe8783aa4b6ae |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of public"
},
{
"role": "assistant",
"content": "tar cjf public.tar.bz2 public"
}
] | single | tar | 599fe8783aa4b6ae |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of public"
},
{
"role": "assistant",
"content": "tar -jcf public.tar.bz2 public"
}
] | single | tar | 599fe8783aa4b6ae |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "change just the group of schema.tar.gz to deploy"
},
{
"role": "assistant",
"content": "sudo chgrp deploy schema.tar.gz"
}
] | single | chown | 310faa40617fd293 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need per-database MySQL backups written to /data/backup and pruned after 10 days."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/data/backup\nkeep=10\nmkdi... | script | mysqldump | 26da2d11f5c23b3c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From account.yaml, count the lines."
},
{
"role": "assistant",
"content": "cat account.yaml | wc -l"
}
] | pipeline | wc | e4ed01405c2b65d5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in mail.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' mail.log | sort | uniq -c | sor... | pipeline | grep | 1028dac3d8850879 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Case-insensitively find 'traceback' in build.log."
},
{
"role": "assistant",
"content": "grep -i 'traceback' build.log"
}
] | single | grep | c1a7a4505521dce1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Case-insensitively find 'traceback' in build.log."
},
{
"role": "assistant",
"content": "grep --ignore-case 'traceback' build.log"
}
] | single | grep | c1a7a4505521dce1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Move access.jpg into the src folder."
},
{
"role": "assistant",
"content": "mv access.jpg src/"
}
] | single | mv | 065574accb9cdb20 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "gzip every .log file under scripts"
},
{
"role": "assistant",
"content": "find scripts -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find | 21f2b24e0c2f72c3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List all files in cache, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la cache"
}
] | single | ls | 62d6e82128e7b986 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all files in cache, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al cache"
}
] | single | ls | 62d6e82128e7b986 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files in cache, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a cache"
}
] | single | ls | 62d6e82128e7b986 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What's bound to port 2379?"
},
{
"role": "assistant",
"content": "lsof -i :2379"
}
] | single | lsof | 22840539ab4f8071 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find directories named vendor anywhere under build."
},
{
"role": "assistant",
"content": "find build -type d -name 'vendor'"
}
] | single | find | a634a3b1d01fcb0f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find directories named vendor anywhere under build."
},
{
"role": "assistant",
"content": "find build -name 'vendor' -type d"
}
] | single | find | a634a3b1d01fcb0f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show what user ubuntu is currently doing."
},
{
"role": "assistant",
"content": "w ubuntu"
}
] | single | w | fed996088432e3dc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Mirror cache to backup.example.org:/backup deleting files that no longer exist locally."
},
{
"role": "assistant",
"content": "rsync -avz --delete cache/ bob@backup... | single | rsync | 60e2f13eb9f1d5cf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Rename changelog.tmp to changelog.tmp.old"
},
{
"role": "assistant",
"content": "mv changelog.tmp changelog.tmp.old"
}
] | single | mv | 027a7b3efbf32efc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'DEBUG'-related lines in ingest.log."
},
{
"role": "assistant",
"content": "grep 'DEBUG' ingest.log | sort | uniq -c | so... | pipeline | grep | 0a7ed977dfa342af |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'DEBUG'-related lines in ingest.log."
},
{
"role": "assistant",
"content": "grep 'DEBUG' ingest.log | sort | uniq --coun... | pipeline | grep | 0a7ed977dfa342af |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the images directory."
},
{
"role": "assistant",
"content": "tar -czf images.tar.gz images"
}
] | single | tar | 822836e37357cceb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "follow redirects when fetching https://db02.example.com"
},
{
"role": "assistant",
"content": "curl -L https://db02.example.com"
}
] | single | curl | 288d3d8795e820d3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.