messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch JSON from https://git.corp.net/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://git.corp.net/api/users | jq ." ...
pipeline
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I want a cleanup script for logs that purges .cache files older than 1 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=l...
script
find
[ { "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 3s for 10 samples." }, { "role": "assistant", "content": "iostat -m 3 10" } ]
single
iostat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "send a GET request to https://git.example.com/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://git.example.com...
single
curl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the listener on port 443." }, { "role": "assistant", "content": "ss -tlnp sport = :443" } ]
single
ss
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Alert me (exit non-zero) if root filesystem usage goes above 85 percent." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nthreshold=85\nusage=$(df / | awk 'NR==2 {pr...
script
df
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process all .html files under /home/alice with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
xargs
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the files opened by process 4259." }, { "role": "assistant", "content": "lsof -p 4259" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Install build-essential with pacman." }, { "role": "assistant", "content": "sudo pacman -S build-essential" } ]
single
pacman
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Install nmap with pacman." }, { "role": "assistant", "content": "sudo pacman -S nmap" } ]
single
pacman
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a retry wrapper around connection to 1.1.1.1:5432: 10 attempts, 5s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
bash
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a bash script that changes the owner of each file to deploy for all .jpg files under /mnt/storage." }, { "role": "assistant", "content": "...
script
chown
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Move request.jpg into the vendor folder." }, { "role": "assistant", "content": "mv request.jpg vendor/" } ]
single
mv
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Timestamped vmstat every 2s for 10 samples." }, { "role": "assistant", "content": "vmstat -t 2 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename schema.xml to schema.xml.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n schema.xml schema.xml.old" } ]
single
mv
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the biggest files under migrations." }, { "role": "assistant", "content": "du -ah migrations | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the parent chain leading to PID 1073." }, { "role": "assistant", "content": "pstree -s 1073" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Add a timestamp column to vmstat, 1s interval, 10 rounds." }, { "role": "assistant", "content": "vmstat -t 1 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a small script that loops over every .conf file in /var/lib/app and makes each file read-only." }, { "role": "assistant", "content": "#!/u...
script
chmod
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Recursively set owner and group of media to nginx:mysql." }, { "role": "assistant", "content": "sudo chown -R nginx:mysql media" } ]
single
chown
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 4061 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 4061" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the 5 largest subdirectories of reports." }, { "role": "assistant", "content": "du -h reports/* 2>/dev/null | sort -rh | head -n 5" } ]
pipeline
du
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections involving db02.local." }, { "role": "assistant", "content": "netstat -tn | grep db02.local" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I list files in /data/uploads sorted by size?" }, { "role": "assistant", "content": "ls -lS /data/uploads" } ]
single
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "delete all blank lines from session.tsv" }, { "role": "assistant", "content": "sed '/^$/d' session.tsv" } ]
single
sed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list the distinct error messages in server.log" }, { "role": "assistant", "content": "grep -i error server.log | sort -u" } ]
pipeline
grep
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check if session.js exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f session.js ] && cat session.js ||...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Recursively set owner and group of data to ubuntu:docker." }, { "role": "assistant", "content": "sudo chown -R ubuntu:docker data" } ]
single
chown
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 6128 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 6128" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 9426 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 9426" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print the 3nd column of metrics.log (whitespace separated)." }, { "role": "assistant", "content": "awk '{print $3}' metrics.log" } ]
single
awk
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find all .css files under uploads and delete them. (Careful: destructive.)" }, { "role": "assistant", "content": "find uploads -type f -name '*.css' -...
pipeline
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Make 5 day-stamped folders under /backup using a for loop over a date range." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipe...
script
for
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the process listening on port 9200." }, { "role": "assistant", "content": "lsof -i :9200" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List git's active sessions with w." }, { "role": "assistant", "content": "w git" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find all .tmp files under lib and delete them. (Careful: destructive.)" }, { "role": "assistant", "content": "find lib -type f -name '*.tmp' -print0 | xargs -0 rm -f" } ]
pipeline
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a preflight check that REDIS_URL, API_KEY and DB_PASS exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash...
script
env
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find any socket using port 25565 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :25565" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all files in scripts, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la scripts" } ]
single
ls
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print dmesg entries from 30 min ago onward with timestamps." }, { "role": "assistant", "content": "dmesg -T --since '30 min ago'" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a health-check loop over targets.txt that checks if port 22 is open and prints the status of each." }, { "role": "assistant", "content": "...
script
ssh
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the biggest files under include." }, { "role": "assistant", "content": "du -ah include | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a bash script that makes a .bak copy of each file for all .gz files under /home/alice." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo p...
script
cp
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Replace every occurrence of 'true' with 'kernel' in archive.conf and print the result." }, { "role": "assistant", "content": "sed 's/true/kernel...
single
sed
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a retry wrapper around git fetch from origin: 5 attempts, 3s apart." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=5\ndelay=3\nfor attempt in $(seq 1 \"...
script
git
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Help me show the top 5 processes by CPU usage." }, { "role": "assistant", "content": "ps aux --sort=-%cpu | head -n 6" } ]
pipeline
ps
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "follow redirects when fetching https://web01.local" }, { "role": "assistant", "content": "curl -L https://web01.local" } ]
single
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "show mysql logs from the last 2 days" }, { "role": "assistant", "content": "journalctl -u mysql --since '2 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need getopts handling for three options: -i, -t and -n; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
getopts
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Back up /mnt/storage to /mnt/backup as a dated gzip archive, pruning all but the last 7 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -eu...
script
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from www.internal." }, { "role": "assistant", "content": "netstat -tn | grep www.internal" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "follow redirects when fetching https://mail.local" }, { "role": "assistant", "content": "curl -L https://mail.local" } ]
single
curl
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy catalog.css to localhost's /tmp directory as jenkins." }, { "role": "assistant", "content": "scp catalog.css jenkins@localhost:/tmp/" } ]
single
scp
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a Bash script that checks whether elasticsearch is running and starts it if not." }, { "role": "assistant", "content": "#!/usr/bin/env bas...
script
if
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a small script that deletes .tmp files older than 90 days from /var/log and logs what it removed." }, { "role": "assistant", "content": "#...
script
find
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Lower the priority of process 8944 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 8944" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read data.ini, then count the lines — as a pipeline." }, { "role": "assistant", "content": "cat data.ini | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sample vmstat 5 times at a 3-second interval." }, { "role": "assistant", "content": "vmstat 3 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List all files in images, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la images" } ]
single
ls
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print admin's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p admin" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a script that runs checksum with sha256sum on every .gz file in /mnt/storage, 8 jobs in parallel." }, { "role": "assistant", "content": "#!/usr...
script
xargs
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that dumps every MySQL database into its own gzip file under /backup/db." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
mysqldump
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write an interactive menu script using select that lets the user pick disk, memory or uptime info." }, { "role": "assistant", "content": "#!/usr/...
script
select
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Wide-format vmstat every 10s, 3 samples." }, { "role": "assistant", "content": "vmstat -w 10 3" } ]
single
vmstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop through the .tmp files in /var/lib/app and removes each matching file — write it as a proper script." }, { "role": "assistant", "content": "...
script
rm
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Bump process 5768 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 5768" } ]
single
renice
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the systemd journal for the cron service." }, { "role": "assistant", "content": "journalctl -u cron" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 2950 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 2950" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from manifest.tsv." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' manifest.tsv | ...
pipeline
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check the status of postgresql." }, { "role": "assistant", "content": "systemctl status postgresql" } ]
single
systemctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract all the 'name' fields from https://db02.corp.net/api/users" }, { "role": "assistant", "content": "curl -s https://db02.corp.net/api/users | jq -r '.[].name'...
pipeline
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Start 'find / -name '*.core'' with nice value 10 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 10 find / -name '*.core'" } ]
single
nice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show sshd logs from the last 2 days" }, { "role": "assistant", "content": "journalctl -u sshd --since '2 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a script that parses -f (file), -n (count) and -v (verbose) options with getopts." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show kernel messages from the user facility." }, { "role": "assistant", "content": "dmesg -f user" } ]
single
dmesg
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a bzip2-compressed tarball of assets" }, { "role": "assistant", "content": "tar -cjf assets.tar.bz2 assets" } ]
single
tar
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a script that retries a git fetch from origin up to 6 times, sleeping 5s between attempts." }, { "role": "assistant", "content": "#!/usr/b...
script
git
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Which files does user admin have open?" }, { "role": "assistant", "content": "lsof -u admin" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check the status of mongod." }, { "role": "assistant", "content": "systemctl status mongod" } ]
single
systemctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Report iostat throughput in megabytes, 3s interval, 20 rounds." }, { "role": "assistant", "content": "iostat -m 3 20" } ]
single
iostat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the most recently modified file in docs." }, { "role": "assistant", "content": "ls -t docs | head -n 1" } ]
pipeline
ls
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "give me a human-readable long listing of data" }, { "role": "assistant", "content": "ls -lh data" } ]
single
ls
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Refresh memory usage every 2 seconds." }, { "role": "assistant", "content": "free -h -s 2" } ]
single
free
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List just the filenames under modules that contain 'not found'." }, { "role": "assistant", "content": "grep -rl 'not found' modules" } ]
single
grep
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Given results.csv, count the lines." }, { "role": "assistant", "content": "cat results.csv | wc -l" } ]
pipeline
wc
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .pdf files in fixtures" }, { "role": "assistant", "content": "ls fixtures | grep '\\.pdf$'" } ]
pipeline
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Launch 'npm run build' at reduced priority (1)." }, { "role": "assistant", "content": "nice -n 1 npm run build" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 3929 as a tree." }, { "role": "assistant", "content": "pstree -s 3929" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "move all .xml files into the dist directory" }, { "role": "assistant", "content": "mv *.xml dist/" } ]
single
mv
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the 10 biggest files under logs." }, { "role": "assistant", "content": "find logs -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 10"...
pipeline
find
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show per-partition stats for sda every 1s." }, { "role": "assistant", "content": "iostat -p sda 1" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Lower the priority of process 5977 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 5977" } ]
single
renice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Read build.json, then count each unique line, most common first — as a pipeline." }, { "role": "assistant", "content": "cat build.json | sort | ...
pipeline
uniq
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "reduce the priority of all processes owned by git" }, { "role": "assistant", "content": "renice -n 15 -u git" } ]
single
renice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Check if invoice.md exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f invoice.md ] && cat invoice.md || echo ...
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Which files does user alice have open?" }, { "role": "assistant", "content": "lsof -u alice" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Take manifest.yaml and show the 20 longest lines." }, { "role": "assistant", "content": "cat manifest.yaml | awk '{ print length, $0 }' | sort -...
pipeline
awk
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Short w listing for user jenkins." }, { "role": "assistant", "content": "w -s jenkins" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show a hex dump of the first 64 bytes of export.py." }, { "role": "assistant", "content": "xxd -l 64 export.py" } ]
single
xxd
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I list files in bin sorted by size?" }, { "role": "assistant", "content": "ls -lS bin" } ]
single
ls