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": "strip leading whitespace from every line of config.csv and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' conf...
pipeline
sed
b48840f79962ddfe
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "what time did the machine come up?" }, { "role": "assistant", "content": "uptime -s" } ]
single
uptime
681254b3e254a730
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check what holds port 25565 with ss." }, { "role": "assistant", "content": "ss -tlnp sport = :25565" } ]
single
ss
d6dbe6f16a4b19e8
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find the 10 most common 'OutOfMemory'-related lines in syslog.log." }, { "role": "assistant", "content": "grep 'OutOfMemory' syslog.log | sort |...
pipeline
grep
b2f21697fb308314
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'OutOfMemory'-related lines in syslog.log." }, { "role": "assistant", "content": "grep 'OutOfMemory' syslog.log | sort | uniq --count | sort -nr | head -n 10" } ]
pipeline
grep
b2f21697fb308314
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "recursively search uploads for 'corrupt' and show line numbers" }, { "role": "assistant", "content": "grep -rn 'corrupt' uploads" } ]
single
grep
9c1ec7e6a10de2dc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "recursively search uploads for 'corrupt' and show line numbers" }, { "role": "assistant", "content": "grep -nr 'corrupt' uploads" } ]
single
grep
9c1ec7e6a10de2dc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "recursively search uploads for 'corrupt' and show line numbers" }, { "role": "assistant", "content": "grep -r -n 'corrupt' uploads" } ]
single
grep
9c1ec7e6a10de2dc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Encode a file." }, { "role": "assistant", "content": "base64 access.sh" } ]
single
base64
2060fa5ebb5cb4fc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Report virtual-memory statistics every 1 seconds, 3 times." }, { "role": "assistant", "content": "vmstat 1 3" } ]
single
vmstat
86623ce291c04996
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "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]' summary.pdf...
single
nl
aa360f1437321fba
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the top 5 processes by memory usage." }, { "role": "assistant", "content": "ps aux --sort=-%mem | head -n 6" } ]
pipeline
ps
37fba26cb458fd8d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the systemd journal for the elasticsearch service." }, { "role": "assistant", "content": "journalctl -u elasticsearch" } ]
single
journalctl
a1b893542a20f4c9
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the systemd journal for the elasticsearch service." }, { "role": "assistant", "content": "journalctl --unit elasticsearch" } ]
single
journalctl
a1b893542a20f4c9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Generate a self-signed certificate valid for a specified number of days (365)." }, { "role": "assistant", "content": "openssl req -new -x509 -key response.yaml -out...
single
openssl
80bd71f2b74f7470
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run vmstat with MB units every 5 seconds for 5 rounds." }, { "role": "assistant", "content": "vmstat -S M 5 5" } ]
single
vmstat
0ad70df6a7ac7a4d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Also display a message if no response was received." }, { "role": "assistant", "content": "ping -O git.example.com" } ]
single
ping
e02f12693a8d029f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 20 largest subdirectories of build." }, { "role": "assistant", "content": "du -h build/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
7db30848a0fec1c6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 20 largest subdirectories of build." }, { "role": "assistant", "content": "du --human-readable build/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
7db30848a0fec1c6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from build.tsv." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.tsv | s...
pipeline
sed
d9d21420e2a15d42
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from build.tsv." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.tsv | sort -u" } ]
pipeline
sed
d9d21420e2a15d42
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from build.tsv." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' build.tsv | sort -u" } ]
pipeline
sed
d9d21420e2a15d42
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Help me total the resident memory of all tmux processes in MB." }, { "role": "assistant", "content": "ps -C tmux -o rss= | awk '{s+=$1} END{prin...
pipeline
ps
39e1a6bceae0a480
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Output the first 5 lines of a file." }, { "role": "assistant", "content": "head 5 invoice.bak" } ]
single
head
3b522f8eeb7a8e7d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the PIDs of celery sorted by memory use." }, { "role": "assistant", "content": "ps -C celery -o pid=,rss= --sort=-rss" } ]
pipeline
ps
8914e5351c85e3a7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename config.txt to config.txt.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n config.txt config.t...
single
mv
4ec039128976d634
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Rename config.txt to config.txt.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber con...
single
mv
4ec039128976d634
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 2339 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2339" } ]
single
renice
3a02bd325c66e7f5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract all the 'name' fields from https://auth.service.io/api/users" }, { "role": "assistant", "content": "curl -s https://auth.service.io/api/users | jq -r '.[].n...
pipeline
curl
979a4c5327135b4f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract all the 'name' fields from https://auth.service.io/api/users" }, { "role": "assistant", "content": "curl --silent https://auth.service.io/api/...
pipeline
curl
979a4c5327135b4f
[ { "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 auth.example.org." }, { "role": "assistant", "content": "netstat -tn | grep auth.example.org" } ]
single
netstat
c14b604800abd1a0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that deletes .old files older than 5 days from /tmp and logs what it removed?" }, { "role": "assistant", "content": "#!/usr/bin...
script
find
7cb99866413f759f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Is anything listening on port 11211?" }, { "role": "assistant", "content": "ss -tlnp sport = :11211" } ]
single
ss
ec8ac58d7e434531
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "copy the whole reports folder to reports_copy recursively" }, { "role": "assistant", "content": "cp -r reports reports_copy" } ]
single
cp
3322597aacb12384
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "copy the whole reports folder to reports_copy recursively" }, { "role": "assistant", "content": "cp --recursive reports reports_copy" } ]
single
cp
3322597aacb12384
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show ec2-user's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p ec2-user" } ]
single
pstree
36fe09dafa32660c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from backup.txt." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.txt | sort -u" } ]
pipeline
sed
a1b08ba41a471942
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from backup.txt." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.txt |...
pipeline
sed
a1b08ba41a471942
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extract just the email addresses from backup.txt." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' backup.tx...
pipeline
sed
a1b08ba41a471942
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the number of items in the JSON array at https://auth.example.org/api/items" }, { "role": "assistant", "content": "curl -s https://auth.example.org/api/items | jq 'length'" } ]
pipeline
curl
2af06d4a6db72f18
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check if a given number is prime." }, { "role": "assistant", "content": "openssl prime 100" } ]
single
openssl
7cd6c54f795e4282
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename changelog.yaml to changelog.yaml.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n changelog.y...
single
mv
6c601f28c776c817
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename changelog.yaml to changelog.yaml.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clob...
single
mv
6c601f28c776c817
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a script that accepts --count (-c), --output (-o) and --input (-i) via getopts, with a usage message." }, { "role": "assistant", "content": "#!/...
script
getopts
bd8904dcbe31d7dd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 6110." }, { "role": "assistant", "content": "pstree -p 6110" } ]
single
pstree
e0d5681f105bb8b5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Can you write a script that accepts --output (-o), --name (-n) and --tag (-t) via getopts, with a usage message?" }, { "role": "assistant", "content":...
script
getopts
ef385d8f369689e3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 10 largest subdirectories of assets." }, { "role": "assistant", "content": "du -h assets/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
d07186ed78d5d3f6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the 10 largest subdirectories of assets." }, { "role": "assistant", "content": "du --human-readable assets/* 2>/dev/null | sort -rh | head -...
pipeline
du
d07186ed78d5d3f6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From profile.tsv, show the last 15 lines." }, { "role": "assistant", "content": "cat profile.tsv | tail -n 15" } ]
pipeline
tail
eda2b9259c2cd79a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to follow the apache2 journal but only show lines mentioning 'null'." }, { "role": "assistant", "content": "journalctl -u apache2 -f | gre...
pipeline
journalctl
3c4988e41a511fe6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to follow the apache2 journal but only show lines mentioning 'null'." }, { "role": "assistant", "content": "journalctl --unit apache2 -f | grep --line-buffered -i 'null'" } ]
pipeline
journalctl
3c4988e41a511fe6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I want to count established TCP connections." }, { "role": "assistant", "content": "ss -tn state established | tail -n +2 | wc -l" } ]
pipeline
ss
486ade420525ff98
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Set catalog.py to permissions 644." }, { "role": "assistant", "content": "chmod 644 catalog.py" } ]
single
chmod
a6dba29177d99119
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Set catalog.py to permissions 644." }, { "role": "assistant", "content": "chmod u=rw,go=r catalog.py" } ]
single
chmod
a6dba29177d99119
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find empty files in public." }, { "role": "assistant", "content": "find public -type f -empty" } ]
single
find
e760e3d0947c55d2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find empty files in public." }, { "role": "assistant", "content": "find public -empty -type f" } ]
single
find
e760e3d0947c55d2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count total lines across all .csv files in bin." }, { "role": "assistant", "content": "find bin -type f -name '*.csv' -print0 | xargs -0 cat | wc -l" } ]
pipeline
find
ec3877bed2a4be9d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read build.tsv, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat build.tsv | wc -l" } ]
pipeline
wc
32104c3bd202f927
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Read build.tsv, then count the lines — as a pipeline." }, { "role": "assistant", "content": "wc -l < build.tsv" } ]
pipeline
wc
32104c3bd202f927
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate the parent directory of multiple paths." }, { "role": "assistant", "content": "dirname migrations" } ]
single
dirname
bc48b64197b10f2b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Run iostat every 5s for 3 reports." }, { "role": "assistant", "content": "iostat 5 3" } ]
single
iostat
e4586cbee136a232
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Only list directories." }, { "role": "assistant", "content": "ls templates */" } ]
single
ls
2c55ead53fe74637
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Compress a file into XZ format." }, { "role": "assistant", "content": "xz dump.sql" } ]
single
xz
a43aa228f91bdc20
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the ancestors of process 7473 as a tree." }, { "role": "assistant", "content": "pstree -s 7473" } ]
single
pstree
17121d836229350f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "strip leading whitespace from every line of event.yaml and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' event.yaml > clean.txt" } ]
pipeline
sed
d4475b75939539e7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if migration.jpg exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f migration.jpg ] && cat migrati...
pipeline
chain
05857e239d0b99b1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download https://monitor.local/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://monitor.local/f...
single
curl
8a6d94b884011a96
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Download https://monitor.local/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl --remote-name https://monitor.local/file.zip" } ]
single
curl
8a6d94b884011a96
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://10.0.0.5/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://10.0.0.5/api/users | jq ." } ]
pipeline
curl
1b39640863118858
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://10.0.0.5/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://10.0.0.5/ap...
pipeline
curl
1b39640863118858
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Connect using a predefined host (in `~/.ssh/config`)." }, { "role": "assistant", "content": "sftp db02.internal" } ]
single
sftp
549bd81fb9e63d8b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List all files in /mnt/data, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la /mnt/data" } ]
single
ls
c9f7c7f6a72f6cda
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all files in /mnt/data, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -al /mnt/data" } ]
single
ls
c9f7c7f6a72f6cda
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List all files in /mnt/data, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -l -a /mnt/data" } ]
single
ls
c9f7c7f6a72f6cda
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Poll memory in MB every 3s, 5 times." }, { "role": "assistant", "content": "free -m -s 3 -c 5" } ]
single
free
abfba09b596ad5a7
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Specify size in bytes of probing packet." }, { "role": "assistant", "content": "traceroute settings.py 42" } ]
single
traceroute
7e27632c79b754bf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -9 \"dockerd\"" } ]
single
pkill
5549f3564dd9bea1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What are the 10 most common entries in column 4 of auth.log?" }, { "role": "assistant", "content": "cut -d, -f4 auth.log | sort | uniq -c | sort...
pipeline
cut
be4d082455657f92
[ { "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://mail.service.io/api/items" }, { "role": "assistant", "content": "curl -s https://mail.service.io/api/items | jq...
pipeline
curl
6a325a2e65359aea
[ { "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://mail.service.io/api/items" }, { "role": "assistant", "content": "curl --silent https://mail....
pipeline
curl
6a325a2e65359aea
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the 10 biggest files under artifacts." }, { "role": "assistant", "content": "find artifacts -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 10" } ]
pipeline
find
99c73608565d27d0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Iterate the hosts in hosts.txt; the script checks if port 22 is open and marks each reachable or not." }, { "role": "assistant", "content": "#!/...
script
ssh
0faff786da37d55c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Recursively search for a pattern in a file or directory." }, { "role": "assistant", "content": "rg exception tmp" } ]
single
rg
3cc738bbbded8bdb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://app01.example.com" }, { "role": "assistant", "content": "curl -L https://app01.example.com" } ]
single
curl
87c2e21d9c4dfc4b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "follow redirects when fetching https://app01.example.com" }, { "role": "assistant", "content": "curl --location https://app01.example.com" } ]
single
curl
87c2e21d9c4dfc4b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename inventory.bak to inventory.bak.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n inventor...
single
mv
b2f84476b3baaa2f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Rename inventory.bak to inventory.bak.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobb...
single
mv
b2f84476b3baaa2f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a script that reads a yes/no answer and handles Y/y/yes and N/n/no with a case statement." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nanswer=\"${1:-no}\"...
script
case
d4d49e59988d10f3
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find files in /var/cache owned by dave." }, { "role": "assistant", "content": "find /var/cache -type f -user dave" } ]
single
find
6e7e59984174cd52
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in /var/cache owned by dave." }, { "role": "assistant", "content": "find /var/cache -user dave -type f" } ]
single
find
6e7e59984174cd52
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find kernel errors related to memory." }, { "role": "assistant", "content": "dmesg --level=err | grep -i memory" } ]
single
dmesg
6a177e60a7f5cddd
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`)." }, { "role": "assistant", "content": "ssh backup@db02.service.io -D ...
single
ssh
bdf2bd603c900879
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a script that verifies it is run with at least one argument, else prints usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
if
80d35162fb512a4e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display all groups the current user belongs to." }, { "role": "assistant", "content": "id sudo" } ]
single
id
f448906207988933
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Create a script that verifies it is run with at least one argument, else prints usage." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
if
d4bfa6dbaefdcdab
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How many lines in auth.log mention 'panic'?" }, { "role": "assistant", "content": "grep -c 'panic' auth.log | cat" } ]
pipeline
grep
9fbaec21a7edfd55
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'ERROR'-related lines in metrics.log." }, { "role": "assistant", "content": "grep 'ERROR' metrics.log | sort | uniq -c | sort -nr | head -n 10" } ]
pipeline
grep
f48f6705a1acb877
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the 10 most common 'ERROR'-related lines in metrics.log." }, { "role": "assistant", "content": "grep 'ERROR' metrics.log | sort | uniq --count | sort -nr | head -n 10" } ]
pipeline
grep
f48f6705a1acb877
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show CPU and disk I/O stats every 5 seconds, 5 times." }, { "role": "assistant", "content": "iostat 5 5" } ]
single
iostat
db140caa95c10cf1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I list files in tests sorted by size?" }, { "role": "assistant", "content": "ls -lS tests" } ]
single
ls
26698e8584c004e0