messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many lines in worker.log match 'WARNING'." }, { "role": "assistant", "content": "grep --count 'WARNING' worker.log" } ]
single
grep
6fe070c82fe0af95
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many lines in worker.log match 'WARNING'." }, { "role": "assistant", "content": "grep 'WARNING' worker.log | wc -l" } ]
single
grep
6fe070c82fe0af95
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a symbolic link named latest.log pointing to product.png." }, { "role": "assistant", "content": "ln -s product.png latest.log" } ]
single
ln
0f42a9705ada97cc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create a symbolic link named latest.log pointing to product.png." }, { "role": "assistant", "content": "ln --symbolic product.png latest.log" } ]
single
ln
0f42a9705ada97cc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "download https://backup.corp.net/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://backup.corp.net/list.txt | wc -l" } ]
pipeline
curl
be36399630333765
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "download https://backup.corp.net/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://backup.corp.net/list.txt | ...
pipeline
curl
be36399630333765
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the 10 most common entries in column 7 of orders.tsv?" }, { "role": "assistant", "content": "cut -d, -f7 orders.tsv | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
cut
8b0bbfb246845f23
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find empty files in /home/alice." }, { "role": "assistant", "content": "find /home/alice -type f -empty" } ]
single
find
c60f12fc1fc6c8f2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find empty files in /home/alice." }, { "role": "assistant", "content": "find /home/alice -empty -type f" } ]
single
find
c60f12fc1fc6c8f2
[ { "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 gc.log." }, { "role": "assistant", "content": "awk '{print $1}' gc.log | sort | uniq -c | sort -n...
pipeline
grep
a3f39ddfd9d01a0c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print an integer in bold blue." }, { "role": "assistant", "content": "printf \"data.conf\" 42" } ]
single
printf
f2287e886ad65b62
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given payment.txt, count the lines." }, { "role": "assistant", "content": "cat payment.txt | wc -l" } ]
pipeline
wc
40481067c84344c7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given payment.txt, count the lines." }, { "role": "assistant", "content": "wc -l < payment.txt" } ]
pipeline
wc
40481067c84344c7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the ancestors of process 6718 as a tree." }, { "role": "assistant", "content": "pstree -s 6718" } ]
single
pstree
a89190d252926500
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the process tree for user ubuntu." }, { "role": "assistant", "content": "pstree ubuntu" } ]
single
pstree
b4fa4b7d070d8cf6
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "change permissions to 644 on all files under public" }, { "role": "assistant", "content": "find public -type f -print0 | xargs -0 chmod 644" }...
pipeline
find
d7ff8b420706128f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://www.service.io/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://www.service...
pipeline
curl
a1098eccbf0b58c7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the parent chain leading to PID 8553." }, { "role": "assistant", "content": "pstree -s 8553" } ]
single
pstree
94fa26023fc04a4e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print group memberships for a list of users." }, { "role": "assistant", "content": "groups svc-app" } ]
single
groups
f9b2b53508de54ef
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List open files owned by erin." }, { "role": "assistant", "content": "lsof -u erin" } ]
single
lsof
cb44fa30c4cf74ab
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "resume an interrupted download of https://cdn.corp.net/big.iso" }, { "role": "assistant", "content": "wget -c https://cdn.corp.net/big.iso" } ]
single
wget
e4175339e653dae9
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "resume an interrupted download of https://cdn.corp.net/big.iso" }, { "role": "assistant", "content": "wget --continue https://cdn.corp.net/big.iso" } ]
single
wget
e4175339e653dae9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the docs folder" }, { "role": "assistant", "content": "tar -xzf backup.tar.gz -C docs" } ]
single
tar
063b550233514ca7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract backup.tar.gz into the docs folder" }, { "role": "assistant", "content": "tar xzf backup.tar.gz -C docs" } ]
single
tar
063b550233514ca7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the docs folder" }, { "role": "assistant", "content": "tar -zxf backup.tar.gz -C docs" } ]
single
tar
063b550233514ca7
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "monitor system performance with vmstat every 2 seconds using human-readable units" }, { "role": "assistant", "content": "vmstat -S M 2" } ]
single
vmstat
f136844134bbf345
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find directories named vendor anywhere under /data/uploads." }, { "role": "assistant", "content": "find /data/uploads -type d -name 'vendor'" ...
single
find
656c3283ab0c18a7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find directories named vendor anywhere under /data/uploads." }, { "role": "assistant", "content": "find /data/uploads -name 'vendor' -type d" ...
single
find
656c3283ab0c18a7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List available releases." }, { "role": "assistant", "content": "ls /usr/share/debootstrap/scripts/" } ]
single
ls
b823aed54c6c9516
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sum the values in the first column of a file and print the total." }, { "role": "assistant", "content": "awk '{s+=$1} END {print s}' auth.json" } ]
single
awk
f6d7d8e0c7504082
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Restart mariadb ssh mongod one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefai...
script
for
88fc4a5f1b1a4204
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show TCP connections to db02.service.io." }, { "role": "assistant", "content": "ss -tn dst db02.service.io" } ]
single
ss
a0ebfd08c4869e23
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'OutOfMemory'-related lines in app.log." }, { "role": "assistant", "content": "grep 'OutOfMemory' app.log | sort | uniq -c | sort -nr | head...
pipeline
grep
035475c32957a2f5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common 'OutOfMemory'-related lines in app.log." }, { "role": "assistant", "content": "grep 'OutOfMemory' app.log | sort | uniq -...
pipeline
grep
035475c32957a2f5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "When the method returns or an exception occurs, observe the count property of the second parameter." }, { "role": "assistant", "content": "watch ...
single
watch
ea99a496a76a3b93
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Filter netstat for connections to or from staging.local." }, { "role": "assistant", "content": "netstat -tn | grep staging.local" } ]
single
netstat
249712ada4acf559
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Join two files using a comma (instead of a space) as the field separator." }, { "role": "assistant", "content": "join -t ',' payment.gz audit.css" } ]
single
join
56b0beedddc0e20e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "search all .conf files under src for the word TODO" }, { "role": "assistant", "content": "find src -name '*.conf' -print0 | xargs -0 grep -l TOD...
pipeline
find
8e1503e243c70c4e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Select only the [n]ewest (most recently started) matching process." }, { "role": "assistant", "content": "pgrep -n python3" } ]
single
pgrep
6c134b682f0535d2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the 1nd column of access.log (whitespace separated)." }, { "role": "assistant", "content": "awk '{print $1}' access.log" } ]
single
awk
7301c37f61f4e91c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Append the current date to mail.log." }, { "role": "assistant", "content": "date >> mail.log" } ]
pipeline
redirection
27f970c197f3d70e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Number only the [b]ody lines that match a basic `regex` (BRE) [p]attern." }, { "role": "assistant", "content": "nl -b p'FooBar[0-9]' settings.csv" } ]
single
nl
da351e772c62a496
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Ping a host with IP `10.0.0.1` (Note: `10.0.0.1` can be shortened to `10.1`)." }, { "role": "assistant", "content": "ping 10.0.0.1" } ]
single
ping
54c4e787c9965ee5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to app.log." }, { "role": "assistant", "content": "./backup.sh > app.log 2>&1" } ]
pipeline
redirection
b02d4503c0c0a345
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the disk usage of docs broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 docs 2>/dev/null | sort -rh" } ]
pipeline
du
7ab02545bf8b16c0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the disk usage of docs broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 docs 2>/dev/null | sort -rh" } ]
pipeline
du
7ab02545bf8b16c0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Delay in seconds." }, { "role": "assistant", "content": "sleep 50" } ]
single
sleep
40777f1fddee8d7b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show deploy's sessions without the header." }, { "role": "assistant", "content": "w -h deploy" } ]
single
w
922a629b8b51954f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Is anything listening on port 8000?" }, { "role": "assistant", "content": "ss -tlnp sport = :8000" } ]
single
ss
89ff72512c40f648
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a rotating backup: archive /var/lib/app into /srv/backup with xz, retain 30 copies." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
tar
b1dee4010473ce78
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the process listening on port 3000." }, { "role": "assistant", "content": "lsof -i :3000" } ]
single
lsof
cc22d8b5f61b33a3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG...
pipeline
grep
034ec4a5c8b386c0
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' output.log | sort | uniq -c | sort -nr" } ]
pipeline
grep
034ec4a5c8b386c0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in output.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEB...
pipeline
grep
034ec4a5c8b386c0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Add a timestamp column to vmstat, 10s interval, 20 rounds." }, { "role": "assistant", "content": "vmstat -t 10 20" } ]
single
vmstat
5b22fdb6a1fd7184
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of images" }, { "role": "assistant", "content": "ls -lh images" } ]
single
ls
45b8b70e52dec9b2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of images" }, { "role": "assistant", "content": "ls -hl images" } ]
single
ls
45b8b70e52dec9b2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "give me a human-readable long listing of images" }, { "role": "assistant", "content": "ls -l -h images" } ]
single
ls
45b8b70e52dec9b2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list the distinct error messages in mail.log" }, { "role": "assistant", "content": "grep -i error mail.log | sort -u" } ]
pipeline
grep
18e30e1e36a51a53
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I count how many dockerd processes are running?" }, { "role": "assistant", "content": "pgrep -c dockerd" } ]
pipeline
pgrep
1c010952c91942b4
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I count how many dockerd processes are running?" }, { "role": "assistant", "content": "pgrep --count dockerd" } ]
pipeline
pgrep
1c010952c91942b4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Use a specific username when connecting to the remote host." }, { "role": "assistant", "content": "scp index.sh dave@staging.example.com:cache" } ]
single
scp
a475b336ddd6d88f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "[c]reate an archive and write it to a [f]ile." }, { "role": "assistant", "content": "tar cf config.txt release.csv" } ]
single
tar
7361ef58d16ffb40
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 10 largest subdirectories in tmp." }, { "role": "assistant", "content": "du -h tmp/* | sort -rh | head -n 10" } ]
pipeline
du
b134bf6077003b32
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in tmp." }, { "role": "assistant", "content": "du --human-readable tmp/* | sort -rh | head -n 10" } ]
pipeline
du
b134bf6077003b32
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "From export.ini, show the last 15 lines." }, { "role": "assistant", "content": "cat export.ini | tail -n 15" } ]
pipeline
tail
de2c9784d0ad584a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Remove all decorations except line numbers in the output." }, { "role": "assistant", "content": "bat 2 config.old" } ]
single
bat
1478d2a224ee7564
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Search for a pattern within files." }, { "role": "assistant", "content": "grep \"Connection refused\" test.json" } ]
single
grep
ec696476e756a85f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Case-insensitively find 'panic' in mail.log." }, { "role": "assistant", "content": "grep -i 'panic' mail.log" } ]
single
grep
1fc19430c3a69d53
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Case-insensitively find 'panic' in mail.log." }, { "role": "assistant", "content": "grep --ignore-case 'panic' mail.log" } ]
single
grep
1fc19430c3a69d53
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Ping host without trying to lookup symbolic names for addresses." }, { "role": "assistant", "content": "ping -n auth.corp.net" } ]
single
ping
4a721bf53f3e3592
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Delete the first line of catalog.json in place." }, { "role": "assistant", "content": "sed -i '1d' catalog.json" } ]
single
sed
717c40490e863950
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "POST a JSON body to https://db01.service.io/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://db01.service.io/api...
single
curl
d16bfb51e261f73e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "POST a JSON body to https://db01.service.io/api/users" }, { "role": "assistant", "content": "curl --request POST -H 'Content-Type: application/json' -...
single
curl
d16bfb51e261f73e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Split a file above the first line matching a `regex` pattern." }, { "role": "assistant", "content": "csplit users.zip /deprecated/" } ]
single
csplit
ced7e3f520e10b85
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 20 largest subdirectories of /opt/app." }, { "role": "assistant", "content": "du -h /opt/app/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
0fda0bb62d4b21c0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 20 largest subdirectories of /opt/app." }, { "role": "assistant", "content": "du --human-readable /opt/app/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
0fda0bb62d4b21c0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "For config.html, show the first 20 lines." }, { "role": "assistant", "content": "head -n 20 config.html" } ]
single
head
d643a53cc1663e0f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "For config.html, show the first 20 lines." }, { "role": "assistant", "content": "head --lines 20 config.html" } ]
single
head
d643a53cc1663e0f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "For config.html, show the first 20 lines." }, { "role": "assistant", "content": "head -20 config.html" } ]
single
head
d643a53cc1663e0f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Query a DNS server over a non-standard [p]ort using the TCP protocol." }, { "role": "assistant", "content": "dig +tcp -p 22 @cache.local metrics.old" } ]
single
dig
b38b43d70994ce77
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given credentials.json, count the lines." }, { "role": "assistant", "content": "cat credentials.json | wc -l" } ]
pipeline
wc
295ef5bb58e19496
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write an if that checks connectivity to backup.internal with a single ping." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=backup.internal\nif ping -c1 -W2 \"...
script
if
f40094531ef4bf70
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show kernel notice-level messages." }, { "role": "assistant", "content": "dmesg -l notice" } ]
single
dmesg
b64f9419b46a9ffc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count total lines across all .txt files in backup." }, { "role": "assistant", "content": "find backup -type f -name '*.txt' -print0 | xargs -0 cat | w...
pipeline
find
c7598ffb85957ecd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the current user identity." }, { "role": "assistant", "content": "id deploy" } ]
single
id
6dd77baed69a7670
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head -n 100 archive.txt" } ]
single
head
4324ae68e116698d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head --lines 100 archive.txt" } ]
single
head
4324ae68e116698d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head -100 archive.txt" } ]
single
head
4324ae68e116698d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a start/stop/restart/status control script for redis using a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
case
e4b49cf9db123c8a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Ping a host with specific [c]ount of pings, per-packet time to [W]ait for a response, and total [w]ait time limit of the entire ping run." }, { "role": "assistant", ...
single
ping
e5ba0239284a5e9d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give me a script that iterates over backups/*.html and moves each file into an archive/ subfolder." }, { "role": "assistant", "content": "#!/usr/bin/e...
script
mv
f501bdb56ae1870e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the disk usage of reports broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 reports 2>/dev/null | sort...
pipeline
du
ff4f7f978ef7d746
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the disk usage of reports broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 reports 2>/dev/null | sort -rh" } ]
pipeline
du
ff4f7f978ef7d746
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show TCP connections involving app01.local." }, { "role": "assistant", "content": "netstat -tn | grep app01.local" } ]
single
netstat
20cd0d079d2e77ad
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I/O stats in MB/s every 2s for 5 samples." }, { "role": "assistant", "content": "iostat -m 2 5" } ]
single
iostat
5d63c149793d9ca7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Iterate the hosts in nodes.txt; the script checks if port 22 is open and marks each reachable or not." }, { "role": "assistant", "content": "#!/...
script
ssh
be50e07e103d0421
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the process tree for user tomcat." }, { "role": "assistant", "content": "pstree tomcat" } ]
single
pstree
42a9a8fa9d7e44d0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "From server.yaml, strip trailing whitespace." }, { "role": "assistant", "content": "cat server.yaml | sed 's/[[:space:]]*$//'" } ]
pipeline
sed
c4097cafe42c247a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in backup." }, { "role": "assistant", "content": "du -h backup/* | sort -rh | head -n 10" } ]
pipeline
du
3765935477f3e466