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": "Write a backup script that bzip2-compresses data into a timestamped tarball under /data/backup and keeps only the 14 newest."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo p... | script | tar | 25a8d54a23e0fc03 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show docker logs from the last 1 days"
},
{
"role": "assistant",
"content": "journalctl -u docker --since '1 days ago'"
}
] | single | journalctl | 122a14ce8aabbeee |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show docker logs from the last 1 days"
},
{
"role": "assistant",
"content": "journalctl --unit docker --since '1 days ago'"
}
] | single | journalctl | 122a14ce8aabbeee |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Recursively search current directory for a pattern (`regex`)."
},
{
"role": "assistant",
"content": "rg SIGTERM"
}
] | single | rg | 14c1055a76c610c8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Help me show the top 10 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 11"
}
] | pipeline | ps | 95e9e5d971329a13 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in modules."
},
{
"role": "assistant",
"content": "du -h modules/* | sort -rh | head -n 10"
}
] | pipeline | du | 36336da14674c4e1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in modules."
},
{
"role": "assistant",
"content": "du --human-readable modules/* | sort -rh | head -n 10"
}
] | pipeline | du | 36336da14674c4e1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep -u www-data dockerd"
}
] | single | pgrep | 044894f9bc5e45a5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep --euid www-data dockerd"
}
] | single | pgrep | 044894f9bc5e45a5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the home directory contents of another user."
},
{
"role": "assistant",
"content": "ls ~operator"
}
] | single | ls | e455d4de9c85f9ff |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Can you write a script that dumps every PostgreSQL database into its own gzip file under /var/backups, keeping 30 days?"
},
{
"role": "assistant",
"co... | script | pg_dump | 8767def961d0e427 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the listener on port 9090."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :9090"
}
] | single | ss | 2095ab18c9b2886d |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the last 40 lines of mail.log."
},
{
"role": "assistant",
"content": "tail -n 40 mail.log"
}
] | single | tail | 95d7ac406b4e3b09 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 40 lines of mail.log."
},
{
"role": "assistant",
"content": "tail --lines 40 mail.log"
}
] | single | tail | 95d7ac406b4e3b09 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the last 40 lines of mail.log."
},
{
"role": "assistant",
"content": "tail -40 mail.log"
}
] | single | tail | 95d7ac406b4e3b09 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show www-data's sessions without the header."
},
{
"role": "assistant",
"content": "w -h www-data"
}
] | single | w | f1440c702051e42d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate and save the list of SHA256 checksums to a file."
},
{
"role": "assistant",
"content": "sha256sum server.csv > a1b2c3d"
}
] | single | sha256sum | f08d1e325eed7058 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find the biggest files under project."
},
{
"role": "assistant",
"content": "du -ah project | sort -rh | head -n 20"
}
] | pipeline | du | efdfcd6781705a6b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under project."
},
{
"role": "assistant",
"content": "du -ha project | sort -rh | head -n 20"
}
] | pipeline | du | efdfcd6781705a6b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under project."
},
{
"role": "assistant",
"content": "du -a -h project | sort -rh | head -n 20"
}
] | pipeline | du | efdfcd6781705a6b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common '500'-related lines in nginx-error.log."
},
{
"role": "assistant",
"content": "grep '500' nginx-error.log | sort | uniq ... | pipeline | grep | 54ee0476b7d8376d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give 'ffmpeg -i in.mp4 out.mp4' a boosted CPU priority of -5."
},
{
"role": "assistant",
"content": "sudo nice -n -5 ffmpeg -i in.mp4 out.mp4"
}
] | single | nice | 47d55cb2db2a0f97 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections involving db01.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep db01.internal"
}
] | single | netstat | 2f67fe4a21f188b5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use [k]ibibyte (1024 byte) units when showing size figures."
},
{
"role": "assistant",
"content": "df -k"
}
] | single | df | 6761e53f2f1cdb52 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to follow the mongod journal but only show lines mentioning 'dropped'."
},
{
"role": "assistant",
"content": "journalctl -u mongod -f | grep --... | pipeline | journalctl | 6aefb964b6ec819c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to follow the mongod journal but only show lines mentioning 'dropped'."
},
{
"role": "assistant",
"content": "journalctl --unit mongod -f ... | pipeline | journalctl | 6aefb964b6ec819c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Watch the kernel log live."
},
{
"role": "assistant",
"content": "dmesg -w"
}
] | single | dmesg | 2ed03e26f9929736 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are 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 | 8b477259363363c2 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of bin broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 bin 2>/dev/n... | pipeline | du | 8b477259363363c2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Query for ANY available records using TCP protocol."
},
{
"role": "assistant",
"content": "nslookup -vc -type=ANY product.csv"
}
] | single | nslookup | 21c8bd92f825bcf0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under templates."
},
{
"role": "assistant",
"content": "du -ah templates | sort -rh | head -n 20"
}
] | pipeline | du | d684c0eed29649f8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under templates."
},
{
"role": "assistant",
"content": "du -ha templates | sort -rh | head -n 20"
}
] | pipeline | du | d684c0eed29649f8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the biggest files under templates."
},
{
"role": "assistant",
"content": "du -a -h templates | sort -rh | head -n 20"
}
] | pipeline | du | d684c0eed29649f8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "give me 5 vmstat readings spaced 2 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 2 5"
}
] | single | vmstat | 277267f6a36560f6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many full days has the system been up?"
},
{
"role": "assistant",
"content": "awk '{print int($1/86400)\" days\"}' /proc/uptime"
}
] | single | uptime | 2a853c66b3b2caa0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show only the file name from a path."
},
{
"role": "assistant",
"content": "basename changelog.pdf"
}
] | single | basename | 291f2c39aee8ffd8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the subtree of processes under PID 5662."
},
{
"role": "assistant",
"content": "pstree -p 5662"
}
] | single | pstree | b8199914c3eb76c2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Follow live logs for chronyd."
},
{
"role": "assistant",
"content": "journalctl -u chronyd -f"
}
] | single | journalctl | a869d8b0713ef6e7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Follow live logs for chronyd."
},
{
"role": "assistant",
"content": "journalctl --unit chronyd -f"
}
] | single | journalctl | a869d8b0713ef6e7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Sample iostat 20 times at 5-second intervals."
},
{
"role": "assistant",
"content": "iostat 5 20"
}
] | single | iostat | b1cecc2ee7cbf8d3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .csv files under releases."
},
{
"role": "assistant",
"content": "find releases -type f -name '*.csv'"
}
] | single | find | a7ce9dd46ecf8705 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find all .csv files under releases."
},
{
"role": "assistant",
"content": "find releases -name '*.csv' -type f"
}
] | single | find | a7ce9dd46ecf8705 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Rank the values of column 2 in syslog by frequency, highest first, top 5 only."
},
{
"role": "assistant",
"content": "awk '{print $2}' syslog | sort | uniq -c | sor... | pipeline | awk | 61a808a2b209a748 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given summary.txt, convert everything to uppercase."
},
{
"role": "assistant",
"content": "cat summary.txt | tr 'a-z' 'A-Z'"
}
] | pipeline | tr | 0cab3acd937839e4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `<Ctrl c>`."
},
{
"role": "assistant",
"content": "killall -INT s... | single | killall | 185e06242e4d6c83 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the migrations directory."
},
{
"role": "assistant",
"content": "tar -czf migrations.tar.gz migrations"
}
] | single | tar | 861afaffb7de329c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the migrations directory."
},
{
"role": "assistant",
"content": "tar czf migrations.tar.gz migrations"
}
] | single | tar | 861afaffb7de329c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the migrations directory."
},
{
"role": "assistant",
"content": "tar -zcf migrations.tar.gz migrations"
}
] | single | tar | 861afaffb7de329c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in api.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' api.log | ... | pipeline | grep | 1bcf9832c0cddea3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in api.log."
},
{
"role": "assistant",
"content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' api.l... | pipeline | grep | 1bcf9832c0cddea3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in api.log."
},
{
"role": "assistant",
"content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' ap... | pipeline | grep | 1bcf9832c0cddea3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files by extension."
},
{
"role": "assistant",
"content": "find tmp -name 'settings.png'"
}
] | single | find | 0878f4c45e655dba |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show every open file under data."
},
{
"role": "assistant",
"content": "lsof +D data"
}
] | single | lsof | ecb4040a0605c4db |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Write a script that deletes .log files older than 1 days from /var/tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -eu... | script | find | 4d4f47e8dab01bbd |
[
{
"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://staging.internal/api/items"
},
{
"role": "assistant",
"content": "curl -s https://staging.i... | pipeline | curl | 39e7bac5b647048d |
[
{
"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://staging.internal/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://sta... | pipeline | curl | 39e7bac5b647048d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "send a GET request to https://api.corp.net/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://api.corp.net/api"
}
] | single | curl | 31f491a39937e253 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "send a GET request to https://api.corp.net/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://api.corp.... | single | curl | 31f491a39937e253 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show what PID 5613 has open."
},
{
"role": "assistant",
"content": "lsof -p 5613"
}
] | single | lsof | 6e5df01ea7ff03a4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I total the resident memory of all redis-server processes in MB?"
},
{
"role": "assistant",
"content": "ps -C redis-server -o rss= | awk '{s+=$... | pipeline | ps | b42cc696f97dd4fb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List active (established) sessions on port 9000."
},
{
"role": "assistant",
"content": "lsof -i :9000 -sTCP:ESTABLISHED"
}
] | single | lsof | 27998adfbbb85fed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "give me a human-readable long listing of logs"
},
{
"role": "assistant",
"content": "ls -lh logs"
}
] | single | ls | b13271a5a59d0610 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "give me a human-readable long listing of logs"
},
{
"role": "assistant",
"content": "ls -hl logs"
}
] | single | ls | b13271a5a59d0610 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "give me a human-readable long listing of logs"
},
{
"role": "assistant",
"content": "ls -l -h logs"
}
] | single | ls | b13271a5a59d0610 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Use extended `regex` (supports `?`, `+`, `{}`, `()`, and `|`)."
},
{
"role": "assistant",
"content": "zgrep DEBUG 403 dump.js"
}
] | single | zgrep | 78ceff5e2935cbb0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to count 'disk full' occurrences in the mongod journal today."
},
{
"role": "assistant",
"content": "journalctl -u mongod --since today --... | pipeline | journalctl | 3a375c6f76fa966f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to count 'disk full' occurrences in the mongod journal today."
},
{
"role": "assistant",
"content": "journalctl --unit mongod --since today --n... | pipeline | journalctl | 3a375c6f76fa966f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Can you write a script that deletes files older than 60 days from logs, logging each removal?"
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=logs\nage=60\nf... | script | find | 95d9428df42db220 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a preflight check that PORT, API_KEY and REDIS_URL exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | env | 3601163484e210fd |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the ancestors of process 4260 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 4260"
}
] | single | pstree | e563d3c1afc0f23e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to show the last 50 lines containing 'denied' in access.log."
},
{
"role": "assistant",
"content": "grep 'denied' access.log | tail ... | pipeline | grep | d10aa2abc7ef58cc |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me a script that iterates over /mnt/storage/*.bak and changes the owner of each file to deploy."
},
{
"role": "assistant",
"content": "#!/us... | script | chown | d03a1418440fe572 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "replace tabs with commas in event.log and write to event.log.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' event.log > event.log.csv"
}
] | pipeline | sed | 8ee8e05ef1b95c33 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run iostat -x every 2 seconds and skip zero-activity devices."
},
{
"role": "assistant",
"content": "iostat -xz 2"
}
] | single | iostat | 1437109259e593ae |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a preflight check that PORT, DB_PASS and ENV exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var... | script | env | d6f1a8a8d9fc4154 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Start a new part at every 5th line (will fail if number of lines is not divisible by 5)."
},
{
"role": "assistant",
"content": "csplit sales.zip 5 {*}... | single | csplit | e9c11c4bef9f7ab3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How do I count how many postgres processes are running?"
},
{
"role": "assistant",
"content": "pgrep -c postgres"
}
] | pipeline | pgrep | 8b1f0e76ccd45cc6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find any socket using port 3000 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :3000"
}
] | single | netstat | adbfc3fa7ad90d69 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Recursively find files matching a specific pattern in the current directory."
},
{
"role": "assistant",
"content": "fd \"throttled\""
}
] | single | fd | 2ae35c16f74925a3 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What's bound to port 443?"
},
{
"role": "assistant",
"content": "lsof -i :443"
}
] | single | lsof | d70ac35e8afff499 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "E[x]tract files matching a pattern from an archive [f]ile."
},
{
"role": "assistant",
"content": "tar xf session.log --wildcards \"customer.py\""
}
] | single | tar | 20182b58542e4790 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in reports."
},
{
"role": "assistant",
"content": "du -h reports/* | sort -rh | head -n 10"
}
] | pipeline | du | 3862009d3419eaef |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in reports."
},
{
"role": "assistant",
"content": "du --human-readable reports/* | sort -rh | head -n 10"
}
... | pipeline | du | 3862009d3419eaef |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Background 'tar -czf backup.tar.gz /home/deploy' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 tar -czf backup.tar.gz /home/deploy &"
}
] | single | nice | 7ea4b5e4ed708bbb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the top 20 most frequent values in field 9 of the whitespace-separated file users.csv."
},
{
"role": "assistant",
"content": "awk '{print $9... | pipeline | awk | 5492b6df10bbd50c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in ingest.log mention 'unauthorized'?"
},
{
"role": "assistant",
"content": "grep -c 'unauthorized' ingest.log | cat"
}
] | pipeline | grep | 67b37cbfe4a042cc |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in ingest.log mention 'unauthorized'?"
},
{
"role": "assistant",
"content": "grep --count 'unauthorized' ingest.log | cat"
}
] | pipeline | grep | 67b37cbfe4a042cc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show first 10 lines in a file."
},
{
"role": "assistant",
"content": "head server.png"
}
] | single | head | d86d65f3871192a5 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how often each column-2 value appears in mail.log; show the 10 most common."
},
{
"role": "assistant",
"content": "awk '{print $2}' mail.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | awk | aed1beb19fc3a55f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "See the members of a group."
},
{
"role": "assistant",
"content": "getent group deploy"
}
] | single | getent | 20d54dc124520935 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Mount a specific filesystem described in `/etc/fstab` (e.g. `/dev/sda1 /path/to/mount_point ext2 defaults 0 2`)."
},
{
"role": "assistant",
"con... | single | mount | 98b1a7ecc89a1b5b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "View all logins by a specific user and show the IP address instead of the hostname."
},
{
"role": "assistant",
"content": "last git auth.local"
}
] | single | last | c0f0b98ad5534645 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a script that accepts --tag (-t), --name (-n) and --input (-i) via getopts, with a usage message."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntag=\"\"; n... | script | getopts | 7ba63291510efbd6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the modules directory."
},
{
"role": "assistant",
"content": "tar -czf modules.tar.gz modules"
}
] | single | tar | eda68b0a1a2e1575 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the modules directory."
},
{
"role": "assistant",
"content": "tar czf modules.tar.gz modules"
}
] | single | tar | eda68b0a1a2e1575 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the modules directory."
},
{
"role": "assistant",
"content": "tar -zcf modules.tar.gz modules"
}
] | single | tar | eda68b0a1a2e1575 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write `stdin` to a file."
},
{
"role": "assistant",
"content": "cat - > build.xml"
}
] | single | cat | a6fd65ae3efd93d2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read report.json, then count the lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat report.json | wc -l"
}
] | pipeline | wc | 9d57856637815851 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Read report.json, then count the lines — as a pipeline."
},
{
"role": "assistant",
"content": "wc -l < report.json"
}
] | pipeline | wc | 9d57856637815851 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Parse command-line flags -n (name), -o (output) and -c (count) using getopts and validate that -n is provided."
},
{
"role": "assistant",
"conten... | script | getopts | 53032a92002ebde9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.