messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 89
values |
|---|---|---|
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print the percentage of memory currently in use."
},
{
"role": "assistant",
"content": "free | awk '/Mem/ {printf \"%.1f%%\\n\", $3/$2*100}'"
}
] | pipeline | free |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Background 'rsync -a /data /mnt/backup' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 rsync -a /data /mnt/backup &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Follow live logs for redis."
},
{
"role": "assistant",
"content": "journalctl -u redis -f"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Look for USB-related messages in the kernel log."
},
{
"role": "assistant",
"content": "dmesg -T | grep -i usb"
}
] | pipeline | dmesg |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show every listening socket and the process behind it."
},
{
"role": "assistant",
"content": "ss -tulnp"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 1715 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 1715"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List active (established) sessions on port 9090."
},
{
"role": "assistant",
"content": "lsof -i :9090 -sTCP:ESTABLISHED"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want to show which processes are listening and on which ports."
},
{
"role": "assistant",
"content": "ss -tlnp | awk 'NR>1 {print $4, $6}'"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List sessions with destination 10.0.0.5."
},
{
"role": "assistant",
"content": "ss -tn dst 10.0.0.5"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Bump process 5871 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 5871"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show only critical kernel messages."
},
{
"role": "assistant",
"content": "dmesg --level=crit"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sum up the values in column 2 of inventory.csv."
},
{
"role": "assistant",
"content": "awk '{sum+=$2} END{print sum}' inventory.csv"
}
] | single | awk |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Read hosts.txt and for each host, report UP/DOWN based on whether it checks if port 22 is open."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | ssh |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write me a script that prints a small system report: hostname, uptime, disk and memory usage."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ba... | script | report |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the systemd journal for the fail2ban service."
},
{
"role": "assistant",
"content": "journalctl -u fail2ban"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "count how many files are inside backup.tar.gz"
},
{
"role": "assistant",
"content": "tar -tzf backup.tar.gz | wc -l"
}
] | pipeline | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run the tests and echo PASS or FAIL depending on the result."
},
{
"role": "assistant",
"content": "pytest -q && echo PASS || echo FAIL"
}
] | pipeline | chain |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a one-liner to count established TCP connections."
},
{
"role": "assistant",
"content": "ss -tn state established | tail -n +2 | wc -l"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show what PID 2470 has open."
},
{
"role": "assistant",
"content": "lsof -p 2470"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Device-only I/O stats every 2 seconds."
},
{
"role": "assistant",
"content": "iostat -d 2"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Edit access.csv in place, replacing 'enabled' with 'POST'."
},
{
"role": "assistant",
"content": "sed -i 's/enabled/POST/g' access.csv"
}
] | single | sed |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 7414 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 7414"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a Bash script that generates an nginx config file for example.com using a here-document."
},
{
"role": "assistant",
"content": "#!/usr/bin/env b... | script | heredoc |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a rotating backup: archive /home/deploy into /backup with gzip, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://proxy.example.com/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://proxy.example.com/list.txt... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under config."
},
{
"role": "assistant",
"content": "du -ah config | sort -rh | head -n 20"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how often each column-3 value appears in error.log; show the 5 most common."
},
{
"role": "assistant",
"content": "cut -d, -f3 error.log | ... | pipeline | cut |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://git.internal/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://git.internal/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Which processes have files open in /var/cache?"
},
{
"role": "assistant",
"content": "lsof +D /var/cache"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a script defining a human-readable size formatter function and use it on a file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset... | script | function |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Set settings.bak to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 settings.bak"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show only kernel error and warning messages."
},
{
"role": "assistant",
"content": "dmesg -l err,warn"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a script with a die() helper that logs an error to stderr and exits, plus a log() helper for info messages."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nts... | script | function |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display git's processes as a tree."
},
{
"role": "assistant",
"content": "pstree git"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run iostat -x every 2 seconds and skip zero-activity devices."
},
{
"role": "assistant",
"content": "iostat -xz 2"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Which files does user erin have open?"
},
{
"role": "assistant",
"content": "lsof -u erin"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all files opened by chrome."
},
{
"role": "assistant",
"content": "lsof -c chrome"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print current iostat counters once."
},
{
"role": "assistant",
"content": "iostat"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List only directories inside src."
},
{
"role": "assistant",
"content": "ls -d src/*/"
}
] | single | ls |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find any socket using port 3306 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :3306"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 3467 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 3467"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 4394 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4394"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Check the status of firewalld."
},
{
"role": "assistant",
"content": "systemctl status firewalld"
}
] | single | systemctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Wide-format vmstat every 5s, 3 samples."
},
{
"role": "assistant",
"content": "vmstat -w 5 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the last 20 warning entries for docker."
},
{
"role": "assistant",
"content": "journalctl -u docker -p warning -n 20 --no-pager"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the network node hostname via uname."
},
{
"role": "assistant",
"content": "uname -n"
}
] | single | hostname |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by postgres"
},
{
"role": "assistant",
"content": "renice -n 15 -u postgres"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Use vmstat's wide output, 3s apart, 10 times."
},
{
"role": "assistant",
"content": "vmstat -w 3 10"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List open files owned by nginx."
},
{
"role": "assistant",
"content": "lsof -u nginx"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a retry() function that runs any command up to 3 times until it succeeds."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | function |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Short w listing for user mysql."
},
{
"role": "assistant",
"content": "w -s mysql"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List open files owned by bob."
},
{
"role": "assistant",
"content": "lsof -u bob"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "reduce the priority of all processes owned by carol"
},
{
"role": "assistant",
"content": "renice -n 15 -u carol"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show TCP listeners and their PIDs."
},
{
"role": "assistant",
"content": "ss -tlnp"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the process tree using ASCII line characters."
},
{
"role": "assistant",
"content": "pstree -A"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Report virtual-memory statistics every 10 seconds, 5 times."
},
{
"role": "assistant",
"content": "vmstat 10 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count how many lines in nginx-access.log match '502'."
},
{
"role": "assistant",
"content": "grep -c '502' nginx-access.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show who is logged in and what they are doing."
},
{
"role": "assistant",
"content": "w"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run 'rsync -a /data /mnt/backup' niced to 19 in the background."
},
{
"role": "assistant",
"content": "nice -n 19 rsync -a /data /mnt/backup &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show the process tree highlighting the current process and its ancestors"
},
{
"role": "assistant",
"content": "pstree -hp"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /var/backups as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pip... | script | mysqldump |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in /usr/local/bin owned by postgres."
},
{
"role": "assistant",
"content": "find /usr/local/bin -type f -user postgres"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Launch 'tar -czf backup.tar.gz /home/deploy' at reduced priority (19)."
},
{
"role": "assistant",
"content": "nice -n 19 tar -czf backup.tar.gz /home/deploy"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display pstree ordered by PID instead of by name."
},
{
"role": "assistant",
"content": "pstree -n"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List listening TCP sockets without resolving names/ports."
},
{
"role": "assistant",
"content": "lsof -nP -iTCP -sTCP:LISTEN"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List connections using port 9200 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :9200 or dport = :9200'"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.example.com/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://registry.example.com/api/users | jq ."
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "locate files under modules modified in the last 10 days"
},
{
"role": "assistant",
"content": "find modules -type f -mtime -10"
}
] | single | find |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'ffmpeg -i in.mp4 out.mp4' niced to 5 in the background."
},
{
"role": "assistant",
"content": "nice -n 5 ffmpeg -i in.mp4 out.mp4 &"
}
] | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Tar up the current directory into a dated archive."
},
{
"role": "assistant",
"content": "tar -czf backup-$(date +%F).tar.gz ."
}
] | pipeline | cmdsub |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "remove ripgrep and unneeded dependencies"
},
{
"role": "assistant",
"content": "sudo pacman -Rs ripgrep"
}
] | single | pacman |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give 'rsync -a /data /mnt/backup' a boosted CPU priority of -10."
},
{
"role": "assistant",
"content": "sudo nice -n -10 rsync -a /data /mnt/backup"
... | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Bump process 3108 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 3108"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 10 largest subdirectories of lib?"
},
{
"role": "assistant",
"content": "du -h lib/* 2>/dev/null | sort -rh | head -n 10"
}
] | pipeline | du |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a bash script that makes a .bak copy of each file for all .log files under /var/lib/app."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/var/lib/app\nfo... | script | cp |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give 'npm run build' a boosted CPU priority of -10."
},
{
"role": "assistant",
"content": "sudo nice -n -10 npm run build"
}
] | single | nice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "what time did the machine come up?"
},
{
"role": "assistant",
"content": "uptime -s"
}
] | single | uptime |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me an init-style dispatcher for the ssh service with case on $1."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefa... | script | case |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Sample iostat 10 times at 10-second intervals."
},
{
"role": "assistant",
"content": "iostat 10 10"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display extended disk I/O stats in human-readable form."
},
{
"role": "assistant",
"content": "iostat -xh"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 6212 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 6212"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://cdn.corp.net/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://cdn.corp.net... | single | curl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need a rotating backup: archive /var/www into /backup with xz, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What domain is this host in?"
},
{
"role": "assistant",
"content": "hostname -d"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the last 20 kernel log lines with timestamps."
},
{
"role": "assistant",
"content": "dmesg -T | tail -n 20"
}
] | single | dmesg |
[
{
"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 worker.log."
},
{
"role": "assistant",
"content": "grep 'panic' worker.log | sort | uniq -c | sort -nr | head -n 10... | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "gzip every .log file under /srv/www"
},
{
"role": "assistant",
"content": "find /srv/www -type f -name '*.log' -print0 | xargs -0 gzip"
}
] | pipeline | find |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from release.tsv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' release.tsv... | pipeline | sed |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the listener on port 8080."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :8080"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract backup.tar.gz into the reports folder"
},
{
"role": "assistant",
"content": "tar -xzf backup.tar.gz -C reports"
}
] | single | tar |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fail fast if any of REDIS_URL, AWS_REGION, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | env |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the top 5 processes by memory."
},
{
"role": "assistant",
"content": "ps aux --sort=-%mem | head -n 6"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Use a while loop to print the numbers 1 to 50, but only the even ones."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ni=2\nmax=50\nwhile [ \"$i\" -le \"$max\" ]; d... | script | while |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On this box, count connections grouped by their TCP state."
},
{
"role": "assistant",
"content": "ss -tan | awk 'NR>1 {print $1}' | sort | uniq -... | pipeline | ss |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the top 15 processes by CPU usage."
},
{
"role": "assistant",
"content": "ps aux --sort=-%cpu | head -n 16"
}
] | pipeline | ps |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List the files opened by process 5150."
},
{
"role": "assistant",
"content": "lsof -p 5150"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 3725 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 3725"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Timestamped vmstat every 2s for 20 samples."
},
{
"role": "assistant",
"content": "vmstat -t 2 20"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'tar -czf backup.tar.gz /home/deploy' at a lower priority (nice 10)."
},
{
"role": "assistant",
"content": "nice -n 10 tar -czf backup.tar.gz... | single | nice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the systemd journal for the memcached service."
},
{
"role": "assistant",
"content": "journalctl -u memcached"
}
] | single | journalctl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.