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": "recursively search docs for 'exception' and show line numbers"
},
{
"role": "assistant",
"content": "grep -r -n 'exception' docs"
}
] | single | grep | f2772e8b770b1fdf |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "gzip every .log file under modules"
},
{
"role": "assistant",
"content": "find modules -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find | be7c7fd2b1a1bbd4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow live logs for cron."
},
{
"role": "assistant",
"content": "journalctl -u cron -f"
}
] | single | journalctl | 30f42e78928e9b3c |
[
{
"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://cdn.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cdn.example.org/api/items | jq... | pipeline | curl | f9be0e787bdcd5cf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cdn.example.org/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://cdn.example.org/api/items | jq 'length'"
}
] | pipeline | curl | f9be0e787bdcd5cf |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find files matching a given pattern, excluding specific paths."
},
{
"role": "assistant",
"content": "find vendor -name 'manifest.csv' -not -path... | single | find | 142110adee70b3f0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving www.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep www.service.io"
}
] | single | netstat | 9a37ec0ddb804f61 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find any socket using port 5672 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :5672"
}
] | single | netstat | cb1950d85ad746d2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Change the owner of build.json to deploy."
},
{
"role": "assistant",
"content": "sudo chown deploy build.json"
}
] | single | chown | a16cccb50b9a4234 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find directories named bin anywhere under /var/lib/mysql."
},
{
"role": "assistant",
"content": "find /var/lib/mysql -type d -name 'bin'"
}
] | single | find | 80921aef74ffa5cb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find directories named bin anywhere under /var/lib/mysql."
},
{
"role": "assistant",
"content": "find /var/lib/mysql -name 'bin' -type d"
}
] | single | find | 80921aef74ffa5cb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the most recently modified file in migrations."
},
{
"role": "assistant",
"content": "ls -t migrations | head -n 1"
}
] | pipeline | ls | 8f43b9fc8b8473ca |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 5 biggest files under logs?"
},
{
"role": "assistant",
"content": "find logs -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | he... | pipeline | find | 609476fb3110160f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /var/cache."
},
{
"role": "assistant",
"content": "du -h /var/cache/* | sort -rh | head -n 10"
}
] | pipeline | du | 3d63fee3cf477ce5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Select only the [n]ewest (most recently started) matching process."
},
{
"role": "assistant",
"content": "pgrep -n cron"
}
] | single | pgrep | 599d95de2e3842aa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Select only the [n]ewest (most recently started) matching process."
},
{
"role": "assistant",
"content": "pgrep --newest cron"
}
] | single | pgrep | 599d95de2e3842aa |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show fail2ban logs from the last 180 days"
},
{
"role": "assistant",
"content": "journalctl -u fail2ban --since '180 days ago'"
}
] | single | journalctl | bfbb28d5901ad205 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter netstat for connections to or from cache.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep cache.corp.net"
}
] | single | netstat | 410702e53963a619 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many files are in /opt/scripts."
},
{
"role": "assistant",
"content": "ls -1 /opt/scripts | wc -l"
}
] | pipeline | ls | 0d8d4d171c2f5145 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 6358 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 6358"
}
] | single | pstree | 492a9a65bf595efd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Append the current date to dmesg.log."
},
{
"role": "assistant",
"content": "date >> dmesg.log"
}
] | pipeline | redirection | e25f1f1cee20bd94 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Benchmark all available algorithms."
},
{
"role": "assistant",
"content": "openssl speed"
}
] | single | openssl | 2df2248f9510ae43 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 3331."
},
{
"role": "assistant",
"content": "pstree -s 3331"
}
] | single | pstree | d7e17d5ffb19741c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What's bound to port 11211?"
},
{
"role": "assistant",
"content": "lsof -i :11211"
}
] | single | lsof | 9f1441bbbe5d6838 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me how to show the last 10 lines containing 'expired' in nginx-error.log."
},
{
"role": "assistant",
"content": "grep 'expired' nginx-error.log |... | pipeline | grep | e93977e591c24afc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'tar -czf backup.tar.gz /home/deploy' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 tar -czf ba... | single | nice | 5042a8f8fa32bf5c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Connect using a predefined host (in `~/.ssh/config`)."
},
{
"role": "assistant",
"content": "sftp db02.local"
}
] | single | sftp | 6d07dc4e55a47f45 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the first 25 lines of syslog.log."
},
{
"role": "assistant",
"content": "head -n 25 syslog.log"
}
] | single | head | 4481a88b405bf9db |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the first 25 lines of syslog.log."
},
{
"role": "assistant",
"content": "head --lines 25 syslog.log"
}
] | single | head | 4481a88b405bf9db |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the first 25 lines of syslog.log."
},
{
"role": "assistant",
"content": "head -25 syslog.log"
}
] | single | head | 4481a88b405bf9db |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Give [o]thers (not in the file owner's group) the same rights as the [g]roup."
},
{
"role": "assistant",
"content": "chmod o=g manifest.conf"
... | single | chmod | 6c4eba4b5b4bc785 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show every open file under logs."
},
{
"role": "assistant",
"content": "lsof +D logs"
}
] | single | lsof | bf1f342d5265568e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find any socket using port 5000 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :5000"
}
] | single | netstat | 1255c42a76a5fcd3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 5807 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 5807"
}
] | single | renice | 84db4dc0b91a4b9c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://cache.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://cache.internal/api/users | jq -r '.[].nam... | pipeline | curl | aeeb400b078a0fef |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://cache.internal/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://cache.internal/... | pipeline | curl | aeeb400b078a0fef |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files in /var/www owned by jenkins."
},
{
"role": "assistant",
"content": "find /var/www -type f -user jenkins"
}
] | single | find | 9fc49a885602fdfa |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find files in /var/www owned by jenkins."
},
{
"role": "assistant",
"content": "find /var/www -user jenkins -type f"
}
] | single | find | 9fc49a885602fdfa |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show active vs inactive memory using vmstat at 3-second intervals."
},
{
"role": "assistant",
"content": "vmstat -a 3"
}
] | single | vmstat | 2455e175200f69dc |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many unique IP-like first fields appear in audit.log."
},
{
"role": "assistant",
"content": "awk '{print $1}' audit.log | sort | uniq -c | sort -nr"
}
] | pipeline | grep | 4836359f989d6de6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "move all .xml files into the tests directory"
},
{
"role": "assistant",
"content": "mv *.xml tests/"
}
] | single | mv | 20975aae7757e471 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the running sshd processes (excluding the grep itself)."
},
{
"role": "assistant",
"content": "ps aux | grep [s]shd"
}
] | pipeline | ps | 0bedf095f77e9c40 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Start 'make -j4' with nice value 10 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 10 make -j4"
}
] | single | nice | 3cb031ff0376d8d2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Which files does user mysql have open?"
},
{
"role": "assistant",
"content": "lsof -u mysql"
}
] | single | lsof | 7786d33d6bebbb90 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Device-only I/O stats every 3 seconds."
},
{
"role": "assistant",
"content": "iostat -d 3"
}
] | single | iostat | 73a76d7b75c686c7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read archive.log, then keep only non-empty lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat archive.log | grep -v '^$'"
}
] | pipeline | grep | c487ff380ecbe681 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' at a lower priority (nice 1)."
},
{
"role": "assistant",
"content": "nice -n 1 dd if=/dev/zero of=test.img bs=1M count=1024"
}
] | single | nice | ec82109050a8cdbe |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 4806 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 4806"
}
] | single | renice | 4e17eb1b7d5a4b4b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Output count of lines containing matched pattern in a compressed file."
},
{
"role": "assistant",
"content": "zgrep 20 dropped changelog.json"
}
] | single | zgrep | 0dc73711e5e5e68a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Query a given name server for a NS record of the domain."
},
{
"role": "assistant",
"content": "nslookup -type=NS manifest.sql export.sql"
}
] | single | nslookup | 603d08fbea6a2fc0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need getopts handling for three options: -p, -t and -i; print usage on bad input."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | getopts | 619241b6ea220e42 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List connections using port 8080 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :8080 or dport = :8080'"
}
] | single | ss | 5e1e898eef9d55f8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many files are in build."
},
{
"role": "assistant",
"content": "ls -1 build | wc -l"
}
] | pipeline | ls | 8d438081089bf49a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections involving github.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep github.io"
}
] | single | netstat | 15483340b4eb9af6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "count requests per HTTP status code in access.log"
},
{
"role": "assistant",
"content": "awk '{print $9}' access.log | sort | uniq -c | sort -nr"
}
] | pipeline | awk | 77f971eecf0f1f37 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Run vmstat with MB units every 10 seconds for 10 rounds."
},
{
"role": "assistant",
"content": "vmstat -S M 10 10"
}
] | single | vmstat | 55d534455350628f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the children of process 3070."
},
{
"role": "assistant",
"content": "pstree -p 3070"
}
] | single | pstree | 11a544e52c6e0912 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://cdn.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://cdn.example.org/list.txt | w... | pipeline | curl | 20588f3a7942f0d5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://cdn.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://cdn.example.org/list.txt | wc -l"
}
] | pipeline | curl | 20588f3a7942f0d5 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of bin broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 bin 2>/dev/null | sort -rh"
}
] | pipeline | du | 2597e37f60678827 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of bin broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 bin 2>/dev/nu... | pipeline | du | 2597e37f60678827 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Recursively search current directory for a pattern (`regex`)."
},
{
"role": "assistant",
"content": "rg timeout"
}
] | single | rg | 5ff66260f2ac711c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a small script that runs checksum with sha256sum on every .old file in backups, 4 jobs in parallel."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=backup... | script | xargs | 3d63613e25576eaf |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' niced to 5 in the background."
},
{
"role": "assistant",
"content": "nice -n 5 dd if=/dev/zero of=test.img bs=1M ... | single | nice | 1a57bdb61fc88c1b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show connections on port 8443."
},
{
"role": "assistant",
"content": "netstat -anp | grep :8443"
}
] | single | netstat | c2932292c85e60b4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user www-data."
},
{
"role": "assistant",
"content": "pstree www-data"
}
] | single | pstree | 9b2834c1fda49ab8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a backup script that bzip2-compresses backups into a timestamped tarball under /mnt/backup and keeps only the 14 newest."
},
{
"role": "assistant",
"content":... | script | tar | d56a2d484754e6a8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all partitions."
},
{
"role": "assistant",
"content": "sudo blkid"
}
] | single | blkid | 352986c409a363f2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a one-liner to show which processes are listening and on which ports."
},
{
"role": "assistant",
"content": "ss -tlnp | awk 'NR>1 {print $... | pipeline | ss | 9ed7e03d7a002b71 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a Bash script that categorizes a filename by extension using case (is a .gif an image, archive, doc?)."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | case | 5cd394e3aa8e360b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.local/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://registry.lo... | pipeline | curl | 0167bb2d68e40fa4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.local/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://registry.local/api/users | jq ."
}
] | pipeline | curl | 0167bb2d68e40fa4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Check what holds port 5432 with ss."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :5432"
}
] | single | ss | 5ce3a3ae49b823f5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Ping cdn.internal four times and stop."
},
{
"role": "assistant",
"content": "ping -c 4 cdn.internal"
}
] | single | ping | 643623644c76f580 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under public."
},
{
"role": "assistant",
"content": "du -ah public | sort -rh | head -n 20"
}
] | pipeline | du | e435c5fecf668141 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under public."
},
{
"role": "assistant",
"content": "du -ha public | sort -rh | head -n 20"
}
] | pipeline | du | e435c5fecf668141 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under public."
},
{
"role": "assistant",
"content": "du -a -h public | sort -rh | head -n 20"
}
] | pipeline | du | e435c5fecf668141 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many lines in app.log match 'unauthorized'."
},
{
"role": "assistant",
"content": "grep -c 'unauthorized' app.log"
}
] | single | grep | 2a46e90e07e58565 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many lines in app.log match 'unauthorized'."
},
{
"role": "assistant",
"content": "grep --count 'unauthorized' app.log"
}
] | single | grep | 2a46e90e07e58565 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many lines in app.log match 'unauthorized'."
},
{
"role": "assistant",
"content": "grep 'unauthorized' app.log | wc -l"
}
] | single | grep | 2a46e90e07e58565 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Bump process 5289 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 5289"
}
] | single | renice | 0d0f67b3dc130747 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Process all .txt files under /srv/data with checksum with sha256sum using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\n... | script | xargs | 12f190ae8cbdbf18 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Loop over every .log file in static and gzip any that are larger than 10MB."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor f in ... | script | for | 7b1b1f5a9ed47bc2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create the tests directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p tests && cd tests"
}
] | pipeline | chain | 69105f3cd703bc49 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create the tests directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents tests && cd tests"
}
] | pipeline | chain | 69105f3cd703bc49 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List all files in fixtures, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la fixtures"
}
] | single | ls | fa4408b4b1266012 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in fixtures, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al fixtures"
}
] | single | ls | fa4408b4b1266012 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in fixtures, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a fixtures"
}
] | single | ls | fa4408b4b1266012 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://www.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://www.example.org/api/items | jq 'length'"
}
] | pipeline | curl | a11047258bd1987b |
[
{
"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://www.example.org/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://www.example.org/api/item... | pipeline | curl | a11047258bd1987b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rename archive.pdf to archive.pdf.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv -n archive.pdf archive.pdf.old"
... | single | mv | c0e670477501490f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Rename archive.pdf to archive.pdf.old without overwriting if the target already exists."
},
{
"role": "assistant",
"content": "mv --no-clobber archive... | single | mv | c0e670477501490f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create the project directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p project && cd project"
}
] | pipeline | chain | f09a12f2d3440f2b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List routes and do not resolve IP addresses to hostnames."
},
{
"role": "assistant",
"content": "netstat 3"
}
] | single | netstat | 4feddc531ad6d6fb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Case-insensitively find 'permission denied' in audit.log."
},
{
"role": "assistant",
"content": "grep -i 'permission denied' audit.log"
}
] | single | grep | 1df01bb3940e8640 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Case-insensitively find 'permission denied' in audit.log."
},
{
"role": "assistant",
"content": "grep --ignore-case 'permission denied' audit.log"
}
] | single | grep | 1df01bb3940e8640 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Output the first few lines of a file."
},
{
"role": "assistant",
"content": "head -n 10 manifest.tar.gz"
}
] | single | head | 31e91f53ac0698cd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Output the first few lines of a file."
},
{
"role": "assistant",
"content": "head --lines 10 manifest.tar.gz"
}
] | single | head | 31e91f53ac0698cd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Output the first few lines of a file."
},
{
"role": "assistant",
"content": "head -10 manifest.tar.gz"
}
] | single | head | 31e91f53ac0698cd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Perform iterative queries and display the entire trace path to resolve a domain name."
},
{
"role": "assistant",
"content": "dig +trace archive.bak"
}
] | single | dig | 0326fc69ebab1e43 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.