conversations
listlengths
2
2
[ { "from": "human", "value": "Print the contents of a file in pride colors to `stdout`" }, { "from": "gpt", "value": "pridecat path/to/file" } ]
[ { "from": "human", "value": "Print contents of a file in trans colors" }, { "from": "gpt", "value": "pridecat path/to/file --transgender|trans" } ]
[ { "from": "human", "value": "Alternate between lesbian and bisexual pride flags" }, { "from": "gpt", "value": "pridecat path/to/file --lesbian --bi" } ]
[ { "from": "human", "value": "Print contents of a file with the background colors changed" }, { "from": "gpt", "value": "pridecat path/to/file -b" } ]
[ { "from": "human", "value": "List directory contents in pride flag colors" }, { "from": "gpt", "value": "ls | pridecat --flag" } ]
[ { "from": "human", "value": "Create an empty repository" }, { "from": "gpt", "value": "repo-add path/to/database.db.tar.gz" } ]
[ { "from": "human", "value": "Add all package binaries in the current directory and remove the old database file" }, { "from": "gpt", "value": "repo-add [-R|--remove] path/to/database.db.tar.gz *.pkg.tar.zst" } ]
[ { "from": "human", "value": "Add all package binaries in the current directory in silent mode except for warning and error messages" }, { "from": "gpt", "value": "repo-add [-q|--quiet] path/to/database.db.tar.gz *.pkg.tar.zst" } ]
[ { "from": "human", "value": "Add all package binaries in the current directory without showing color" }, { "from": "gpt", "value": "repo-add --nocolor path/to/database.db.tar.gz *.pkg.tar.zst" } ]
[ { "from": "human", "value": "Install one or more packages from files" }, { "from": "gpt", "value": "sudo pacman -U path/to/package1.pkg.tar.zst path/to/package2.pkg.tar.zst" } ]
[ { "from": "human", "value": "Install a package without prompting" }, { "from": "gpt", "value": "sudo pacman -U --noconfirm path/to/package.pkg.tar.zst" } ]
[ { "from": "human", "value": "Overwrite conflicting files during a package installation" }, { "from": "gpt", "value": "sudo pacman -U --overwrite path/to/file path/to/package.pkg.tar.zst" } ]
[ { "from": "human", "value": "Install a package, skipping the [d]ependency version checks" }, { "from": "gpt", "value": "sudo pacman -Ud path/to/package.pkg.tar.zst" } ]
[ { "from": "human", "value": "Fetch and [p]rint packages that would be affected by upgrade (does not install any packages)" }, { "from": "gpt", "value": "pacman -Up path/to/package.pkg.tar.zst" } ]
[ { "from": "human", "value": "Display [h]elp" }, { "from": "gpt", "value": "pacman -Uh" } ]
[ { "from": "human", "value": "Simulate typing text" }, { "from": "gpt", "value": "wtype \"Hello World\"" } ]
[ { "from": "human", "value": "Type a specific key" }, { "from": "gpt", "value": "wtype -k Left" } ]
[ { "from": "human", "value": "Press a modifier" }, { "from": "gpt", "value": "wtype -M shift|ctrl|..." } ]
[ { "from": "human", "value": "Release a modifier" }, { "from": "gpt", "value": "wtype -m ctrl" } ]
[ { "from": "human", "value": "Wait between keystrokes (in milliseconds)" }, { "from": "gpt", "value": "wtype -d 500 -- \"text\"" } ]
[ { "from": "human", "value": "Read text from `stdin`" }, { "from": "gpt", "value": "echo \"text\" | wtype -" } ]
[ { "from": "human", "value": "Remove all fingerprints for a specific user" }, { "from": "gpt", "value": "fprintd-delete username" } ]
[ { "from": "human", "value": "Remove a specific fingerprints for a specific user" }, { "from": "gpt", "value": "fprintd-delete username --finger left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger...
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "fprintd-delete" } ]
[ { "from": "human", "value": "Restore all deleted files inside partition N on device X" }, { "from": "gpt", "value": "sudo extundelete /dev/sdXN --restore-all" } ]
[ { "from": "human", "value": "Restore a file from a path relative to root (Do not start the path with `/`)" }, { "from": "gpt", "value": "extundelete /dev/sdXN --restore-file path/to/file" } ]
[ { "from": "human", "value": "Restore a directory from a path relative to root (Do not start the path with `/`)" }, { "from": "gpt", "value": "extundelete /dev/sdXN --restore-directory path/to/directory" } ]
[ { "from": "human", "value": "Restore all files deleted after January 1st, 2020 (in Unix time)" }, { "from": "gpt", "value": "extundelete /dev/sdXN --restore-all --after 1577840400" } ]
[ { "from": "human", "value": "Start a REPL (interactive shell)" }, { "from": "gpt", "value": "just" } ]
[ { "from": "human", "value": "Run a JavaScript file" }, { "from": "gpt", "value": "just path/to/file.js" } ]
[ { "from": "human", "value": "Evaluate JavaScript code by passing it as an argument" }, { "from": "gpt", "value": "just eval \"code\"" } ]
[ { "from": "human", "value": "Initialize a new project in a directory of the same name" }, { "from": "gpt", "value": "just init project_name" } ]
[ { "from": "human", "value": "Build a JavaScript application into an executable" }, { "from": "gpt", "value": "just build path/to/file.js --static" } ]
[ { "from": "human", "value": "Test a specific website" }, { "from": "gpt", "value": "./goldeneye.py url" } ]
[ { "from": "human", "value": "Test a specific website with 100 user agents and 200 concurrent sockets" }, { "from": "gpt", "value": "./goldeneye.py url --useragents 100 --sockets 200" } ]
[ { "from": "human", "value": "Test a specific website without verifying the SSL certificate" }, { "from": "gpt", "value": "./goldeneye.py url --nosslcheck" } ]
[ { "from": "human", "value": "Test a specific website in debug mode" }, { "from": "gpt", "value": "./goldeneye.py url --debug" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "./goldeneye.py --help" } ]
[ { "from": "human", "value": "Log in to a remote host" }, { "from": "gpt", "value": "rlogin remote_host" } ]
[ { "from": "human", "value": "Log in to a remote host with a specific username" }, { "from": "gpt", "value": "rlogin [-l|--user] username remote_host" } ]
[ { "from": "human", "value": "Open the terminal with a title of `Example`" }, { "from": "gpt", "value": "xterm -T Example" } ]
[ { "from": "human", "value": "Open the terminal in fullscreen mode" }, { "from": "gpt", "value": "xterm -fullscreen" } ]
[ { "from": "human", "value": "Open the terminal with a dark blue background and yellow foreground (font color)" }, { "from": "gpt", "value": "xterm -bg darkblue -fg yellow" } ]
[ { "from": "human", "value": "Open the terminal with 100 characters per line and 35 lines, in screen position x=200px, y=20px" }, { "from": "gpt", "value": "xterm -geometry 100x35+200+20" } ]
[ { "from": "human", "value": "Open the terminal using a Serif font and a font size equal to 20" }, { "from": "gpt", "value": "xterm -fa 'Serif' -fs 20" } ]
[ { "from": "human", "value": "Change the line endings of a file" }, { "from": "gpt", "value": "unix2mac path/to/file" } ]
[ { "from": "human", "value": "Create a copy with macOS-style line endings" }, { "from": "gpt", "value": "unix2mac [-n|--newfile] path/to/file path/to/new_file" } ]
[ { "from": "human", "value": "Display file information" }, { "from": "gpt", "value": "unix2mac [-i|--info] path/to/file" } ]
[ { "from": "human", "value": "Keep/add/remove Byte Order Mark" }, { "from": "gpt", "value": "unix2mac --keep-bom|add-bom|remove-bom path/to/file" } ]
[ { "from": "human", "value": "Show filesystem usage (optionally run as root to show detailed information)" }, { "from": "gpt", "value": "btrfs filesystem usage path/to/btrfs_mount" } ]
[ { "from": "human", "value": "Show usage by individual devices" }, { "from": "gpt", "value": "sudo btrfs filesystem show path/to/btrfs_mount" } ]
[ { "from": "human", "value": "Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running)" }, { "from": "gpt", "value": "sudo btrfs filesystem defragment -v path/to/file" } ]
[ { "from": "human", "value": "Defragment a directory recursively (does not cross subvolume boundaries)" }, { "from": "gpt", "value": "sudo btrfs filesystem defragment -v -r path/to/directory" } ]
[ { "from": "human", "value": "Force syncing unwritten data blocks to disk(s)" }, { "from": "gpt", "value": "sudo btrfs filesystem sync path/to/btrfs_mount" } ]
[ { "from": "human", "value": "Summarize disk usage for the files in a directory recursively" }, { "from": "gpt", "value": "sudo btrfs filesystem du --summarize path/to/directory" } ]
[ { "from": "human", "value": "Show all TCP/UDP/RAW/UNIX sockets" }, { "from": "gpt", "value": "ss [-a|--all] -t|-u|-w|-x" } ]
[ { "from": "human", "value": "Filter TCP sockets by states, only/exclude" }, { "from": "gpt", "value": "ss state|exclude bucket|big|connected|synchronized|..." } ]
[ { "from": "human", "value": "Show all TCP sockets connected to the local HTTPS port (443)" }, { "from": "gpt", "value": "ss [-t|--tcp] src :443" } ]
[ { "from": "human", "value": "Show all TCP sockets listening on the local 8080 port" }, { "from": "gpt", "value": "ss [-lt|--listening --tcp] src :8080" } ]
[ { "from": "human", "value": "Show all TCP sockets along with processes connected to a remote SSH port" }, { "from": "gpt", "value": "ss [-pt|--processes --tcp] dst :ssh" } ]
[ { "from": "human", "value": "Show all UDP sockets connected on specific source and destination ports" }, { "from": "gpt", "value": "ss [-u|--udp] 'sport == :source_port and dport == :destination_port'" } ]
[ { "from": "human", "value": "Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16" }, { "from": "gpt", "value": "ss [-4t|--ipv4 --tcp] src 192.168/16" } ]
[ { "from": "human", "value": "Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080" }, { "from": "gpt", "value": "ss [-K|--kill] dst 192.168.1.17 dport = 8080" } ]
[ { "from": "human", "value": "Show all DMI table contents" }, { "from": "gpt", "value": "sudo dmidecode" } ]
[ { "from": "human", "value": "Show the BIOS version" }, { "from": "gpt", "value": "sudo dmidecode -s bios-version" } ]
[ { "from": "human", "value": "Show the system's serial number" }, { "from": "gpt", "value": "sudo dmidecode -s system-serial-number" } ]
[ { "from": "human", "value": "Show BIOS information" }, { "from": "gpt", "value": "sudo dmidecode -t bios" } ]
[ { "from": "human", "value": "Show CPU information" }, { "from": "gpt", "value": "sudo dmidecode -t processor" } ]
[ { "from": "human", "value": "Show memory information" }, { "from": "gpt", "value": "sudo dmidecode -t memory" } ]
[ { "from": "human", "value": "List all namespaces" }, { "from": "gpt", "value": "lsns" } ]
[ { "from": "human", "value": "List namespaces in JSON format" }, { "from": "gpt", "value": "lsns [-J|--json]" } ]
[ { "from": "human", "value": "List namespaces associated with the specified process" }, { "from": "gpt", "value": "lsns [-p|--task] pid" } ]
[ { "from": "human", "value": "List the specified type of namespaces only" }, { "from": "gpt", "value": "lsns [-t|--type] mnt|net|ipc|user|pid|uts|cgroup|time" } ]
[ { "from": "human", "value": "List namespaces, only showing the namespace ID, type, PID, and command" }, { "from": "gpt", "value": "lsns [-o|--output] NS,TYPE,PID,COMMAND" } ]
[ { "from": "human", "value": "Listen for input on the specified port and write it to the specified file" }, { "from": "gpt", "value": "ncat -l port > path/to/file" } ]
[ { "from": "human", "value": "Accept multiple connections and keep ncat open after they have been closed" }, { "from": "gpt", "value": "ncat -lk port" } ]
[ { "from": "human", "value": "Write output of specified file to the specified host on the specified port" }, { "from": "gpt", "value": "ncat address port < path/to/file" } ]
[ { "from": "human", "value": "Accept multiple incoming connections on an encrypted channel evading detection of traffic content" }, { "from": "gpt", "value": "ncat --ssl -k -l port" } ]
[ { "from": "human", "value": "Connect to an open `ncat` connection over SSL" }, { "from": "gpt", "value": "ncat --ssl host port" } ]
[ { "from": "human", "value": "Check connectivity to a remote host on a particular port with timeout" }, { "from": "gpt", "value": "ncat -w seconds -vz host port" } ]
[ { "from": "human", "value": "View documentation for `resolvectl`" }, { "from": "gpt", "value": "tldr resolvectl" } ]
[ { "from": "human", "value": "Dump the `/var/log/wtmp` file to `stdout` as plain text" }, { "from": "gpt", "value": "utmpdump /var/log/wtmp" } ]
[ { "from": "human", "value": "Load a previously dumped file into `/var/log/wtmp`" }, { "from": "gpt", "value": "utmpdump [-r|--reverse] dumpfile > /var/log/wtmp" } ]
[ { "from": "human", "value": "Show version of httpd package" }, { "from": "gpt", "value": "rpm --query httpd" } ]
[ { "from": "human", "value": "List versions of all matching packages" }, { "from": "gpt", "value": "rpm --query --all 'mariadb*'" } ]
[ { "from": "human", "value": "Forcibly install a package regardless of currently installed versions" }, { "from": "gpt", "value": "rpm --upgrade path/to/package.rpm --force" } ]
[ { "from": "human", "value": "Identify owner of a file and show version of the package" }, { "from": "gpt", "value": "rpm --query --file /etc/postfix/main.cf" } ]
[ { "from": "human", "value": "List package-owned files" }, { "from": "gpt", "value": "rpm --query --list kernel" } ]
[ { "from": "human", "value": "Show scriptlets from an RPM file" }, { "from": "gpt", "value": "rpm --query --package --scripts package.rpm" } ]
[ { "from": "human", "value": "Show changed, missing and/or incorrectly installed files of matching packages" }, { "from": "gpt", "value": "rpm --verify --all 'php-*'" } ]
[ { "from": "human", "value": "Display the changelog of a specific package" }, { "from": "gpt", "value": "rpm --query --changelog package" } ]
[ { "from": "human", "value": "Show information about an address or network with a given subnet mask" }, { "from": "gpt", "value": "ipcalc 1.2.3.4 255.255.255.0" } ]
[ { "from": "human", "value": "Show information about an address or network in CIDR notation" }, { "from": "gpt", "value": "ipcalc 1.2.3.4/24" } ]
[ { "from": "human", "value": "Show the broadcast address of an address or network" }, { "from": "gpt", "value": "ipcalc -b 1.2.3.4/30" } ]
[ { "from": "human", "value": "Show the network address of provided IP address and netmask" }, { "from": "gpt", "value": "ipcalc -n 1.2.3.4/24" } ]
[ { "from": "human", "value": "Display geographic information about a given IP address" }, { "from": "gpt", "value": "ipcalc -g 1.2.3.4" } ]
[ { "from": "human", "value": "Create an exfat filesystem inside partition 1 on device b (`sdb1`)" }, { "from": "gpt", "value": "mkfs.exfat /dev/sdb1" } ]
[ { "from": "human", "value": "Create filesystem with a volume-name" }, { "from": "gpt", "value": "mkfs.exfat -n volume_name /dev/sdb1" } ]
[ { "from": "human", "value": "Create filesystem with a volume-id" }, { "from": "gpt", "value": "mkfs.exfat -i volume_id /dev/sdb1" } ]
[ { "from": "human", "value": "Individual actions/programs on run-mailcap can be invoked with action flag" }, { "from": "gpt", "value": "run-mailcap --action=ACTION [--option[=value]]" } ]