messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "search all .css files under bin for the word TODO" }, { "role": "assistant", "content": "find bin -name '*.css' -print0 | xargs -0 grep -l TODO" } ]
pipeline
find
10af3d291c0b90bf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Open an interactive shell against an existing database." }, { "role": "assistant", "content": "sqlite3 orders" } ]
single
sqlite3
d000eb9c7eb600b8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'dropped'-related lines in cron.log." }, { "role": "assistant", "content": "grep 'dropped' cron.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
512a3e169256e9b9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'dropped'-related lines in cron.log." }, { "role": "assistant", "content": "grep 'dropped' cron.log | sort | uniq --count | sort -nr | head ...
pipeline
grep
512a3e169256e9b9
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show what PID 4180 has open." }, { "role": "assistant", "content": "lsof -p 4180" } ]
single
lsof
1d41e0f38fa6fd29
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 10 most frequently used commands from your shell history." }, { "role": "assistant", "content": "history | awk '{print $2}' | sort | un...
pipeline
history
68e64ba36cbea553
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .html files in reports" }, { "role": "assistant", "content": "ls reports | grep '\\.html$'" } ]
pipeline
ls
61ecb786b300d4e0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "copy the whole include folder to include_copy recursively" }, { "role": "assistant", "content": "cp -r include include_copy" } ]
single
cp
c4cb8997d212207b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "copy the whole include folder to include_copy recursively" }, { "role": "assistant", "content": "cp --recursive include include_copy" } ]
single
cp
c4cb8997d212207b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print dave's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p dave" } ]
single
pstree
8809b7eb50c8f84a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Force kill a process." }, { "role": "assistant", "content": "killall -KILL python" } ]
single
killall
1567150f858df534
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from profile.yaml." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' profile.yaml | sort -u" } ]
pipeline
sed
c92d3f23b5900e79
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from profile.yaml." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' profile.yaml | ...
pipeline
sed
c92d3f23b5900e79
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from profile.yaml." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' profile...
pipeline
sed
c92d3f23b5900e79
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "E[x]tract a (compressed) archive [f]ile into the target directory." }, { "role": "assistant", "content": "tar xf output.jpg public src" } ]
single
tar
fe61c56d522f1c7d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take export.log and show the last 15 lines." }, { "role": "assistant", "content": "cat export.log | tail -n 15" } ]
pipeline
tail
104131ac7e1b3d90
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "What are the disk usage of logs broken down one level deep?" }, { "role": "assistant", "content": "du -h --max-depth=1 logs 2>/dev/null | sort -rh" ...
pipeline
du
0077e87c14c239b0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "What are the disk usage of logs broken down one level deep?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 logs 2>/dev/...
pipeline
du
0077e87c14c239b0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Concatenate several files into the target file." }, { "role": "assistant", "content": "bat order.xml > users.sh" } ]
single
bat
67542a99ec7b34ff
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Join field3 of file1 with field1 of file2." }, { "role": "assistant", "content": "join -1 3 -2 1 index.jpg credentials.old" } ]
single
join
f74fc5daa4b0117d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Split a file above the first line matching a `regex` pattern." }, { "role": "assistant", "content": "csplit archive.csv /denied/" } ]
single
csplit
a3c40367188c6f53
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Number only the body lines that match a basic `regex` (BRE) [p]attern." }, { "role": "assistant", "content": "nl 5 p'FooBar[0-9]' request.png" ...
single
nl
924f7ce8c6cd0c70
[ { "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 'warning:'?" }, { "role": "assistant", "content": "grep -c 'warning:' debug.log | cat" } ]
pipeline
grep
c5d311bf89898bc9
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in debug.log mention 'warning:'?" }, { "role": "assistant", "content": "grep --count 'warning:' debug.log | cat" } ]
pipeline
grep
c5d311bf89898bc9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write me a script that loops over every .js file in /opt/app and changes the owner of each file to deploy." }, { "role": "assistant", "content": "#!/u...
script
chown
87386dc38dafa19c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "strip leading whitespace from every line of archive.txt and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' arc...
pipeline
sed
9fd04c6e28b17b04
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the 20 largest subdirectories of images." }, { "role": "assistant", "content": "du -h images/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
31fa9bd6d494df2d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me the 20 largest subdirectories of images." }, { "role": "assistant", "content": "du --human-readable images/* 2>/dev/null | sort -rh | he...
pipeline
du
31fa9bd6d494df2d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me an init-style dispatcher for the sshd service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=sshd\ncase \"${1:-}\" in\n start) sudo...
script
case
0409d0e58dcdccb8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "What are the disk usage of /etc/apache2 broken down one level deep?" }, { "role": "assistant", "content": "du -h --max-depth=1 /etc/apache2 2>/dev/null | sort -rh" } ]
pipeline
du
cb6fbc8886bc28e6
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What are the disk usage of /etc/apache2 broken down one level deep?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /etc/apache2 2>/dev/nul...
pipeline
du
cb6fbc8886bc28e6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Change the owner of a file/directory to match a reference file." }, { "role": "assistant", "content": "sudo chown --reference credentials.tar.gz tmp" ...
single
chown
427f449e9522dbf6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://api.internal/api/users" }, { "role": "assistant", "content": "curl -s https://api.internal/api/users | jq -...
pipeline
curl
b7b0b9cf18fe2858
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract all the 'name' fields from https://api.internal/api/users" }, { "role": "assistant", "content": "curl --silent https://api.internal/api/u...
pipeline
curl
b7b0b9cf18fe2858
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a script that accepts --level (-l), --count (-c) and --name (-n) via getopts, with a usage message." }, { "role": "assistant", "content": ...
script
getopts
c936cdde0453b62b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Back up /srv/data to /var/backups as a dated bzip2 archive, pruning all but the last 10 backups." }, { "role": "assistant", "content": "#!/usr/b...
script
tar
954bd83ccec63cbe
[ { "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 -n 2 migration.zip" } ]
single
head
fafdad05f95b71cd
[ { "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 2 migration.zip" } ]
single
head
fafdad05f95b71cd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Output the first few lines of a file." }, { "role": "assistant", "content": "head -2 migration.zip" } ]
single
head
fafdad05f95b71cd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the listener on port 25565." }, { "role": "assistant", "content": "ss -tlnp sport = :25565" } ]
single
ss
21a2e0ac125071bc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a subgroup." }, { "role": "assistant", "content": "mkdir /sys/fs/cgroup/operators/admin/backup" } ]
single
mkdir
7d205c6092cf4d2e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I count how many nginx processes are running?" }, { "role": "assistant", "content": "pgrep -c nginx" } ]
pipeline
pgrep
230120f29297bb6f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I count how many nginx processes are running?" }, { "role": "assistant", "content": "pgrep --count nginx" } ]
pipeline
pgrep
230120f29297bb6f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Copy a file into another directory, keeping the filename." }, { "role": "assistant", "content": "cp product.sql lib" } ]
single
cp
296527271f41131f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that PORT, DB_HOST and ENV exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var...
script
env
5df90bb40f31ef2e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print the process name in addition to the PID ([l]ong output)." }, { "role": "assistant", "content": "pgrep -l python" } ]
single
pgrep
4e015c263560d888
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show connections on port 25565." }, { "role": "assistant", "content": "netstat -anp | grep :25565" } ]
single
netstat
3df79c78ac615bd3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 2221." }, { "role": "assistant", "content": "pstree -p 2221" } ]
single
pstree
87663b8c1a05f0ab
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in config larger than +500M." }, { "role": "assistant", "content": "find config -type f -size +500M" } ]
single
find
911bf6d528aabb4e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find files in config larger than +500M." }, { "role": "assistant", "content": "find config -size +500M -type f" } ]
single
find
911bf6d528aabb4e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to count '403' occurrences in the sshd journal today." }, { "role": "assistant", "content": "journalctl -u sshd --since today --no-pager | grep -c '403'...
pipeline
journalctl
9ee5d898c323ecb2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to count '403' occurrences in the sshd journal today." }, { "role": "assistant", "content": "journalctl --unit sshd --since today --no-pag...
pipeline
journalctl
9ee5d898c323ecb2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display an arbitrary user's ID (UID), group ID (GID), and groups to which they belong." }, { "role": "assistant", "content": "id carol" } ]
single
id
37a591c676bfb0a9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give me a frequency tally of column 4 in products.tsv and show the 10 biggest." }, { "role": "assistant", "content": "awk '{print $4}' products.tsv | ...
pipeline
awk
f6b6fc5de4dbe1df
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Copy dump.js into the fixtures directory." }, { "role": "assistant", "content": "cp dump.js fixtures/" } ]
single
cp
736b2ffe97df4755
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'panic'-related lines in request.log." }, { "role": "assistant", "content": "grep 'panic' request.log | sort | uniq -c | sort -nr | head -n ...
pipeline
grep
38b49ef4d12675ec
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common 'panic'-related lines in request.log." }, { "role": "assistant", "content": "grep 'panic' request.log | sort | uniq --count | ...
pipeline
grep
38b49ef4d12675ec
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a small script that verifies the environment variables AWS_REGION, API_KEY and DB_HOST are all set before running." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipef...
script
env
a1450c407cc9ade8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 10 largest subdirectories in include." }, { "role": "assistant", "content": "du -h include/* | sort -rh | head -n 10" } ]
pipeline
du
69c7caded91af321
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Is the firewalld service currently active?" }, { "role": "assistant", "content": "systemctl is-active firewalld" } ]
single
systemctl
35e92f3dcbb687e8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Store a certificate's public key in a file." }, { "role": "assistant", "content": "openssl x509 -in summary.log -noout -pubkey -out users.zip" ...
single
openssl
2484147c5c03d8d8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check certificate details." }, { "role": "assistant", "content": "openssl x509 -in notes.js -text -noout" } ]
single
openssl
b5c4cedaf2c5189e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "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
1d2282559b0e19ff
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a bzip2-compressed tarball of reports" }, { "role": "assistant", "content": "tar -cjf reports.tar.bz2 reports" } ]
single
tar
a57bb1ea8eb02414
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "make a bzip2-compressed tarball of reports" }, { "role": "assistant", "content": "tar cjf reports.tar.bz2 reports" } ]
single
tar
a57bb1ea8eb02414
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "make a bzip2-compressed tarball of reports" }, { "role": "assistant", "content": "tar -jcf reports.tar.bz2 reports" } ]
single
tar
a57bb1ea8eb02414
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'npm run build' at a lower priority (nice 5)." }, { "role": "assistant", "content": "nice -n 5 npm run build" } ]
single
nice
8940a48938e43a9c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Send SIGUSR1 signal to processes which match." }, { "role": "assistant", "content": "pkill -USR1 \"containerd\"" } ]
single
pkill
3915f928d953a250
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Set event.bak to permissions 644." }, { "role": "assistant", "content": "chmod 644 event.bak" } ]
single
chmod
c11aef5ce9396410
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Set event.bak to permissions 644." }, { "role": "assistant", "content": "chmod u=rw,go=r event.bak" } ]
single
chmod
c11aef5ce9396410
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many lines in cron.log match 'rejected'." }, { "role": "assistant", "content": "grep -c 'rejected' cron.log" } ]
single
grep
31e45cc869541b32
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many lines in cron.log match 'rejected'." }, { "role": "assistant", "content": "grep --count 'rejected' cron.log" } ]
single
grep
31e45cc869541b32
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many lines in cron.log match 'rejected'." }, { "role": "assistant", "content": "grep 'rejected' cron.log | wc -l" } ]
single
grep
31e45cc869541b32
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 20 largest subdirectories of /etc/apache2." }, { "role": "assistant", "content": "du -h /etc/apache2/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
a9308d6726d9f3d2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the 20 largest subdirectories of /etc/apache2." }, { "role": "assistant", "content": "du --human-readable /etc/apache2/* 2>/dev/null | sort -r...
pipeline
du
a9308d6726d9f3d2
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "get the number of items in the JSON array at https://git.local/api/items" }, { "role": "assistant", "content": "curl -s https://git.local/api/ite...
pipeline
curl
68129c9e15b6fc8d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read archive.log, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat archive.log | wc -l" } ]
pipeline
wc
91275ca5908ce325
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read archive.log, then count the lines — as a pipeline." }, { "role": "assistant", "content": "wc -l < archive.log" } ]
pipeline
wc
91275ca5908ce325
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Mirror the site https://cache.example.com recursively." }, { "role": "assistant", "content": "wget -r -np https://cache.example.com" } ]
single
wget
2f0ba960546ac3f8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Mirror the site https://cache.example.com recursively." }, { "role": "assistant", "content": "wget --recursive -np https://cache.example.com" } ]
single
wget
2f0ba960546ac3f8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common 'null'-related lines in nginx-access.log." }, { "role": "assistant", "content": "grep 'null' nginx-access.log | sort | un...
pipeline
grep
4bdb44b0de50e275
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'null'-related lines in nginx-access.log." }, { "role": "assistant", "content": "grep 'null' nginx-access.log | sort | u...
pipeline
grep
4bdb44b0de50e275
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Back up all PostgreSQL databases individually to /data/backup as compressed dumps." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
pg_dump
e096049f6a86c62e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "In products.tsv, which 20 values of column 4 occur most often?" }, { "role": "assistant", "content": "cut -d, -f4 products.tsv | sort | uniq -c ...
pipeline
cut
093e6aa33b046c8d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count '403' occurrences in the grafana-server journal today." }, { "role": "assistant", "content": "journalctl -u grafana-server --since today --no-pager ...
pipeline
journalctl
95c1d8ef98453f7a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to follow the rabbitmq journal but only show lines mentioning 'denied'." }, { "role": "assistant", "content": "journalctl -u rabbitmq -f | grep --line-b...
pipeline
journalctl
dd315d19c45b4b74
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me how to follow the rabbitmq journal but only show lines mentioning 'denied'." }, { "role": "assistant", "content": "journalctl --unit rabbitmq -f | grep --li...
pipeline
journalctl
dd315d19c45b4b74
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print the last column of each line in a file, using a comma (instead of space) as a field separator." }, { "role": "assistant", "content": "awk -F ',' '{print $NF}' output.py" } ]
single
awk
5bd8024739f23ecb
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample vmstat 10 times at a 3-second interval." }, { "role": "assistant", "content": "vmstat 3 10" } ]
single
vmstat
5c8937892235bad2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start './import.sh' with nice value 1 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 1 ./import.sh" } ]
single
nice
f8742b9d711e412e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read migration.ini, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat migration.ini | wc -l" } ]
pipeline
wc
acd812af722eb203
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read migration.ini, then count the lines — as a pipeline." }, { "role": "assistant", "content": "wc -l < migration.ini" } ]
pipeline
wc
acd812af722eb203
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fail fast if any of DB_PASS, API_KEY, ENV is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor va...
script
env
429620ec17273840
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Restart grafana-server postgresql mariadb one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nfor svc in grafana-server postgr...
script
for
5a060bb4789dfd21
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Timestamped vmstat every 5s for 5 samples." }, { "role": "assistant", "content": "vmstat -t 5 5" } ]
single
vmstat
4ad89d5e11fbc564
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "When was the system booted, per who -b?" }, { "role": "assistant", "content": "who -b" } ]
single
uptime
47d04ae90fa9ff63
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate the SHA256 digest for a file, saving the result to a specific file." }, { "role": "assistant", "content": "openssl dgst -sha256 -binary -out...
single
openssl
a8317f694aac745e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the hexadecimal representation of a file, replacing duplicate lines by '*'." }, { "role": "assistant", "content": "hexdump response.txt" } ]
single
hexdump
d33e51942c9838bb
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that runs checksum with sha256sum on every .xml file in data, 2 jobs in parallel." }, { "role": "assistant", "content": "#!/usr/b...
script
xargs
bc5f7211ec812a47
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read export.yaml, then show the last 15 lines — as a pipeline." }, { "role": "assistant", "content": "cat export.yaml | tail -n 15" } ]
pipeline
tail
35d73b7b6eeb6dbc