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": "Filter netstat for connections to or from www.example.com."
},
{
"role": "assistant",
"content": "netstat -tn | grep www.example.com"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the ancestors of process 2838 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 2838"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from settings.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' settings.csv | sort -u"
}
] | pipeline | sed |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run 'python train.py' niced to 19 in the background."
},
{
"role": "assistant",
"content": "nice -n 19 python train.py &"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 8642 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 8642"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print just the uptime in seconds."
},
{
"role": "assistant",
"content": "awk '{print $1}' /proc/uptime"
}
] | single | uptime |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Give me a script that iterates over backups/*.txt and changes the owner of each file to deploy."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | chown |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 1741 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 1741"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List ubuntu's activity, headerless."
},
{
"role": "assistant",
"content": "w -h ubuntu"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Rank the values of column 4 in kern.log by frequency, highest first, top 5 only."
},
{
"role": "assistant",
"content": "awk '{print $4}' kern.log | so... | pipeline | awk |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List the 5 biggest files under src."
},
{
"role": "assistant",
"content": "find src -type f -printf '%s %p\\n' 2>/dev/null | sort -rn | head -n 5... | pipeline | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "run a command with a temporary env var APP_ENV set to production"
},
{
"role": "assistant",
"content": "env APP_ENV=production ./deploy.sh"
}
] | single | env |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run the backup script, sending stdout and stderr to kern.log."
},
{
"role": "assistant",
"content": "./backup.sh > kern.log 2>&1"
}
] | pipeline | redirection |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Report virtual memory statistics every 3 seconds, 3 times."
},
{
"role": "assistant",
"content": "vmstat 3 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Process all .py files under data with optipng using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir... | script | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show tomcat's sessions without the header."
},
{
"role": "assistant",
"content": "w -h tomcat"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the listener on port 9200."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :9200"
}
] | single | ss |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Device-only I/O stats every 1 seconds."
},
{
"role": "assistant",
"content": "iostat -d 1"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Process all .pdf files under /mnt/storage with gzip using 8 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | xargs |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://registry.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://registry.internal/api/users | jq ."
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Copy export.csv into scripts only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u export.csv scripts/"
}
] | single | cp |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run vmstat with MB units every 1 seconds for 3 rounds."
},
{
"role": "assistant",
"content": "vmstat -S M 1 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow live logs for mariadb."
},
{
"role": "assistant",
"content": "journalctl -u mariadb -f"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 1813 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 1813"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "give the owner rwx and everyone else read on test.log"
},
{
"role": "assistant",
"content": "chmod 744 test.log"
}
] | single | chmod |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need a retry wrapper around connection to cdn.example.com:5432: 10 attempts, 1s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\ns... | script | bash |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "On this box, count established TCP connections."
},
{
"role": "assistant",
"content": "ss -tn state established | tail -n +2 | wc -l"
}
] | pipeline | ss |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show memcached logs from the last 21 days"
},
{
"role": "assistant",
"content": "journalctl -u memcached --since '21 days ago'"
}
] | single | journalctl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Loop over every .gif file in /mnt/storage and append its sha256 checksum to checksums.txt."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipe... | script | for |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Wide-format vmstat every 10s, 5 samples."
},
{
"role": "assistant",
"content": "vmstat -w 10 5"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I want reusable log() and die() shell functions with timestamps; die should exit 1."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nts() { date '+%Y-%m-%d %H:%M:%S'... | script | function |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "recursively search src for '404' and show line numbers"
},
{
"role": "assistant",
"content": "grep -rn '404' src"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in releases."
},
{
"role": "assistant",
"content": "find releases -type f -empty"
}
] | single | find |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find all .sql files under /var/lib/mysql and delete them. (Careful: destructive.)"
},
{
"role": "assistant",
"content": "find /var/lib/mysql -type f -name '*.sql' -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": "In mail.log, which 10 values of column 5 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $5}' mail.log | sort | uniq -c | so... | pipeline | awk |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Count error lines in the containerd journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u containerd --since yesterday | grep -ic error"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For every immediate subdirectory of /opt/app, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefai... | script | for |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List active (established) sessions on port 25."
},
{
"role": "assistant",
"content": "lsof -i :25 -sTCP:ESTABLISHED"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List alice's activity, headerless."
},
{
"role": "assistant",
"content": "w -h alice"
}
] | single | w |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the ancestors of process 3552 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 3552"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "download https://cdn.local/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://cdn.local/list.txt | wc -l"
}
] | pipeline | curl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Move changelog.md into the migrations folder."
},
{
"role": "assistant",
"content": "mv changelog.md migrations/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display dmesg using -T timestamps."
},
{
"role": "assistant",
"content": "dmesg -T"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show connections on port 5672."
},
{
"role": "assistant",
"content": "netstat -anp | grep :5672"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Filter dmesg to the kern facility."
},
{
"role": "assistant",
"content": "dmesg -f kern"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Check if sales.sh exists and cat it, otherwise say it's missing."
},
{
"role": "assistant",
"content": "[ -f sales.sh ] && cat sales.sh || echo ... | pipeline | chain |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a rotating backup: archive /var/lib/app into /mnt/backup with bzip2, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nsrc=/var/lib/app\ndest... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print dmesg entries from 10 min ago onward with timestamps."
},
{
"role": "assistant",
"content": "dmesg -T --since '10 min ago'"
}
] | single | dmesg |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "list the distinct error messages in build.log"
},
{
"role": "assistant",
"content": "grep -i error build.log | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a bash script that changes the owner of each file to deploy for all .txt files under /home/deploy."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ndir=/home/... | script | chown |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 7377 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 7377"
}
] | single | renice |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the short hostname."
},
{
"role": "assistant",
"content": "hostname"
}
] | single | hostname |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show TCP connections involving www.corp.net."
},
{
"role": "assistant",
"content": "netstat -tn | grep www.corp.net"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count error lines in the mysql journal since yesterday."
},
{
"role": "assistant",
"content": "journalctl -u mysql --since yesterday | grep -ic error"
}
] | pipeline | journalctl |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print only the primary (first) IP address."
},
{
"role": "assistant",
"content": "hostname -I | awk '{print $1}'"
}
] | single | hostname |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the nodename with uname -n."
},
{
"role": "assistant",
"content": "uname -n"
}
] | single | hostname |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "visualize the child processes of rabbitmq as a tree"
},
{
"role": "assistant",
"content": "pstree -p $(pgrep -o rabbitmq)"
}
] | single | pstree |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Move report.yaml into the src folder."
},
{
"role": "assistant",
"content": "mv report.yaml src/"
}
] | single | mv |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a retry wrapper around curl to https://auth.corp.net/health: 6 attempts, 3s apart."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 2452 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 2452"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run 4 parallel gzip jobs over every .log file in the current dir."
},
{
"role": "assistant",
"content": "ls *.log | xargs -P4 -n1 gzip"
}
] | pipeline | xargs |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Launch './import.sh' at reduced priority (15)."
},
{
"role": "assistant",
"content": "nice -n 15 ./import.sh"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Filter netstat for connections to or from staging.service.io."
},
{
"role": "assistant",
"content": "netstat -tn | grep staging.service.io"
}
] | single | netstat |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Short w listing for user ec2-user."
},
{
"role": "assistant",
"content": "w -s ec2-user"
}
] | single | w |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a bash script that makes a .bak copy of each file for all .bak files under /home/alice."
},
{
"role": "assistant",
"content": "#!/usr/bin... | script | cp |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show which process is using port 5000."
},
{
"role": "assistant",
"content": "lsof -i :5000"
}
] | single | lsof |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show connections on port 3000."
},
{
"role": "assistant",
"content": "netstat -anp | grep :3000"
}
] | single | netstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find the 10 most common 'ERROR'-related lines in request.log."
},
{
"role": "assistant",
"content": "grep 'ERROR' request.log | sort | uniq -c | sort ... | pipeline | grep |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Run 'python train.py' at a lower priority (nice 19)."
},
{
"role": "assistant",
"content": "nice -n 19 python train.py"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create the modules directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p modules && cd modules"
}
] | pipeline | chain |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a backup script that bzip2-compresses /srv/data into a timestamped tarball under /data/backup and keeps only the 14 newest."
},
{
"role": "ass... | script | tar |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the unique 'warning:' messages in syslog."
},
{
"role": "assistant",
"content": "grep 'warning:' syslog | sort -u"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find 'SIGTERM' in cron.log plus 3 lines of context around each match."
},
{
"role": "assistant",
"content": "grep -C 3 'SIGTERM' cron.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Read results.yaml, then keep only non-empty lines — as a pipeline."
},
{
"role": "assistant",
"content": "cat results.yaml | grep -v '^$'"
}
] | pipeline | grep |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "What is admin running right now?"
},
{
"role": "assistant",
"content": "w admin"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Make config.zip executable."
},
{
"role": "assistant",
"content": "chmod +x config.zip"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "On the file error.tar.gz, show the first 20 lines."
},
{
"role": "assistant",
"content": "head -n 20 error.tar.gz"
}
] | single | head |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run iostat every 2s for 5 reports."
},
{
"role": "assistant",
"content": "iostat 2 5"
}
] | single | iostat |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Copy output.jpg into tmp only if it's newer than what's there."
},
{
"role": "assistant",
"content": "cp -u output.jpg tmp/"
}
] | single | cp |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 25 most common entries in column 4 of inventory.csv?"
},
{
"role": "assistant",
"content": "cut -d, -f4 inventory.csv | sort | uniq... | pipeline | cut |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Timestamped vmstat every 3s for 3 samples."
},
{
"role": "assistant",
"content": "vmstat -t 3 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a backup script that gzip-compresses /var/www into a timestamped tarball under /var/backups and keeps only the 5 newest."
},
{
"role": "assista... | script | tar |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 1976 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 1976"
}
] | single | renice |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how many files are in tests."
},
{
"role": "assistant",
"content": "ls -1 tests | wc -l"
}
] | pipeline | ls |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Case-insensitively find 'throttled' in output.log."
},
{
"role": "assistant",
"content": "grep -i 'throttled' output.log"
}
] | single | grep |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find directories named uploads anywhere under static."
},
{
"role": "assistant",
"content": "find static -type d -name 'uploads'"
}
] | single | find |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all users currently logged in."
},
{
"role": "assistant",
"content": "who"
}
] | single | who |
[
{
"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://web01.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://web01.example.com/api/items ... | pipeline | curl |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Ping registry.internal four times and stop."
},
{
"role": "assistant",
"content": "ping -c 4 registry.internal"
}
] | single | ping |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "print the total and count of column 3 in access.log"
},
{
"role": "assistant",
"content": "awk '{sum+=$3; c++} END{print sum, c}' access.log"
}
] | pipeline | awk |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "List all files opened by containerd."
},
{
"role": "assistant",
"content": "lsof -c containerd"
}
] | single | lsof |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Launch 'find / -name '*.core'' at reduced priority (19)."
},
{
"role": "assistant",
"content": "nice -n 19 find / -name '*.core'"
}
] | single | nice |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List mysql's active sessions with w."
},
{
"role": "assistant",
"content": "w mysql"
}
] | single | w |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Make error.csv executable."
},
{
"role": "assistant",
"content": "chmod +x error.csv"
}
] | single | chmod |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Timestamped vmstat every 1s for 3 samples."
},
{
"role": "assistant",
"content": "vmstat -t 1 3"
}
] | single | vmstat |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print it with line numbers of build.bak."
},
{
"role": "assistant",
"content": "nl build.bak"
}
] | single | nl |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print backup's process hierarchy including PIDs."
},
{
"role": "assistant",
"content": "pstree -p backup"
}
] | single | pstree |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of config"
},
{
"role": "assistant",
"content": "tar -cjf config.tar.bz2 config"
}
] | single | tar |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I want reusable log() and die() shell functions with timestamps; die should exit 1."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | function |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List how full each mounted filesystem is, worst first."
},
{
"role": "assistant",
"content": "df -h | awk 'NR>1 {print $5, $6}' | sort -rn"
}
] | pipeline | df |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.