completion
stringlengths
1
920
category
stringclasses
18 values
conversations
listlengths
2
2
cat /proc/sys/fs/inotify/max_user_watches
system
[ { "from": "human", "value": "Convert to Linux command: Check inotify" }, { "from": "gpt", "value": "cat /proc/sys/fs/inotify/max_user_watches" } ]
echo 524288 | sudo tee /proc/sys/fs/inotify/max_user_watches
system
[ { "from": "human", "value": "Convert to Linux command: Increase inotify" }, { "from": "gpt", "value": "echo 524288 | sudo tee /proc/sys/fs/inotify/max_user_watches" } ]
ps -eLf | wc -l
system
[ { "from": "human", "value": "Convert to Linux command: Check threads" }, { "from": "gpt", "value": "ps -eLf | wc -l" } ]
cat /proc/sys/kernel/threads-max
system
[ { "from": "human", "value": "Convert to Linux command: Max threads" }, { "from": "gpt", "value": "cat /proc/sys/kernel/threads-max" } ]
echo 100000 | sudo tee /proc/sys/kernel/threads-max
system
[ { "from": "human", "value": "Convert to Linux command: Increase threads" }, { "from": "gpt", "value": "echo 100000 | sudo tee /proc/sys/kernel/threads-max" } ]
cat /proc/sys/kernel/pid_max
system
[ { "from": "human", "value": "Convert to Linux command: Check PID max" }, { "from": "gpt", "value": "cat /proc/sys/kernel/pid_max" } ]
ipcs -m
system
[ { "from": "human", "value": "Convert to Linux command: Check shared memory" }, { "from": "gpt", "value": "ipcs -m" } ]
ipcrm -m 12345
system
[ { "from": "human", "value": "Convert to Linux command: Remove shared memory" }, { "from": "gpt", "value": "ipcrm -m 12345" } ]
ipcs -s
system
[ { "from": "human", "value": "Convert to Linux command: Check semaphores" }, { "from": "gpt", "value": "ipcs -s" } ]
ipcrm -s 12345
system
[ { "from": "human", "value": "Convert to Linux command: Remove semaphore" }, { "from": "gpt", "value": "ipcrm -s 12345" } ]
ipcs -q
system
[ { "from": "human", "value": "Convert to Linux command: Check message queues" }, { "from": "gpt", "value": "ipcs -q" } ]
ipcrm -q 12345
system
[ { "from": "human", "value": "Convert to Linux command: Remove message queue" }, { "from": "gpt", "value": "ipcrm -q 12345" } ]
ipcs -a
system
[ { "from": "human", "value": "Convert to Linux command: Check IPC status" }, { "from": "gpt", "value": "ipcs -a" } ]
ps aux | grep defunct
system
[ { "from": "human", "value": "Convert to Linux command: Check for zombies" }, { "from": "gpt", "value": "ps aux | grep defunct" } ]
Don't kill zombies
system
[ { "from": "human", "value": "Convert to Linux command: Kill zombie" }, { "from": "gpt", "value": "Don't kill zombies" } ]
uptime
system
[ { "from": "human", "value": "Convert to Linux command: Check load average" }, { "from": "gpt", "value": "uptime" } ]
system
null
[ { "from": "human", "value": "Convert to Linux command: Load average detail" }, { "from": "gpt", "value": "system" } ]
vmstat 1 5 | tail -4
system
[ { "from": "human", "value": "Convert to Linux command: Check context switches" }, { "from": "gpt", "value": "vmstat 1 5 | tail -4" } ]
cat /proc/interrupts
system
[ { "from": "human", "value": "Convert to Linux command: Check interrupts" }, { "from": "gpt", "value": "cat /proc/interrupts" } ]
cat /proc/softirqs
system
[ { "from": "human", "value": "Convert to Linux command: Check softirqs" }, { "from": "gpt", "value": "cat /proc/softirqs" } ]
cpupower frequency-info
system
[ { "from": "human", "value": "Convert to Linux command: Check CPU frequency" }, { "from": "gpt", "value": "cpupower frequency-info" } ]
sudo cpupower frequency-set -g powersave
system
[ { "from": "human", "value": "Convert to Linux command: Set CPU governor" }, { "from": "gpt", "value": "sudo cpupower frequency-set -g powersave" } ]
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
system
[ { "from": "human", "value": "Convert to Linux command: Check CPU scaling" }, { "from": "gpt", "value": "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" } ]
sudo cpupower frequency-set -d 800MHz
system
[ { "from": "human", "value": "Convert to Linux command: Set min frequency" }, { "from": "gpt", "value": "sudo cpupower frequency-set -d 800MHz" } ]
sudo cpupower frequency-set -u 3.5GHz
system
[ { "from": "human", "value": "Convert to Linux command: Set max frequency" }, { "from": "gpt", "value": "sudo cpupower frequency-set -u 3.5GHz" } ]
cat /sys/devices/system/cpu/intel_pstate/no_turbo
system
[ { "from": "human", "value": "Convert to Linux command: Check turbo" }, { "from": "gpt", "value": "cat /sys/devices/system/cpu/intel_pstate/no_turbo" } ]
echo 1 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
system
[ { "from": "human", "value": "Convert to Linux command: Disable turbo" }, { "from": "gpt", "value": "echo 1 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo" } ]
echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
system
[ { "from": "human", "value": "Convert to Linux command: Enable turbo" }, { "from": "gpt", "value": "echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo" } ]
cat /proc/cpuinfo | grep bugs
security
[ { "from": "human", "value": "Convert to Linux command: Check CPU bugs" }, { "from": "gpt", "value": "cat /proc/cpuinfo | grep bugs" } ]
cat /sys/devices/system/cpu/vulnerabilities/*
security
[ { "from": "human", "value": "Convert to Linux command: Check mitigations" }, { "from": "gpt", "value": "cat /sys/devices/system/cpu/vulnerabilities/*" } ]
Edit /etc/default/grub
security
[ { "from": "human", "value": "Convert to Linux command: Disable mitigations" }, { "from": "gpt", "value": "Edit /etc/default/grub" } ]
cat /sys/devices/system/cpu/vulnerabilities/spectre_v2
security
[ { "from": "human", "value": "Convert to Linux command: Check spectre" }, { "from": "gpt", "value": "cat /sys/devices/system/cpu/vulnerabilities/spectre_v2" } ]
cat /sys/devices/system/cpu/vulnerabilities/meltdown
security
[ { "from": "human", "value": "Convert to Linux command: Check meltdown" }, { "from": "gpt", "value": "cat /sys/devices/system/cpu/vulnerabilities/meltdown" } ]
lspci -vv | grep -A 5 "LnkSta"
system
[ { "from": "human", "value": "Convert to Linux command: Check PCIe speed" }, { "from": "gpt", "value": "lspci -vv | grep -A 5 \"LnkSta\"" } ]
lsusb -t
system
[ { "from": "human", "value": "Convert to Linux command: Check USB speed" }, { "from": "gpt", "value": "lsusb -t" } ]
dmesg | grep -i dma
system
[ { "from": "human", "value": "Convert to Linux command: Check DMA" }, { "from": "gpt", "value": "dmesg | grep -i dma" } ]
dmesg | grep -i iommu
system
[ { "from": "human", "value": "Convert to Linux command: Check IOMMU" }, { "from": "gpt", "value": "dmesg | grep -i iommu" } ]
Edit /etc/default/grub
system
[ { "from": "human", "value": "Convert to Linux command: Enable IOMMU" }, { "from": "gpt", "value": "Edit /etc/default/grub" } ]
glxgears
system
[ { "from": "human", "value": "Convert to Linux command: Check graphics" }, { "from": "gpt", "value": "glxgears" } ]
vkcube
system
[ { "from": "human", "value": "Convert to Linux command: Check Vulkan" }, { "from": "gpt", "value": "vkcube" } ]
glxinfo | grep renderer
system
[ { "from": "human", "value": "Convert to Linux command: Check renderer" }, { "from": "gpt", "value": "glxinfo | grep renderer" } ]
echo $DISPLAY
system
[ { "from": "human", "value": "Convert to Linux command: Check display" }, { "from": "gpt", "value": "echo $DISPLAY" } ]
xdpyinfo
system
[ { "from": "human", "value": "Convert to Linux command: X11 info" }, { "from": "gpt", "value": "xdpyinfo" } ]
fc-list | head -20
system
[ { "from": "human", "value": "Convert to Linux command: List fonts" }, { "from": "gpt", "value": "fc-list | head -20" } ]
fc-match "Arial"
system
[ { "from": "human", "value": "Convert to Linux command: Check font" }, { "from": "gpt", "value": "fc-match \"Arial\"" } ]
sudo fc-cache -fv
system
[ { "from": "human", "value": "Convert to Linux command: Refresh font cache" }, { "from": "gpt", "value": "sudo fc-cache -fv" } ]
pactl info
system
[ { "from": "human", "value": "Convert to Linux command: Check audio server" }, { "from": "gpt", "value": "pactl info" } ]
pactl list sinks short
system
[ { "from": "human", "value": "Convert to Linux command: List sinks" }, { "from": "gpt", "value": "pactl list sinks short" } ]
pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
system
[ { "from": "human", "value": "Convert to Linux command: Set default sink" }, { "from": "gpt", "value": "pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo" } ]
pactl set-sink-volume @DEFAULT_SINK@ +10%
system
[ { "from": "human", "value": "Convert to Linux command: Volume control" }, { "from": "gpt", "value": "pactl set-sink-volume @DEFAULT_SINK@ +10%" } ]
pactl set-sink-mute @DEFAULT_SINK@ toggle
system
[ { "from": "human", "value": "Convert to Linux command: Mute" }, { "from": "gpt", "value": "pactl set-sink-mute @DEFAULT_SINK@ toggle" } ]
bluetoothctl show
system
[ { "from": "human", "value": "Convert to Linux command: Check Bluetooth" }, { "from": "gpt", "value": "bluetoothctl show" } ]
bluetoothctl scan on
system
[ { "from": "human", "value": "Convert to Linux command: Scan Bluetooth" }, { "from": "gpt", "value": "bluetoothctl scan on" } ]
bluetoothctl pair 00:11:22:33:44:55
system
[ { "from": "human", "value": "Convert to Linux command: Pair Bluetooth" }, { "from": "gpt", "value": "bluetoothctl pair 00:11:22:33:44:55" } ]
bluetoothctl connect 00:11:22:33:44:55
system
[ { "from": "human", "value": "Convert to Linux command: Connect Bluetooth" }, { "from": "gpt", "value": "bluetoothctl connect 00:11:22:33:44:55" } ]
bluetoothctl trust 00:11:22:33:44:55
system
[ { "from": "human", "value": "Convert to Linux command: Trust device" }, { "from": "gpt", "value": "bluetoothctl trust 00:11:22:33:44:55" } ]
iwconfig
network
[ { "from": "human", "value": "Convert to Linux command: Check WiFi" }, { "from": "gpt", "value": "iwconfig" } ]
sudo iwlist wlan0 scan | grep ESSID
network
[ { "from": "human", "value": "Convert to Linux command: Scan WiFi" }, { "from": "gpt", "value": "sudo iwlist wlan0 scan | grep ESSID" } ]
sudo iwconfig wlan0 | grep -i quality
network
[ { "from": "human", "value": "Convert to Linux command: Check signal" }, { "from": "gpt", "value": "sudo iwconfig wlan0 | grep -i quality" } ]
ip link show wlan0
network
[ { "from": "human", "value": "Convert to Linux command: Check link" }, { "from": "gpt", "value": "ip link show wlan0" } ]
ip route show
network
[ { "from": "human", "value": "Convert to Linux command: Check route" }, { "from": "gpt", "value": "ip route show" } ]
sudo ip route add 192.168.2.0/24 via 192.168.1.1
network
[ { "from": "human", "value": "Convert to Linux command: Add route" }, { "from": "gpt", "value": "sudo ip route add 192.168.2.0/24 via 192.168.1.1" } ]
sudo ip route del 192.168.2.0/24
network
[ { "from": "human", "value": "Convert to Linux command: Delete route" }, { "from": "gpt", "value": "sudo ip route del 192.168.2.0/24" } ]
ip neigh show
network
[ { "from": "human", "value": "Convert to Linux command: Check ARP" }, { "from": "gpt", "value": "ip neigh show" } ]
sudo ip neigh flush all
network
[ { "from": "human", "value": "Convert to Linux command: Flush ARP" }, { "from": "gpt", "value": "sudo ip neigh flush all" } ]
conntrack -L
network
[ { "from": "human", "value": "Convert to Linux command: Check conntrack" }, { "from": "gpt", "value": "conntrack -L" } ]
conntrack -C
network
[ { "from": "human", "value": "Convert to Linux command: Count connections" }, { "from": "gpt", "value": "conntrack -C" } ]
conntrack -E
network
[ { "from": "human", "value": "Convert to Linux command: Monitor connections" }, { "from": "gpt", "value": "conntrack -E" } ]
cat /proc/net/ip_tables_names
network
[ { "from": "human", "value": "Convert to Linux command: Check netfilter" }, { "from": "gpt", "value": "cat /proc/net/ip_tables_names" } ]
nft list ruleset
network
[ { "from": "human", "value": "Convert to Linux command: List rules" }, { "from": "gpt", "value": "nft list ruleset" } ]
sudo nft add rule inet filter input tcp dport 22 accept
network
[ { "from": "human", "value": "Convert to Linux command: Add nft rule" }, { "from": "gpt", "value": "sudo nft add rule inet filter input tcp dport 22 accept" } ]
cat /etc/resolv.conf
network
[ { "from": "human", "value": "Convert to Linux command: Check DNS" }, { "from": "gpt", "value": "cat /etc/resolv.conf" } ]
dig +short example.com
network
[ { "from": "human", "value": "Convert to Linux command: Test DNS" }, { "from": "gpt", "value": "dig +short example.com" } ]
systemd-resolve --statistics
network
[ { "from": "human", "value": "Convert to Linux command: Check DNS cache" }, { "from": "gpt", "value": "systemd-resolve --statistics" } ]
sudo systemd-resolve --flush-caches
network
[ { "from": "human", "value": "Convert to Linux command: Flush DNS" }, { "from": "gpt", "value": "sudo systemd-resolve --flush-caches" } ]
avahi-browse -a
network
[ { "from": "human", "value": "Convert to Linux command: Check mDNS" }, { "from": "gpt", "value": "avahi-browse -a" } ]
sudo lldpctl
network
[ { "from": "human", "value": "Convert to Linux command: Check LLDP" }, { "from": "gpt", "value": "sudo lldpctl" } ]
sudo tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'
network
[ { "from": "human", "value": "Convert to Linux command: Check CDP" }, { "from": "gpt", "value": "sudo tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'" } ]
brctl showstp bridge0
network
[ { "from": "human", "value": "Convert to Linux command: Check STP" }, { "from": "gpt", "value": "brctl showstp bridge0" } ]
brctl show
network
[ { "from": "human", "value": "Convert to Linux command: Check bridging" }, { "from": "gpt", "value": "brctl show" } ]
sudo brctl addbr br0
network
[ { "from": "human", "value": "Convert to Linux command: Add bridge" }, { "from": "gpt", "value": "sudo brctl addbr br0" } ]
sudo brctl addif br0 eth0
network
[ { "from": "human", "value": "Convert to Linux command: Add interface to bridge" }, { "from": "gpt", "value": "sudo brctl addif br0 eth0" } ]
cat /proc/net/bonding/bond0
network
[ { "from": "human", "value": "Convert to Linux command: Check bonding" }, { "from": "gpt", "value": "cat /proc/net/bonding/bond0" } ]
ip -d link show
network
[ { "from": "human", "value": "Convert to Linux command: Check VLAN" }, { "from": "gpt", "value": "ip -d link show" } ]
sudo ip link add link eth0 name eth0.10 type vlan id 10
network
[ { "from": "human", "value": "Convert to Linux command: Create VLAN" }, { "from": "gpt", "value": "sudo ip link add link eth0 name eth0.10 type vlan id 10" } ]
ip tunnel show
network
[ { "from": "human", "value": "Convert to Linux command: Check tunnels" }, { "from": "gpt", "value": "ip tunnel show" } ]
sudo ip tunnel add gre1 mode gre remote 10.0.0.2 local 10.0.0.1 ttl 255
network
[ { "from": "human", "value": "Convert to Linux command: Create GRE tunnel" }, { "from": "gpt", "value": "sudo ip tunnel add gre1 mode gre remote 10.0.0.2 local 10.0.0.1 ttl 255" } ]
ipsec status
network
[ { "from": "human", "value": "Convert to Linux command: Check VPN" }, { "from": "gpt", "value": "ipsec status" } ]
sudo systemctl status openvpn-client@config
network
[ { "from": "human", "value": "Convert to Linux command: Check OpenVPN" }, { "from": "gpt", "value": "sudo systemctl status openvpn-client@config" } ]
wg show
network
[ { "from": "human", "value": "Convert to Linux command: Check WireGuard" }, { "from": "gpt", "value": "wg show" } ]
wg set wg0 peer ABC123... allowed-ips 10.0.0.2/32
network
[ { "from": "human", "value": "Convert to Linux command: Add WireGuard peer" }, { "from": "gpt", "value": "wg set wg0 peer ABC123... allowed-ips 10.0.0.2/32" } ]
birdc show protocols
network
[ { "from": "human", "value": "Convert to Linux command: Check BGP" }, { "from": "gpt", "value": "birdc show protocols" } ]
vtysh -c "show ip ospf"
network
[ { "from": "human", "value": "Convert to Linux command: Check OSPF" }, { "from": "gpt", "value": "vtysh -c \"show ip ospf\"" } ]
bfdd-control status
network
[ { "from": "human", "value": "Convert to Linux command: Check BFD" }, { "from": "gpt", "value": "bfdd-control status" } ]
ip -f mpls route
network
[ { "from": "human", "value": "Convert to Linux command: Check MPLS" }, { "from": "gpt", "value": "ip -f mpls route" } ]
ip vrf show
network
[ { "from": "human", "value": "Convert to Linux command: Check VRF" }, { "from": "gpt", "value": "ip vrf show" } ]
ip -d link show type vxlan
network
[ { "from": "human", "value": "Convert to Linux command: Check VXLAN" }, { "from": "gpt", "value": "ip -d link show type vxlan" } ]
ip -d link show type geneve
network
[ { "from": "human", "value": "Convert to Linux command: Check GENEVE" }, { "from": "gpt", "value": "ip -d link show type geneve" } ]
ip -d link show type macvlan
network
[ { "from": "human", "value": "Convert to Linux command: Check MACVLAN" }, { "from": "gpt", "value": "ip -d link show type macvlan" } ]
ip -d link show type ipvlan
network
[ { "from": "human", "value": "Convert to Linux command: Check IPVLAN" }, { "from": "gpt", "value": "ip -d link show type ipvlan" } ]