completion
stringlengths 1
920
| category
stringclasses 18
values | conversations
listlengths 2
2
|
|---|---|---|
ip netns list
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check network namespaces"
},
{
"from": "gpt",
"value": "ip netns list"
}
] |
ip netns add ns1
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Create netns"
},
{
"from": "gpt",
"value": "ip netns add ns1"
}
] |
ip netns exec ns1 ip addr show
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Exec in netns"
},
{
"from": "gpt",
"value": "ip netns exec ns1 ip addr show"
}
] |
calicoctl get policies
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check network policy"
},
{
"from": "gpt",
"value": "calicoctl get policies"
}
] |
cilium status
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Cilium"
},
{
"from": "gpt",
"value": "cilium status"
}
] |
istioctl proxy-status
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Istio"
},
{
"from": "gpt",
"value": "istioctl proxy-status"
}
] |
curl localhost:15000/config_dump
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Envoy"
},
{
"from": "gpt",
"value": "curl localhost:15000/config_dump"
}
] |
echo "show info" | sudo socat stdio /run/haproxy/admin.sock
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check HAProxy"
},
{
"from": "gpt",
"value": "echo \"show info\" | sudo socat stdio /run/haproxy/admin.sock"
}
] |
sudo nginx -t
|
web
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Nginx"
},
{
"from": "gpt",
"value": "sudo nginx -t"
}
] |
sudo nginx -s reload
|
web
|
[
{
"from": "human",
"value": "Convert to Linux command: Reload Nginx"
},
{
"from": "gpt",
"value": "sudo nginx -s reload"
}
] |
apachectl configtest
|
web
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Apache"
},
{
"from": "gpt",
"value": "apachectl configtest"
}
] |
sudo systemctl reload apache2
|
web
|
[
{
"from": "human",
"value": "Convert to Linux command: Reload Apache"
},
{
"from": "gpt",
"value": "sudo systemctl reload apache2"
}
] |
php -v
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check PHP"
},
{
"from": "gpt",
"value": "php -v"
}
] |
php -m
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check PHP modules"
},
{
"from": "gpt",
"value": "php -m"
}
] |
mysql -V
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check MySQL"
},
{
"from": "gpt",
"value": "mysql -V"
}
] |
mysqladmin status
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: MySQL status"
},
{
"from": "gpt",
"value": "mysqladmin status"
}
] |
psql --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check PostgreSQL"
},
{
"from": "gpt",
"value": "psql --version"
}
] |
psql -c "SELECT count(*) FROM pg_stat_activity;"
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: PostgreSQL connections"
},
{
"from": "gpt",
"value": "psql -c \"SELECT count(*) FROM pg_stat_activity;\""
}
] |
redis-cli ping
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Redis"
},
{
"from": "gpt",
"value": "redis-cli ping"
}
] |
redis-cli info
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Redis info"
},
{
"from": "gpt",
"value": "redis-cli info"
}
] |
mongo --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check MongoDB"
},
{
"from": "gpt",
"value": "mongo --version"
}
] |
mongo
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: MongoDB shell"
},
{
"from": "gpt",
"value": "mongo"
}
] |
docker version
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Docker"
},
{
"from": "gpt",
"value": "docker version"
}
] |
docker info
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Docker info"
},
{
"from": "gpt",
"value": "docker info"
}
] |
docker images
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: List Docker images"
},
{
"from": "gpt",
"value": "docker images"
}
] |
docker ps -a
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: List containers"
},
{
"from": "gpt",
"value": "docker ps -a"
}
] |
docker stats
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Docker stats"
},
{
"from": "gpt",
"value": "docker stats"
}
] |
podman version
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Podman"
},
{
"from": "gpt",
"value": "podman version"
}
] |
podman info
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Podman info"
},
{
"from": "gpt",
"value": "podman info"
}
] |
kubectl version --short
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Kubernetes"
},
{
"from": "gpt",
"value": "kubectl version --short"
}
] |
kubectl get nodes
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: K8s nodes"
},
{
"from": "gpt",
"value": "kubectl get nodes"
}
] |
kubectl get pods --all-namespaces
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: K8s pods"
},
{
"from": "gpt",
"value": "kubectl get pods --all-namespaces"
}
] |
helm version
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Helm"
},
{
"from": "gpt",
"value": "helm version"
}
] |
helm list
|
docker
|
[
{
"from": "human",
"value": "Convert to Linux command: Helm releases"
},
{
"from": "gpt",
"value": "helm list"
}
] |
terraform version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Terraform"
},
{
"from": "gpt",
"value": "terraform version"
}
] |
terraform plan
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Terraform plan"
},
{
"from": "gpt",
"value": "terraform plan"
}
] |
ansible --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Ansible"
},
{
"from": "gpt",
"value": "ansible --version"
}
] |
ansible all -m ping
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Ansible ping"
},
{
"from": "gpt",
"value": "ansible all -m ping"
}
] |
puppet --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Puppet"
},
{
"from": "gpt",
"value": "puppet --version"
}
] |
puppet agent --test
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Puppet agent"
},
{
"from": "gpt",
"value": "puppet agent --test"
}
] |
chef-client --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Chef"
},
{
"from": "gpt",
"value": "chef-client --version"
}
] |
knife node show webserver
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Chef node"
},
{
"from": "gpt",
"value": "knife node show webserver"
}
] |
salt --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Salt"
},
{
"from": "gpt",
"value": "salt --version"
}
] |
salt '*' test.ping
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Salt ping"
},
{
"from": "gpt",
"value": "salt '*' test.ping"
}
] |
cf-agent --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check CFEngine"
},
{
"from": "gpt",
"value": "cf-agent --version"
}
] |
nagios --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check monitoring"
},
{
"from": "gpt",
"value": "nagios --version"
}
] |
prometheus --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Prometheus"
},
{
"from": "gpt",
"value": "prometheus --version"
}
] |
curl localhost:9090/api/v1/targets
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Prometheus targets"
},
{
"from": "gpt",
"value": "curl localhost:9090/api/v1/targets"
}
] |
grafana-cli --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Grafana"
},
{
"from": "gpt",
"value": "grafana-cli --version"
}
] |
zabbix_server --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Zabbix"
},
{
"from": "gpt",
"value": "zabbix_server --version"
}
] |
curl localhost:9200
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Elasticsearch"
},
{
"from": "gpt",
"value": "curl localhost:9200"
}
] |
curl localhost:9200/_cluster/health?pretty
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Elasticsearch health"
},
{
"from": "gpt",
"value": "curl localhost:9200/_cluster/health?pretty"
}
] |
logstash --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Logstash"
},
{
"from": "gpt",
"value": "logstash --version"
}
] |
curl localhost:5601
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Kibana"
},
{
"from": "gpt",
"value": "curl localhost:5601"
}
] |
fluentd --version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Fluentd"
},
{
"from": "gpt",
"value": "fluentd --version"
}
] |
splunk version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Splunk"
},
{
"from": "gpt",
"value": "splunk version"
}
] |
telegraf --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Telegraf"
},
{
"from": "gpt",
"value": "telegraf --version"
}
] |
influx version
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: Check InfluxDB"
},
{
"from": "gpt",
"value": "influx version"
}
] |
influx -execute "SHOW DATABASES"
|
development
|
[
{
"from": "human",
"value": "Convert to Linux command: InfluxDB databases"
},
{
"from": "gpt",
"value": "influx -execute \"SHOW DATABASES\""
}
] |
echo "stats" | nc localhost 2003
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Graphite"
},
{
"from": "gpt",
"value": "echo \"stats\" | nc localhost 2003"
}
] |
echo "foo:1|c" | nc -u -w0 localhost 8125
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check StatsD"
},
{
"from": "gpt",
"value": "echo \"foo:1|c\" | nc -u -w0 localhost 8125"
}
] |
collectd -h
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check collectd"
},
{
"from": "gpt",
"value": "collectd -h"
}
] |
curl localhost:19999
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Netdata"
},
{
"from": "gpt",
"value": "curl localhost:19999"
}
] |
sudo datadog-agent status
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Datadog"
},
{
"from": "gpt",
"value": "sudo datadog-agent status"
}
] |
newrelic-admin status
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check New Relic"
},
{
"from": "gpt",
"value": "newrelic-admin status"
}
] |
curl localhost:8200
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check APM"
},
{
"from": "gpt",
"value": "curl localhost:8200"
}
] |
curl localhost:16686
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Jaeger"
},
{
"from": "gpt",
"value": "curl localhost:16686"
}
] |
curl localhost:9411
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Zipkin"
},
{
"from": "gpt",
"value": "curl localhost:9411"
}
] |
otel-collector --version
|
monitoring
|
[
{
"from": "human",
"value": "Convert to Linux command: Check OpenTelemetry"
},
{
"from": "gpt",
"value": "otel-collector --version"
}
] |
logger "Test message"
|
system
|
[
{
"from": "human",
"value": "Convert to Linux command: Check syslog"
},
{
"from": "gpt",
"value": "logger \"Test message\""
}
] |
journalctl -f | grep test
|
system
|
[
{
"from": "human",
"value": "Convert to Linux command: Check journal for test"
},
{
"from": "gpt",
"value": "journalctl -f | grep test"
}
] |
auditctl -s
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check audit"
},
{
"from": "gpt",
"value": "auditctl -s"
}
] |
auditctl -w /etc/passwd -p wa -k passwd_changes
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Add audit rule"
},
{
"from": "gpt",
"value": "auditctl -w /etc/passwd -p wa -k passwd_changes"
}
] |
ausearch -k passwd_changes
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Search audit"
},
{
"from": "gpt",
"value": "ausearch -k passwd_changes"
}
] |
sudo fail2ban-client status
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check fail2ban"
},
{
"from": "gpt",
"value": "sudo fail2ban-client status"
}
] |
fail2ban-client status sshd
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Fail2ban jails"
},
{
"from": "gpt",
"value": "fail2ban-client status sshd"
}
] |
fail2ban-client set sshd unbanip 1.2.3.4
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Unban IP"
},
{
"from": "gpt",
"value": "fail2ban-client set sshd unbanip 1.2.3.4"
}
] |
freshclam
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check ClamAV"
},
{
"from": "gpt",
"value": "freshclam"
}
] |
clamscan -r /home
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Scan directory"
},
{
"from": "gpt",
"value": "clamscan -r /home"
}
] |
sudo rkhunter --check
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check rkhunter"
},
{
"from": "gpt",
"value": "sudo rkhunter --check"
}
] |
sudo chkrootkit
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check chkrootkit"
},
{
"from": "gpt",
"value": "sudo chkrootkit"
}
] |
sudo lynis audit system
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Lynis"
},
{
"from": "gpt",
"value": "sudo lynis audit system"
}
] |
oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check OpenSCAP"
},
{
"from": "gpt",
"value": "oscap info /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml"
}
] |
oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --results scan.xml /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: SCAP scan"
},
{
"from": "gpt",
"value": "oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --results scan.xml /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml"
}
] |
sudo aide --check
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check AIDE"
},
{
"from": "gpt",
"value": "sudo aide --check"
}
] |
sudo aide --update
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Update AIDE"
},
{
"from": "gpt",
"value": "sudo aide --update"
}
] |
sudo tripwire --check
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check tripwire"
},
{
"from": "gpt",
"value": "sudo tripwire --check"
}
] |
sudo ossec-control status
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check OSSEC"
},
{
"from": "gpt",
"value": "sudo ossec-control status"
}
] |
suricata -V
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Suricata"
},
{
"from": "gpt",
"value": "suricata -V"
}
] |
snort -V
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Snort"
},
{
"from": "gpt",
"value": "snort -V"
}
] |
zeek -v
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Bro/Zeek"
},
{
"from": "gpt",
"value": "zeek -v"
}
] |
sudo service wazuh-manager status
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Wazuh"
},
{
"from": "gpt",
"value": "sudo service wazuh-manager status"
}
] |
sostat
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Security Onion"
},
{
"from": "gpt",
"value": "sostat"
}
] |
curl localhost:8005
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Moloch"
},
{
"from": "gpt",
"value": "curl localhost:8005"
}
] |
curl localhost:8005/arkime
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Arkime"
},
{
"from": "gpt",
"value": "curl localhost:8005/arkime"
}
] |
stenographer --version
|
security
|
[
{
"from": "human",
"value": "Convert to Linux command: Check Stenographer"
},
{
"from": "gpt",
"value": "stenographer --version"
}
] |
sudo tcpdump -i eth0 -w capture.pcap
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: PCAP capture"
},
{
"from": "gpt",
"value": "sudo tcpdump -i eth0 -w capture.pcap"
}
] |
tcpdump -r capture.pcap -n
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Read PCAP"
},
{
"from": "gpt",
"value": "tcpdump -r capture.pcap -n"
}
] |
tshark -i eth0 -c 10
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check tshark"
},
{
"from": "gpt",
"value": "tshark -i eth0 -c 10"
}
] |
nmap -V
|
network
|
[
{
"from": "human",
"value": "Convert to Linux command: Check nmap"
},
{
"from": "gpt",
"value": "nmap -V"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.