messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "which directories under backup are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 backup | sort -rh"
}
] | pipeline | du | 9bd0a493e6bb7ae0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under backup are eating the most space?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 backup | sort -rh"
}
] | pipeline | du | 9bd0a493e6bb7ae0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping host and ring the bell when a packet is received (if your terminal supports it)."
},
{
"role": "assistant",
"content": "ping -a auth.local"
}
] | single | ping | 4a58bcb169ed6d0f |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How do I total the resident memory of all chrome processes in MB?"
},
{
"role": "assistant",
"content": "ps -C chrome -o rss= | awk '{s+=$1} END{print... | pipeline | ps | b76edf385e3ae8fd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Only list matched files (useful when piping to other commands)."
},
{
"role": "assistant",
"content": "rg report.tmp invalid"
}
] | single | rg | bebb83b7cd2a0298 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display properties about a specific file such as size, permissions, creation date, and access date among others."
},
{
"role": "assistant",
"cont... | single | stat | a8fcc457e3c6a209 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a backup script that bzip2-compresses backups into a timestamped tarball under /var/backups and keeps only the 7 newest."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo... | script | tar | cea1a0b03cce7415 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Given product.tsv, strip trailing whitespace."
},
{
"role": "assistant",
"content": "cat product.tsv | sed 's/[[:space:]]*$//'"
}
] | pipeline | sed | 6373b538935bafe7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Given error.json, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat error.json | sort | uniq -c | sort -nr"
... | pipeline | uniq | b43194fa7ccf9d38 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extended iostat every 2s, hiding idle devices."
},
{
"role": "assistant",
"content": "iostat -xz 2"
}
] | single | iostat | f8b617358d0b6561 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'rsync -a /data /mnt/backup' at higher priority (nice -10); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -10 rsync -a /dat... | single | nice | d4129a223f034908 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "show fail2ban logs from the last 30 days"
},
{
"role": "assistant",
"content": "journalctl -u fail2ban --since '30 days ago'"
}
] | single | journalctl | 096796a04ef9f0a4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How do I list the PIDs of vim sorted by memory use?"
},
{
"role": "assistant",
"content": "ps -C vim -o pid=,rss= --sort=-rss"
}
] | pipeline | ps | 425fb8b935574761 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show active vs inactive memory using vmstat at 5-second intervals."
},
{
"role": "assistant",
"content": "vmstat -a 5"
}
] | single | vmstat | c24bf90c68d2571d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cache.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://cache.ex... | pipeline | curl | d76baa7cb966f1e4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://cache.example.com/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://cache.ex... | pipeline | curl | d76baa7cb966f1e4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show first 10 lines in a file."
},
{
"role": "assistant",
"content": "head order.tmp"
}
] | single | head | 135f52a578777fdc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://www.internal/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://www.internal... | single | curl | 7d725081fb07fb17 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "send a GET request to https://www.internal/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://www.inter... | single | curl | 7d725081fb07fb17 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate the parent directory of multiple paths."
},
{
"role": "assistant",
"content": "dirname reports"
}
] | single | dirname | 93dc5e041e4f6064 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Encode a file."
},
{
"role": "assistant",
"content": "base32 settings.txt"
}
] | single | base32 | b7fd9cc920c93a55 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://monitor.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl -s https://monitor.corp.net/api... | pipeline | curl | 5b5a75763b729d64 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://monitor.corp.net/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://monitor.corp.... | pipeline | curl | 5b5a75763b729d64 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Build the project and only deploy if the build succeeds."
},
{
"role": "assistant",
"content": "make build && ./deploy.sh"
}
] | pipeline | chain | b26e115930e3336a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "which directories under /srv/www are eating the most space?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 /srv/www | sort -rh"
}
... | pipeline | du | 6e6ace3709e9c053 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "which directories under /srv/www are eating the most space?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 /srv/www | sort -rh"
}
] | pipeline | du | 6e6ace3709e9c053 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Filter dmesg to warnings."
},
{
"role": "assistant",
"content": "dmesg -l warn"
}
] | single | dmesg | 3c8d2c06c358a17f |
[
{
"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 10-second intervals."
},
{
"role": "assistant",
"content": "vmstat -a 10"
}
] | single | vmstat | f89f4bd1a81eadbd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the biggest files under reports."
},
{
"role": "assistant",
"content": "du -ah reports | sort -rh | head -n 20"
}
] | pipeline | du | cf3f3a0bfdaac18d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep -u dave nginx"
}
] | single | pgrep | cbf536c70d484228 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "On this box, show which processes are listening and on which ports."
},
{
"role": "assistant",
"content": "ss -tlnp | awk 'NR>1 {print $4, $6}'"
}
] | pipeline | ss | afb680cd085ab69b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"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 | bc435ebe4f54d6ce |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create the vendor directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p vendor && cd vendor"
}
] | pipeline | chain | 42e917ed6c3f60b4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create the vendor directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents vendor && cd vendor"
}
] | pipeline | chain | 42e917ed6c3f60b4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Background 'find / -name '*.core'' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 find / -name '*.core' &"
}
] | single | nice | 2cbc132e401c0ae0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "In export.csv, which 10 values of column 7 occur most often?"
},
{
"role": "assistant",
"content": "cut -d, -f7 export.csv | sort | uniq -c | sort -nr | head -n 10"... | pipeline | cut | 7a59bdf731ef28cc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Launch 'python train.py' at reduced priority (5)."
},
{
"role": "assistant",
"content": "nice -n 5 python train.py"
}
] | single | nice | 66b9f64580fcb77f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List all the USB devices available."
},
{
"role": "assistant",
"content": "lsusb"
}
] | single | lsusb | b2b6767d9209e001 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print the contents of the file and display a progress bar."
},
{
"role": "assistant",
"content": "pv response.png"
}
] | single | pv | b9754f7e052beac3 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Change the owner user of a file/directory."
},
{
"role": "assistant",
"content": "sudo chown svc-app backup"
}
] | single | chown | 9ec2e3276f0f2031 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the files opened by process 8814."
},
{
"role": "assistant",
"content": "lsof -p 8814"
}
] | single | lsof | 64273f5b9d7a4b50 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "In metrics.csv, which 15 values of column 5 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $5}' metrics.csv | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | awk | 93cc5a65c603d3df |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display help."
},
{
"role": "assistant",
"content": "openssl help"
}
] | single | openssl | 1c626156e7090bb2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "I need to list the unique 'overflow' messages in metrics.log."
},
{
"role": "assistant",
"content": "grep 'overflow' metrics.log | sort -u"
}
] | pipeline | grep | fa4124a322700151 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the 50 most recent ssh log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u ssh -n 50"
}
] | single | journalctl | c3311646fd7c30a0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show established connections on port 5000."
},
{
"role": "assistant",
"content": "lsof -i :5000 -sTCP:ESTABLISHED"
}
] | single | lsof | afe44c29e6a22ecb |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Test if build.log is present and has content; report missing, empty, or its line count."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | if | e723a907a22ae5bc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"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 | e34b28e0a5554af9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the network node hostname via uname."
},
{
"role": "assistant",
"content": "uname -n"
}
] | single | hostname | db9a79f930f7c6ae |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 4908 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 4908"
}
] | single | renice | f325c0943a44332e |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write me a script that categorizes a filename by extension using case (is a .txt an image, archive, doc?)."
},
{
"role": "assistant",
"content":... | script | case | 6c886c18e70ee390 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in gateway.log mention 'Connection refused'?"
},
{
"role": "assistant",
"content": "grep -c 'Connection refused' gateway.log | cat... | pipeline | grep | ac27a0e7967ab1bb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Tally column 9 of messages and print the 15 top values by count."
},
{
"role": "assistant",
"content": "awk '{print $9}' messages | sort | uniq -c | sort -nr | head -n 15"
}
] | pipeline | awk | d33dfbb7733773cd |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from sales.log."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' sales.log | sort -... | pipeline | sed | f3abb77ae4a6b655 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I need to list the unique '403' messages in ingest.log."
},
{
"role": "assistant",
"content": "grep '403' ingest.log | sort -u"
}
] | pipeline | grep | f017bceb7946235c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "show ssh logs from the last 30 days"
},
{
"role": "assistant",
"content": "journalctl -u ssh --since '30 days ago'"
}
] | single | journalctl | c239c8987ce286ba |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print just the PID using port 3000."
},
{
"role": "assistant",
"content": "lsof -i :3000 -t"
}
] | single | lsof | 8ad328510ffc4955 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the hexadecimal representation of a file, but interpret only a specific number of bytes of the input."
},
{
"role": "assistant",
"content": "hexdump -C -n 3 notes.old"
}
] | single | hexdump | a3262f3181f739e8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "strip leading whitespace from every line of event.ini and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' event.ini >... | pipeline | sed | 089b4932af3722e7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Help me count how many nginx processes are running."
},
{
"role": "assistant",
"content": "pgrep -c nginx"
}
] | pipeline | pgrep | 49568442b3476d57 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Help me count how many nginx processes are running."
},
{
"role": "assistant",
"content": "pgrep --count nginx"
}
] | pipeline | pgrep | 49568442b3476d57 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a script that deletes .cache files older than 10 days from /tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/tmp\nage=10... | script | find | 7017b131758173b3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the systemd journal for the systemd-networkd service."
},
{
"role": "assistant",
"content": "journalctl -u systemd-networkd"
}
] | single | journalctl | c18047f8d6e4ccbd |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Make an HTTP GET request and dump the contents in `stdout`."
},
{
"role": "assistant",
"content": "curl session.png"
}
] | single | curl | 71b22a8bc56520a1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Unmount a filesystem, by passing the path to the source it is mounted from."
},
{
"role": "assistant",
"content": "sudo umount test.old"
}
] | single | umount | 8b68251eadc460f8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Ping a host without trying to lookup symbolic names for addresses."
},
{
"role": "assistant",
"content": "ping6 -n cache.internal"
}
] | single | ping6 | 705d490689f89844 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process targets.txt one line at a time, ignoring # comments, printing a running index."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | while | 5e511bed3d85aa1c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how many files are in releases."
},
{
"role": "assistant",
"content": "ls -1 releases | wc -l"
}
] | pipeline | ls | 6e020471515b3986 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in audit.log and write to audit.log.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' audit.log > audit.log.csv"
}
] | pipeline | sed | 7e1d229b26549e4c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "On this box, count established TCP connections."
},
{
"role": "assistant",
"content": "ss -tn state established | tail -n +2 | wc -l"
}
] | pipeline | ss | 4ca65ffaa46d02a1 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "For every immediate subdirectory of /home/alice, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor dir ... | script | for | f314ec091305632d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Increase/decrease the priority of all processes that belong to a process [g]roup."
},
{
"role": "assistant",
"content": "renice -n 5 -g operator... | single | renice | 067ac3e46e7059e5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://mail.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl -s https://mail.corp.net/api/items | jq 'le... | pipeline | curl | c5ee38ab811ddafc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://mail.corp.net/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://mail.c... | pipeline | curl | c5ee38ab811ddafc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a bash script that moves each file into an archive/ subfolder for all .gz files under /srv/data."
},
{
"role": "assistant",
"content": "#... | script | mv | 539d28af3ffc0259 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Give 'python train.py' a boosted CPU priority of -10."
},
{
"role": "assistant",
"content": "sudo nice -n -10 python train.py"
}
] | single | nice | 76d427f5ada0432a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Archive modules and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -czf - modules | ssh erin@cache.local 'cat > /backup/modules.tar.gz'"
}
] | pipeline | tar | c66f0b2b53c77525 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Archive modules and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar czf - modules | ssh erin@cache.l... | pipeline | tar | c66f0b2b53c77525 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Archive modules and pipe it over ssh to back it up on a remote host."
},
{
"role": "assistant",
"content": "tar -zcf - modules | ssh erin@cache.local 'cat > /backup... | pipeline | tar | c66f0b2b53c77525 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show apache2 logs from the last 7 days"
},
{
"role": "assistant",
"content": "journalctl -u apache2 --since '7 days ago'"
}
] | single | journalctl | a7d8960e35cb9790 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Benchmark algorithms for a specific duration (in seconds)."
},
{
"role": "assistant",
"content": "openssl speed -seconds 10"
}
] | single | openssl | e3e886155c3ce5c0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Specify the line numbering's width (6 by default)."
},
{
"role": "assistant",
"content": "nl 3 50 test.old"
}
] | single | nl | 443e5a8627c86b3c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in data."
},
{
"role": "assistant",
"content": "du -h data/* | sort -rh | head -n 10"
}
] | pipeline | du | ea41719849741b61 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of /srv/www."
},
{
"role": "assistant",
"content": "du -h /srv/www/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | bb7d5d575a84e9d0 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`)."
},
{
"role": "assistant",
"content": "ssh bob@web01.example.org -D ... | single | ssh | baec09a86002981c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Lower the priority of process 4279 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4279"
}
] | single | renice | e98ae3f5ec30fba1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Give me a script that iterates over backups/*.zip and makes each file read-only."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset ... | script | chmod | 995269f7ed59641e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "download https://app01.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://app01.example.org/list.txt | wc... | pipeline | curl | 6b05c994b5c191d2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "download https://app01.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://app01.example.org/list.tx... | pipeline | curl | 6b05c994b5c191d2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Iterate the hosts in targets.txt; the script checks if port 22 is open and marks each reachable or not."
},
{
"role": "assistant",
"content": "#!... | script | ssh | 47858024a7106567 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "POST a JSON body to https://monitor.example.org/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json'... | single | curl | b2be453b0b56e026 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://monitor.example.org/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: applicati... | single | curl | b2be453b0b56e026 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://registry.example.org/api/items"
},
{
"role": "assistant",
"content": "curl -s https://regist... | pipeline | curl | c3b23227d46a7ef5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://registry.example.org/api/items"
},
{
"role": "assistant",
"content": "curl --silent https:/... | pipeline | curl | c3b23227d46a7ef5 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter the kernel log to errors."
},
{
"role": "assistant",
"content": "dmesg -l err"
}
] | single | dmesg | 63a022abc3d045e1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Retrieve public key from private key."
},
{
"role": "assistant",
"content": "ssh-keygen -f profile.py -y"
}
] | single | ssh-keygen | dc569e00275b439b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display the children of process 4701."
},
{
"role": "assistant",
"content": "pstree -p 4701"
}
] | single | pstree | 27849d2bc9fa4a5e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "From api.log, list the 10 most frequent field-3 entries with their counts."
},
{
"role": "assistant",
"content": "cut -d, -f3 api.log | sort | un... | pipeline | cut | 4dd3a4b1c4c01815 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Parse sales.tsv as comma-separated id,name,email using while read and print each name."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | while | c1dc316f3d88e6df |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write me a script that deletes .tmp files older than 30 days from /tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/tmp\nage=30... | script | find | 180affa78c6c387c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.