messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the last 20 lines of debug.pdf."
},
{
"role": "assistant",
"content": "tail -20 debug.pdf"
}
] | single | tail | 9c7cafd3555ecfd1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me the 5 largest subdirectories of fixtures."
},
{
"role": "assistant",
"content": "du -h fixtures/* 2>/dev/null | sort -rh | head -n 5"
}... | pipeline | du | 4eaf89e8879eac52 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to show the last 50 lines containing 'WARNING' in auth.log."
},
{
"role": "assistant",
"content": "grep 'WARNING' auth.log | tail -n 50"
}
] | pipeline | grep | c9e110aa84db1833 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the disk usage of cache broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 cache 2>/dev/null | sort -rh"
}
... | pipeline | du | a82d5146659beb3e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run vmstat every 1s and stop after 5 samples."
},
{
"role": "assistant",
"content": "vmstat 1 5"
}
] | single | vmstat | f38a8e5f5f9a770c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read the CSV inventory.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=, read -... | script | while | 2b37d0925b9d5b46 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Test if payload.md is present and has content; report missing, empty, or its line count."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefa... | script | if | ee818e60ed3885b4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 15 most common entries in column 2 of products.tsv?"
},
{
"role": "assistant",
"content": "cut -d, -f2 products.tsv | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | cut | 5a5beb58d614ce71 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "move all .bak files into the vendor directory"
},
{
"role": "assistant",
"content": "mv *.bak vendor/"
}
] | single | mv | e3136328f40d4dcf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What's bound to port 8000?"
},
{
"role": "assistant",
"content": "lsof -i :8000"
}
] | single | lsof | 02daf05f9a4c61ee |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Compress a file using the fastest compression."
},
{
"role": "assistant",
"content": "xz -0 event.conf"
}
] | single | xz | e56a9a58fa8975f5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Query for a mail server (MX record) of the domain, showing details of the transaction."
},
{
"role": "assistant",
"content": "nslookup -type=MX -... | single | nslookup | 2cf1de19c667cdf1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me the 5 largest subdirectories of build."
},
{
"role": "assistant",
"content": "du -h build/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | af7bf4b39ce7a9b6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me the 5 largest subdirectories of build."
},
{
"role": "assistant",
"content": "du --human-readable build/* 2>/dev/null | sort -rh | head ... | pipeline | du | af7bf4b39ce7a9b6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Please show the first 20 lines in archive.tmp."
},
{
"role": "assistant",
"content": "head -n 20 archive.tmp"
}
] | single | head | 768f6212b8ce9813 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Please show the first 20 lines in archive.tmp."
},
{
"role": "assistant",
"content": "head --lines 20 archive.tmp"
}
] | single | head | 768f6212b8ce9813 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Please show the first 20 lines in archive.tmp."
},
{
"role": "assistant",
"content": "head -20 archive.tmp"
}
] | single | head | 768f6212b8ce9813 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in app.log mention 'expired'?"
},
{
"role": "assistant",
"content": "grep -c 'expired' app.log | cat"
}
] | pipeline | grep | 4c6919f314a9efb2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in app.log mention 'expired'?"
},
{
"role": "assistant",
"content": "grep --count 'expired' app.log | cat"
}
] | pipeline | grep | 4c6919f314a9efb2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from backup.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.csv | sort -u"
}
] | pipeline | sed | 850a1aeba9bc1db3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from backup.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.csv | sort -u"
}
] | pipeline | sed | 850a1aeba9bc1db3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from backup.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.csv | so... | pipeline | sed | 850a1aeba9bc1db3 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the files opened by process 7030."
},
{
"role": "assistant",
"content": "lsof -p 7030"
}
] | single | lsof | 134d7e1006d60458 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the files opened by process 2226."
},
{
"role": "assistant",
"content": "lsof -p 2226"
}
] | single | lsof | cfb1cc527a3e1446 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 8659 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 8659"
}
] | single | renice | c630a1fc70c59ba1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "which directories under uploads are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 uploads | sort -rh"
}
] | pipeline | du | 73e5b8f88f4346c1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a script that retries a connection to proxy.service.io:5432 up to 5 times, sleeping 5s between attempts."
},
{
"role": "assistant",
"conte... | script | bash | 9fa74b8bfa19a1c9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Copy the given public key to the remote with specific port."
},
{
"role": "assistant",
"content": "ssh-copy-id -i data.png -p 9090 operator@api.... | single | ssh-copy-id | 0aaa651552bddfbe |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in tests."
},
{
"role": "assistant",
"content": "du -h tests/* | sort -rh | head -n 10"
}
] | pipeline | du | 06468138552092ed |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://monitor.internal/api/users"
},
{
"role": "assistant",
"content": "curl -s https://monitor.internal/api/user... | pipeline | curl | d1fdaef5bb8d30d8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://monitor.internal/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://monitor.internal/ap... | pipeline | curl | d1fdaef5bb8d30d8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.log."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.l... | pipeline | sed | 539d08897b1c7990 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.log."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.log | sort -u"
}
] | pipeline | sed | 539d08897b1c7990 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.log."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.log | sort -u"
}... | pipeline | sed | 539d08897b1c7990 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in debug.log mention 'exception'?"
},
{
"role": "assistant",
"content": "grep -c 'exception' debug.log | cat"
}
] | pipeline | grep | 1470ea5955970890 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in debug.log mention 'exception'?"
},
{
"role": "assistant",
"content": "grep --count 'exception' debug.log | cat"
}
] | pipeline | grep | 1470ea5955970890 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print just the PID using port 3306."
},
{
"role": "assistant",
"content": "lsof -i :3306 -t"
}
] | single | lsof | ec71a5018e2a52aa |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Remove the keys of a host from the `known_hosts` file (useful when a known host has a new key)."
},
{
"role": "assistant",
"content": "ssh-keygen -R app01.internal"
}
] | single | ssh-keygen | 006ce223fc9e5e78 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /srv/backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndes... | script | pg_dump | 36671d3c129cd44a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://db01.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://db01.example.com/list.txt | wc -l"
}
] | pipeline | curl | eddb3aff5854efef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://db01.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://db01.example.com/list... | pipeline | curl | eddb3aff5854efef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the output in plain mode, without any gaps between the columns."
},
{
"role": "assistant",
"content": "xxd auth.corp.net auth.txt"
}
] | single | xxd | 3ef4ff66d3fd2bb6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "From summary.log, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat summary.log | tr 'a-z' 'A-Z'"
}
] | pipeline | tr | 281a0c5a54585611 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in request.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEB... | pipeline | grep | 18d45ab76b0b07ec |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in request.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEB... | pipeline | grep | 18d45ab76b0b07ec |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me how to tally how many times each log level appears in request.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' request.log | sort | uniq -c | sort -nr"
}... | pipeline | grep | 18d45ab76b0b07ec |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a Bash script that verifies the environment variables DB_PASS, PORT and REDIS_URL are all set before running."
},
{
"role": "assistant",
"content": "#!/usr/bi... | script | env | ec6a96f38f45d51b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user alice."
},
{
"role": "assistant",
"content": "pstree alice"
}
] | single | pstree | b3235392854b0951 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping a host and ring the bell when a packet is received (if your terminal supports it)."
},
{
"role": "assistant",
"content": "ping6 -a auth.internal"... | single | ping6 | 6a0a363578687a53 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show vmstat in megabytes, 10s interval, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -S M 10 5"
}
] | single | vmstat | fa5cb9e4ba14ba50 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Given access.log, count the lines."
},
{
"role": "assistant",
"content": "cat access.log | wc -l"
}
] | pipeline | wc | ca128181a7cdad14 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given access.log, count the lines."
},
{
"role": "assistant",
"content": "wc -l < access.log"
}
] | pipeline | wc | ca128181a7cdad14 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List open files owned by admin."
},
{
"role": "assistant",
"content": "lsof -u admin"
}
] | single | lsof | c934d8145d809169 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Join field3 of file1 with field1 of file2."
},
{
"role": "assistant",
"content": "join -1 3 -2 1 build.jpg notes.txt"
}
] | single | join | fa89a18c0a12869d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "View the current security context of a file or directory."
},
{
"role": "assistant",
"content": "ls artifacts fixtures"
}
] | single | ls | b4bed18b5e76c769 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print file name and line number for each match with color output."
},
{
"role": "assistant",
"content": "grep 5 --color=always \"traceback\" customer.... | single | grep | 4839faea73a37b6a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Follow live logs for redis."
},
{
"role": "assistant",
"content": "journalctl -u redis -f"
}
] | single | journalctl | 4705019872106c81 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show what PID 6645 has open."
},
{
"role": "assistant",
"content": "lsof -p 6645"
}
] | single | lsof | 5d8cbd9a7aac8ff1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Force kill a process."
},
{
"role": "assistant",
"content": "killall -KILL sshd"
}
] | single | killall | ef4c65e3bb083480 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in gateway.log"
},
{
"role": "assistant",
"content": "grep -i error gateway.log | sort -u"
}
] | pipeline | grep | 2afaa295094ee23a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in gateway.log"
},
{
"role": "assistant",
"content": "grep --ignore-case error gateway.log | sort -u"
}
] | pipeline | grep | 2afaa295094ee23a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of logs"
},
{
"role": "assistant",
"content": "tar -cjf logs.tar.bz2 logs"
}
] | single | tar | 1c8c0c7168a23a79 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of logs"
},
{
"role": "assistant",
"content": "tar cjf logs.tar.bz2 logs"
}
] | single | tar | 1c8c0c7168a23a79 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of logs"
},
{
"role": "assistant",
"content": "tar -jcf logs.tar.bz2 logs"
}
] | single | tar | 1c8c0c7168a23a79 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show nginx logs from the last 180 days"
},
{
"role": "assistant",
"content": "journalctl -u nginx --since '180 days ago'"
}
] | single | journalctl | 7223495cf029f0cf |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show nginx logs from the last 180 days"
},
{
"role": "assistant",
"content": "journalctl --unit nginx --since '180 days ago'"
}
] | single | journalctl | 7223495cf029f0cf |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /var/www."
},
{
"role": "assistant",
"content": "du -h /var/www/* | sort -rh | head -n 10"
}
] | pipeline | du | 93132821e825dd15 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show me the disk usage of releases broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 releases 2>/dev/null | ... | pipeline | du | adca87ef8ec6eb65 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me the disk usage of releases broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 releases 2>/de... | pipeline | du | adca87ef8ec6eb65 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show per-partition stats for sda every 2s."
},
{
"role": "assistant",
"content": "iostat -p sda 2"
}
] | single | iostat | 5715fc50c1198369 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cache.service.io/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cache.service.i... | pipeline | curl | 38f144daf5c595fd |
[
{
"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://cache.service.io/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://cache.service.io/api/it... | pipeline | curl | 38f144daf5c595fd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 2237 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 2237"
}
] | single | renice | 5e63a367e41da4b4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Pull latest code and restart the app service."
},
{
"role": "assistant",
"content": "git pull && sudo systemctl restart myapp"
}
] | pipeline | chain | dfb9e6009f7fe7fe |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Filter the kernel log to notices."
},
{
"role": "assistant",
"content": "dmesg -l notice"
}
] | single | dmesg | 5bf3b9a4b49d91c8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Produce a line for each unpairable line for file1."
},
{
"role": "assistant",
"content": "join -a 1 index.old transaction.log"
}
] | single | join | a3d724e74b98649b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of bin?"
},
{
"role": "assistant",
"content": "du -h bin/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | 07fc481336d0db7d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of bin?"
},
{
"role": "assistant",
"content": "du --human-readable bin/* 2>/dev/null | sort -rh | head -n 5... | pipeline | du | 07fc481336d0db7d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show every open file under /etc/apache2."
},
{
"role": "assistant",
"content": "lsof +D /etc/apache2"
}
] | single | lsof | e7bc64bb7d10d90b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a retry wrapper around git fetch from origin: 4 attempts, 5s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=4\ndel... | script | git | 4797c3e9fb79a84d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What are the disk usage of dist broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 dist 2>/dev/null | sort -rh"
}
] | pipeline | du | 4abf6123320d8138 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of dist broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 dist 2>/dev... | pipeline | du | 4abf6123320d8138 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Read error.md, then show the 20 longest lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat error.md | awk '{ print length, $0 }' | sort -rn | head -20 | cut -d' ' -f2-"
}
] | pipeline | awk | 5d61ba8b1577286c |
[
{
"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 50 proxy.... | single | ping6 | 698e322c106cd449 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to show the last 20 lines containing '403' in gateway.log."
},
{
"role": "assistant",
"content": "grep '403' gateway.log | tail -n 20"
}
] | pipeline | grep | 428a3103ce50f786 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 50 most recent prometheus log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u prometheus -n 50"
}
] | single | journalctl | 5240595ca3142148 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Delete catalog.gz but ask for confirmation first."
},
{
"role": "assistant",
"content": "rm -i catalog.gz"
}
] | single | rm | 3903ae15cb215623 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Delete catalog.gz but ask for confirmation first."
},
{
"role": "assistant",
"content": "rm --interactive catalog.gz"
}
] | single | rm | 3903ae15cb215623 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count total lines across all .sh files in /var/lib/mysql."
},
{
"role": "assistant",
"content": "find /var/lib/mysql -type f -name '*.sh' -print0 | xargs -0 cat | wc -l"
}
] | pipeline | find | 1774f8a7940f0275 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the lastlog record of the specified user."
},
{
"role": "assistant",
"content": "lastlog --user backup"
}
] | single | lastlog | 10f62e6995e017f9 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files in public owned by alice."
},
{
"role": "assistant",
"content": "find public -type f -user alice"
}
] | single | find | d976b1567ba9226e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in public owned by alice."
},
{
"role": "assistant",
"content": "find public -user alice -type f"
}
] | single | find | d976b1567ba9226e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check if notes.csv exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f notes.csv ] && cat notes.csv || ech... | pipeline | chain | cb8333bdf51439fb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that dumps every MySQL database into its own gzip file under /backup/db."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | mysqldump | 5037465fb8dc21ce |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Connect to a target listener on the specified port and receive a file from it."
},
{
"role": "assistant",
"content": "nc mail.corp.net 15672 > request... | single | nc | c19c81f62d01f849 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lookup the IP(s) associated with a hostname (A records)."
},
{
"role": "assistant",
"content": "dig +short payment.png"
}
] | single | dig | b823d5d0a81c1e7d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://db01.internal/api/items"
},
{
"role": "assistant",
"content": "curl -s https://db01.interna... | pipeline | curl | c17254f2db71baeb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://db01.internal/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://db01.i... | pipeline | curl | c17254f2db71baeb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a rotating backup: archive backups into /mnt/backup with bzip2, retain 5 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | tar | 25c4708094e452ff |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 9297 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 9297"
}
] | single | renice | cf3186a105ac028f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.