messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
89 values
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "show ssh logs from the last 90 days" }, { "role": "assistant", "content": "journalctl -u ssh --since '90 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count error lines in the memcached journal since yesterday." }, { "role": "assistant", "content": "journalctl -u memcached --since yesterday | grep -ic error" } ]
pipeline
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://192.168.1.10/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://192.168.1.10/...
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show only kernel error-level messages." }, { "role": "assistant", "content": "dmesg -l err" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that retries a curl to https://cdn.service.io/health up to 5 times with a 2-second backoff." }, { "role": "assistant", "content"...
script
retry
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 6577 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 6577" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all files opened by tmux." }, { "role": "assistant", "content": "lsof -c tmux" } ]
single
lsof
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the systemd journal for the systemd-networkd service." }, { "role": "assistant", "content": "journalctl -u systemd-networkd" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Case-insensitively find 'critical' in kern.log." }, { "role": "assistant", "content": "grep -i 'critical' kern.log" } ]
single
grep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show all TCP sockets touching port 3306." }, { "role": "assistant", "content": "ss -tn 'sport = :3306 or dport = :3306'" } ]
single
ss
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what user redis is currently doing." }, { "role": "assistant", "content": "w redis" } ]
single
w
[ { "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), --name (-n) and --count (-c) via getopts, with a usage message." }, { "role": "assistant", "content": ...
script
getopts
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "locate files under /srv/www modified in the last 1 days" }, { "role": "assistant", "content": "find /srv/www -type f -mtime -1" } ]
single
find
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP sockets currently in use." }, { "role": "assistant", "content": "lsof -i tcp" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Dump vmstat -s statistics using MB units." }, { "role": "assistant", "content": "vmstat -s -S M" } ]
single
vmstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Check what holds port 8443 with ss." }, { "role": "assistant", "content": "ss -tlnp sport = :8443" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show listening TCP ports numerically." }, { "role": "assistant", "content": "netstat -ltn" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the full 'vmstat -s' statistics." }, { "role": "assistant", "content": "vmstat -s" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "make a bzip2-compressed tarball of reports" }, { "role": "assistant", "content": "tar -cjf reports.tar.bz2 reports" } ]
single
tar
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show only the CPU utilization part of iostat." }, { "role": "assistant", "content": "iostat -c" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show uptime in a human-friendly 'pretty' format." }, { "role": "assistant", "content": "uptime -p" } ]
single
uptime
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Loop over every .csv file in /srv/data and append its sha256 checksum to checksums.txt." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefai...
script
for
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Check if debug.tar.gz exists and cat it, otherwise say it's missing." }, { "role": "assistant", "content": "[ -f debug.tar.gz ] && cat debug.tar....
pipeline
chain
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "show apache2 logs from the last 1 days" }, { "role": "assistant", "content": "journalctl -u apache2 --since '1 days ago'" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show active vs inactive memory using vmstat at 5-second intervals." }, { "role": "assistant", "content": "vmstat -a 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List the 20 largest subdirectories of /etc/nginx." }, { "role": "assistant", "content": "du -h /etc/nginx/* 2>/dev/null | sort -rh | head -n 20" } ]
pipeline
du
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write me a script that retries a git fetch from origin up to 6 times, sleeping 2s between attempts." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
git
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List all listening ports and the programs using them." }, { "role": "assistant", "content": "netstat -tulpn" } ]
single
netstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Bump process 5097 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 5097" } ]
single
renice
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 50 most recent redis log lines, newest last." }, { "role": "assistant", "content": "journalctl -u redis -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "change just the group of schema.jpg to sudo" }, { "role": "assistant", "content": "sudo chgrp sudo schema.jpg" } ]
single
chown
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show all TCP listeners numerically via lsof." }, { "role": "assistant", "content": "lsof -nP -iTCP -sTCP:LISTEN" } ]
single
lsof
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display per-interface counters." }, { "role": "assistant", "content": "netstat -i" } ]
single
netstat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many full days has the system been up?" }, { "role": "assistant", "content": "awk '{print int($1/86400)\" days\"}' /proc/uptime" } ]
single
uptime
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Process all .gz files under /var/www with checksum with sha256sum 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": "Display all processes as a hierarchy." }, { "role": "assistant", "content": "pstree" } ]
single
pstree
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how many postgres processes are running." }, { "role": "assistant", "content": "pgrep -c postgres" } ]
pipeline
pgrep
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "I need a script that loops over every .gif file in backups and prints the line count of each file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=backups\nfor ...
script
wc
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a small script that deletes .gz files older than 180 days from cache and logs what it removed." }, { "role": "assistant", "content": "#!/u...
script
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Timestamped vmstat every 3s for 10 samples." }, { "role": "assistant", "content": "vmstat -t 3 10" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Follow live logs for haproxy." }, { "role": "assistant", "content": "journalctl -u haproxy -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print only lines 10 through 20 of error.csv." }, { "role": "assistant", "content": "sed -n '10,20p' error.csv" } ]
single
sed
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the systemd journal for the sshd service." }, { "role": "assistant", "content": "journalctl -u sshd" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print protocol-level network stats." }, { "role": "assistant", "content": "netstat -s" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic 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 -e...
script
mysqldump
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Short w listing for user alice." }, { "role": "assistant", "content": "w -s alice" } ]
single
w
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Run iostat every 1s for 3 reports." }, { "role": "assistant", "content": "iostat 1 3" } ]
single
iostat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show erin's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p erin" } ]
single
pstree
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow live logs for prometheus." }, { "role": "assistant", "content": "journalctl -u prometheus -f" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Try to restart nginx, and if that fails, print an error." }, { "role": "assistant", "content": "sudo systemctl restart nginx || echo 'nginx rest...
pipeline
chain
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a backup script that bzip2-compresses /home/alice into a timestamped tarball under /mnt/backup and keeps only the 14 newest." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset ...
script
tar
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show established connections on port 8000." }, { "role": "assistant", "content": "lsof -i :8000 -sTCP:ESTABLISHED" } ]
single
lsof
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List the disk usage of static broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 static 2>/dev/null | sort -...
pipeline
du
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show uptime and load averages." }, { "role": "assistant", "content": "uptime" } ]
single
uptime
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show just disk stats with iostat every 2s." }, { "role": "assistant", "content": "iostat -d 2" } ]
single
iostat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Lower the priority of process 1252 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 1252" } ]
single
renice
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many users are currently logged in?" }, { "role": "assistant", "content": "w -h | wc -l" } ]
single
w
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 50 most recent containerd log lines, newest last." }, { "role": "assistant", "content": "journalctl -u containerd -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Add a timestamp column to vmstat, 2s interval, 5 rounds." }, { "role": "assistant", "content": "vmstat -t 2 5" } ]
single
vmstat
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Guard a script so it requires one or more arguments and shows usage otherwise." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$#\" -lt 1 ]; then\n echo \"u...
script
if
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List only directories inside templates." }, { "role": "assistant", "content": "ls -d templates/*/" } ]
single
ls
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a small bash logging library: log() writes info, die() writes an error and aborts." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
function
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'ffmpeg -i in.mp4 out.mp4' at nice level 15." }, { "role": "assistant", "content": "nice -n 15 ffmpeg -i in.mp4 out.mp4 &" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show UDP listeners numerically." }, { "role": "assistant", "content": "ss -ulnp" } ]
single
ss
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Sample vmstat 10 times at a 1-second interval." }, { "role": "assistant", "content": "vmstat 1 10" } ]
single
vmstat
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From profile.md, convert everything to uppercase." }, { "role": "assistant", "content": "cat profile.md | tr 'a-z' 'A-Z'" } ]
pipeline
tr
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "send a GET request to https://api.example.org/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://api.example.org/api" } ]
single
curl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in server.log." }, { "role": "assistant", "content": "awk '{print $1}' server.log | sort | uniq -c | sort -nr" }...
pipeline
grep
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Start 'ffmpeg -i in.mp4 out.mp4' with nice value 19 so it doesn't hog the CPU." }, { "role": "assistant", "content": "nice -n 19 ffmpeg -i in.mp4...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print pstree with ASCII art instead of Unicode." }, { "role": "assistant", "content": "pstree -A" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run iostat -x every 10 seconds and skip zero-activity devices." }, { "role": "assistant", "content": "iostat -xz 10" } ]
single
iostat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print all the IP addresses assigned to this host." }, { "role": "assistant", "content": "hostname -I" } ]
single
hostname
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show kernel messages with human-readable timestamps." }, { "role": "assistant", "content": "dmesg -T" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Append the current date to gateway.log." }, { "role": "assistant", "content": "date >> gateway.log" } ]
pipeline
redirection
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print pstree highlighting the current branch, with PIDs." }, { "role": "assistant", "content": "pstree -hp" } ]
single
pstree
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Filter the kernel log to notices." }, { "role": "assistant", "content": "dmesg -l notice" } ]
single
dmesg
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Which files does user operator have open?" }, { "role": "assistant", "content": "lsof -u operator" } ]
single
lsof
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Kill the process using the most memory. (Careful.)" }, { "role": "assistant", "content": "kill $(ps aux --sort=-%mem | awk 'NR==2 {print $2}')" } ]
pipeline
cmdsub
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Total the resident memory of all nginx processes in MB." }, { "role": "assistant", "content": "ps -C nginx -o rss= | awk '{s+=$1} END{print s/10...
pipeline
ps
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a script that dumps every PostgreSQL database into its own gzip file under /backup, keeping 30 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndest=/bac...
script
pg_dump
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "strip leading whitespace from every line of customer.md and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' customer.md > clean.txt...
pipeline
sed
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Launch 'python train.py' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 python train.py" } ]
single
nice
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the 50 most recent mariadb log lines, newest last." }, { "role": "assistant", "content": "journalctl -u mariadb -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "change permissions to 644 on all files under /data/uploads" }, { "role": "assistant", "content": "find /data/uploads -type f -print0 | xargs -0 chmod 644" } ]
pipeline
find
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Fetch JSON from https://cache.corp.net/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://cache.corp.net/api/users | jq ....
pipeline
curl
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 7918." }, { "role": "assistant", "content": "pstree -p 7918" } ]
single
pstree
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Count how many unique IP-like first fields appear in metrics.log." }, { "role": "assistant", "content": "awk '{print $1}' metrics.log | sort | un...
pipeline
grep
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show a single virtual-memory snapshot." }, { "role": "assistant", "content": "vmstat" } ]
single
vmstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter netstat for connections to or from app01.internal." }, { "role": "assistant", "content": "netstat -tn | grep app01.internal" } ]
single
netstat
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print dmesg in raw format with priority markers." }, { "role": "assistant", "content": "dmesg -r" } ]
single
dmesg
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I total the resident memory of all haproxy processes in MB?" }, { "role": "assistant", "content": "ps -C haproxy -o rss= | awk '{s+=$1} E...
pipeline
ps
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What's the FQDN of this host?" }, { "role": "assistant", "content": "hostname -f" } ]
single
hostname
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "What's listening on this machine and on which ports?" }, { "role": "assistant", "content": "netstat -tulpn" } ]
single
netstat
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter dmesg to the daemon facility." }, { "role": "assistant", "content": "dmesg -f daemon" } ]
single
dmesg
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extended disk I/O stats every 3s, 3 samples." }, { "role": "assistant", "content": "iostat -x 3 3" } ]
single
iostat
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the 50 most recent ssh log lines, newest last." }, { "role": "assistant", "content": "journalctl -u ssh -n 50" } ]
single
journalctl
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Filter dmesg to critical level." }, { "role": "assistant", "content": "dmesg --level=crit" } ]
single
dmesg
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Delete the first line of catalog.log in place." }, { "role": "assistant", "content": "sed -i '1d' catalog.log" } ]
single
sed
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run 'ffmpeg -i in.mp4 out.mp4' at higher priority (nice -10); needs root." }, { "role": "assistant", "content": "sudo nice -n -10 ffmpeg -i in.mp...
single
nice
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a script that deletes .gz files older than 10 days from /var/tmp and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/en...
script
find