conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run a one-liner program (e.g. syscall count by program)"
},
{
"from": "gpt",
"value": "sudo bpftrace -e 'tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }'"
}
] |
[
{
"from": "human",
"value": "Run a program from a file"
},
{
"from": "gpt",
"value": "sudo bpftrace path/to/file"
}
] |
[
{
"from": "human",
"value": "Trace a program by PID"
},
{
"from": "gpt",
"value": "sudo bpftrace -e 'tracepoint:raw_syscalls:sys_enter /pid == 123/ { @[comm] = count(); }'"
}
] |
[
{
"from": "human",
"value": "Do a dry run and display the output in eBPF format"
},
{
"from": "gpt",
"value": "sudo bpftrace -d -e 'one_line_program'"
}
] |
[
{
"from": "human",
"value": "Synchronize and update all AUR packages"
},
{
"from": "gpt",
"value": "trizen -Syua"
}
] |
[
{
"from": "human",
"value": "Install a new package"
},
{
"from": "gpt",
"value": "trizen -S package"
}
] |
[
{
"from": "human",
"value": "Remove a package and its dependencies"
},
{
"from": "gpt",
"value": "trizen -Rs package"
}
] |
[
{
"from": "human",
"value": "Search the package database for a keyword"
},
{
"from": "gpt",
"value": "trizen -Ss keyword"
}
] |
[
{
"from": "human",
"value": "Show information about a package"
},
{
"from": "gpt",
"value": "trizen -Si package"
}
] |
[
{
"from": "human",
"value": "List installed packages and versions"
},
{
"from": "gpt",
"value": "trizen -Qe"
}
] |
[
{
"from": "human",
"value": "View the current and permanent MAC addresses of a interface"
},
{
"from": "gpt",
"value": "macchanger [-s|--show] interface"
}
] |
[
{
"from": "human",
"value": "Set interface to a random MAC"
},
{
"from": "gpt",
"value": "macchanger [-r|--random] interface"
}
] |
[
{
"from": "human",
"value": "Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress"
},
{
"from": "gpt",
"value": "macchanger [-r|--random] [-b|--bia] interface"
}
] |
[
{
"from": "human",
"value": "Set an interface to a specific MAC address"
},
{
"from": "gpt",
"value": "macchanger [-m|--mac] XX:XX:XX:XX:XX:XX interface"
}
] |
[
{
"from": "human",
"value": "Print the identifications (the first three bytes of a MAC address) of all known vendors"
},
{
"from": "gpt",
"value": "macchanger [-l|--list]"
}
] |
[
{
"from": "human",
"value": "Reset an interface to its permanent hardware MAC address"
},
{
"from": "gpt",
"value": "macchanger [-p|--permanent] interface"
}
] |
[
{
"from": "human",
"value": "Stop a virtual machine immediately"
},
{
"from": "gpt",
"value": "qm stop VM_ID"
}
] |
[
{
"from": "human",
"value": "Stop a virtual machine and wait for at most 10 seconds"
},
{
"from": "gpt",
"value": "qm stop --timeout 10 VM_ID"
}
] |
[
{
"from": "human",
"value": "Stop a virtual machine and skip lock (only root can use this option)"
},
{
"from": "gpt",
"value": "qm stop --skiplock true VM_ID"
}
] |
[
{
"from": "human",
"value": "Stop a virtual machine and don't deactivate storage volumes"
},
{
"from": "gpt",
"value": "qm stop --keepActive true VM_ID"
}
] |
[
{
"from": "human",
"value": "Add one or more files or directories to a Phar file"
},
{
"from": "gpt",
"value": "phar add -f path/to/phar_file path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Display the contents of a Phar file"
},
{
"from": "gpt",
"value": "phar list -f path/to/phar_file"
}
] |
[
{
"from": "human",
"value": "Delete the specified file or directory from a Phar file"
},
{
"from": "gpt",
"value": "phar delete -f path/to/phar_file -e file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compress or uncompress files and directories in a Phar file"
},
{
"from": "gpt",
"value": "phar compress -f path/to/phar_file -c algorithm"
}
] |
[
{
"from": "human",
"value": "Get information about a Phar file"
},
{
"from": "gpt",
"value": "phar info -f path/to/phar_file"
}
] |
[
{
"from": "human",
"value": "Sign a Phar file with a specific hash algorithm"
},
{
"from": "gpt",
"value": "phar sign -f path/to/phar_file -h algorithm"
}
] |
[
{
"from": "human",
"value": "Sign a Phar file with an OpenSSL private key"
},
{
"from": "gpt",
"value": "phar sign -f path/to/phar_file -h openssl -y path/to/private_key"
}
] |
[
{
"from": "human",
"value": "Display help and available hashing/compression algorithms"
},
{
"from": "gpt",
"value": "phar help"
}
] |
[
{
"from": "human",
"value": "Compile and print all firewall rules"
},
{
"from": "gpt",
"value": "pve-firewall compile"
}
] |
[
{
"from": "human",
"value": "Show information about the local network"
},
{
"from": "gpt",
"value": "pve-firewall localnet"
}
] |
[
{
"from": "human",
"value": "Restart the Proxmox VE Firewall service"
},
{
"from": "gpt",
"value": "pve-firewall restart"
}
] |
[
{
"from": "human",
"value": "Start the Proxmox VE Firewall service"
},
{
"from": "gpt",
"value": "pve-firewall start"
}
] |
[
{
"from": "human",
"value": "Stop the Proxmox VE Firewall service"
},
{
"from": "gpt",
"value": "pve-firewall stop"
}
] |
[
{
"from": "human",
"value": "Simulate all firewall rules"
},
{
"from": "gpt",
"value": "pve-firewall simulate"
}
] |
[
{
"from": "human",
"value": "Show the status of Proxmox VE Firewall"
},
{
"from": "gpt",
"value": "pve-firewall status"
}
] |
[
{
"from": "human",
"value": "Display battery information"
},
{
"from": "gpt",
"value": "battop"
}
] |
[
{
"from": "human",
"value": "Change battery information measurement [u]nit (default: human)"
},
{
"from": "gpt",
"value": "battop -u human|si"
}
] |
[
{
"from": "human",
"value": "Download the contents of a URL to a file"
},
{
"from": "gpt",
"value": "ruget https://example.com/file"
}
] |
[
{
"from": "human",
"value": "Download the contents of a URL to a specified output file"
},
{
"from": "gpt",
"value": "ruget [-o|--output] file_name https://example.com/file"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot and save it to the current directory with the current date as the filename"
},
{
"from": "gpt",
"value": "scrot"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot and save it as `capture.png`"
},
{
"from": "gpt",
"value": "scrot capture.png"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot interactively"
},
{
"from": "gpt",
"value": "scrot --select"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit"
},
{
"from": "gpt",
"value": "scrot --select --ignorekeyboard"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot interactively delimiting the region with a colored line"
},
{
"from": "gpt",
"value": "scrot --select --line color=x11_color|rgb_color"
}
] |
[
{
"from": "human",
"value": "Capture a screenshot from the currently focused window"
},
{
"from": "gpt",
"value": "scrot --focused"
}
] |
[
{
"from": "human",
"value": "Display a countdown of 10 seconds before taking a screenshot"
},
{
"from": "gpt",
"value": "scrot --count --delay 10"
}
] |
[
{
"from": "human",
"value": "Add packages to the local image (Note: after executing this command, you need to apply these changes.)"
},
{
"from": "gpt",
"value": "sudo abroot pkg add package"
}
] |
[
{
"from": "human",
"value": "Remove packages from the local image (Note: after executing this command, you need to apply these changes.)"
},
{
"from": "gpt",
"value": "sudo abroot pkg remove package"
}
] |
[
{
"from": "human",
"value": "List packages in the local image"
},
{
"from": "gpt",
"value": "sudo abroot pkg list"
}
] |
[
{
"from": "human",
"value": "Apply changes in the local image (Note: you need to reboot your system for these changes to be applied)"
},
{
"from": "gpt",
"value": "sudo abroot pkg apply"
}
] |
[
{
"from": "human",
"value": "Rollback your system to previous state"
},
{
"from": "gpt",
"value": "sudo abroot rollback"
}
] |
[
{
"from": "human",
"value": "Edit/View kernel parameters"
},
{
"from": "gpt",
"value": "sudo abroot kargs edit|show"
}
] |
[
{
"from": "human",
"value": "Display status"
},
{
"from": "gpt",
"value": "sudo abroot status"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "abroot --help"
}
] |
[
{
"from": "human",
"value": "Defragment the filesystem"
},
{
"from": "gpt",
"value": "e4defrag /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "See how fragmented a filesystem is"
},
{
"from": "gpt",
"value": "e4defrag -c /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Print errors and the fragmentation count before and after each file"
},
{
"from": "gpt",
"value": "e4defrag -v /dev/sdXN"
}
] |
[
{
"from": "human",
"value": "Connect to a share (user will be prompted for password; `exit` to quit the session)"
},
{
"from": "gpt",
"value": "smbclient //server/share"
}
] |
[
{
"from": "human",
"value": "Connect with a different username"
},
{
"from": "gpt",
"value": "smbclient //server/share --user username"
}
] |
[
{
"from": "human",
"value": "Connect with a different workgroup"
},
{
"from": "gpt",
"value": "smbclient //server/share --workgroup domain --user username"
}
] |
[
{
"from": "human",
"value": "Connect with a username and password"
},
{
"from": "gpt",
"value": "smbclient //server/share --user username%password"
}
] |
[
{
"from": "human",
"value": "Download a file from the server"
},
{
"from": "gpt",
"value": "smbclient //server/share --directory path/to/directory --command \"get file.txt\""
}
] |
[
{
"from": "human",
"value": "Upload a file to the server"
},
{
"from": "gpt",
"value": "smbclient //server/share --directory path/to/directory --command \"put file.txt\""
}
] |
[
{
"from": "human",
"value": "List the shares from a server anonymously"
},
{
"from": "gpt",
"value": "smbclient --list=server --no-pass"
}
] |
[
{
"from": "human",
"value": "Encrypt a file and set a specific name"
},
{
"from": "gpt",
"value": "systemd-creds encrypt --name=name path/to/input_file path/to/output"
}
] |
[
{
"from": "human",
"value": "Decrypt the file again"
},
{
"from": "gpt",
"value": "systemd-creds decrypt path/to/input_file path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Encrypt text from `stdin`"
},
{
"from": "gpt",
"value": "echo -n text | systemd-creds encrypt --name=name - path/to/output"
}
] |
[
{
"from": "human",
"value": "Encrypt the text and append it to the service file (the credentials will be available in `$CREDENTIALS_DIRECTORY`)"
},
{
"from": "gpt",
"value": "echo -n text | systemd-creds encrypt --name=name --pretty - - >> service"
}
] |
[
{
"from": "human",
"value": "Create a credential that is only valid until the given timestamp"
},
{
"from": "gpt",
"value": "systemd-creds encrypt --not-after=\"timestamp\" path/to/input_file path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Toggle play"
},
{
"from": "gpt",
"value": "playerctl play-pause"
}
] |
[
{
"from": "human",
"value": "Skip to the next track"
},
{
"from": "gpt",
"value": "playerctl next"
}
] |
[
{
"from": "human",
"value": "Go back to the previous track"
},
{
"from": "gpt",
"value": "playerctl previous"
}
] |
[
{
"from": "human",
"value": "List all players"
},
{
"from": "gpt",
"value": "playerctl --list-all"
}
] |
[
{
"from": "human",
"value": "Send a command to a specific player"
},
{
"from": "gpt",
"value": "playerctl --player player_name play-pause|next|previous|..."
}
] |
[
{
"from": "human",
"value": "Send a command to all players"
},
{
"from": "gpt",
"value": "playerctl --all-players play-pause|next|previous|..."
}
] |
[
{
"from": "human",
"value": "Display metadata about the current track"
},
{
"from": "gpt",
"value": "playerctl metadata --format \"Now playing: {{artist}} - {{album}} - {{title}}\""
}
] |
[
{
"from": "human",
"value": "Display the current settings for an interface"
},
{
"from": "gpt",
"value": "ethtool eth0"
}
] |
[
{
"from": "human",
"value": "Display the driver information for an interface"
},
{
"from": "gpt",
"value": "ethtool --driver eth0"
}
] |
[
{
"from": "human",
"value": "Display all supported features for an interface"
},
{
"from": "gpt",
"value": "ethtool --show-features eth0"
}
] |
[
{
"from": "human",
"value": "Display the network usage statistics for an interface"
},
{
"from": "gpt",
"value": "ethtool --statistics eth0"
}
] |
[
{
"from": "human",
"value": "Blink one or more LEDs on an interface for 10 seconds"
},
{
"from": "gpt",
"value": "ethtool --identify eth0 10"
}
] |
[
{
"from": "human",
"value": "Set the link speed, duplex mode, and parameter auto-negotiation for a given interface"
},
{
"from": "gpt",
"value": "ethtool -s eth0 speed 10|100|1000 duplex half|full autoneg on|off"
}
] |
[
{
"from": "human",
"value": "Set wallpaper"
},
{
"from": "gpt",
"value": "swww img path/to/image"
}
] |
[
{
"from": "human",
"value": "Set wallpaper to specified [o]utputs"
},
{
"from": "gpt",
"value": "swww img -o output1,output2,... path/to/image"
}
] |
[
{
"from": "human",
"value": "Restore last wallpaper"
},
{
"from": "gpt",
"value": "swww restore"
}
] |
[
{
"from": "human",
"value": "Kill daemon"
},
{
"from": "gpt",
"value": "swww kill"
}
] |
[
{
"from": "human",
"value": "Display output information"
},
{
"from": "gpt",
"value": "swww query"
}
] |
[
{
"from": "human",
"value": "Display interface status"
},
{
"from": "gpt",
"value": "ifstatus interface_name"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ifstatus"
}
] |
[
{
"from": "human",
"value": "Send the specified key event to a specific virtual machine"
},
{
"from": "gpt",
"value": "qm sendkey vm_id key"
}
] |
[
{
"from": "human",
"value": "Allow root user to send key event and ignore locks"
},
{
"from": "gpt",
"value": "qm sendkey --skiplock true vm_id key"
}
] |
[
{
"from": "human",
"value": "Remove first column of `stdin`"
},
{
"from": "gpt",
"value": "colrm 1 1"
}
] |
[
{
"from": "human",
"value": "Remove from 3rd column till the end of each line"
},
{
"from": "gpt",
"value": "colrm 3"
}
] |
[
{
"from": "human",
"value": "Remove from the 3rd column till the 5th column of each line"
},
{
"from": "gpt",
"value": "colrm 3 5"
}
] |
[
{
"from": "human",
"value": "Return the current VMware software version (exit status determines whether the system is a VM or not)"
},
{
"from": "gpt",
"value": "vmware-checkvm"
}
] |
[
{
"from": "human",
"value": "Return the VMware hardware version"
},
{
"from": "gpt",
"value": "vmware-checkvm -h"
}
] |
[
{
"from": "human",
"value": "Connect to an FTP server"
},
{
"from": "gpt",
"value": "lftp --user username ftp.example.com"
}
] |
[
{
"from": "human",
"value": "Download multiple files (glob expression)"
},
{
"from": "gpt",
"value": "mget path/to/*.png"
}
] |
[
{
"from": "human",
"value": "Upload multiple files (glob expression)"
},
{
"from": "gpt",
"value": "mput path/to/*.zip"
}
] |
[
{
"from": "human",
"value": "Delete multiple files on the remote server"
},
{
"from": "gpt",
"value": "mrm path/to/*.txt"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.