conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Display all the sections present in a PE file"
},
{
"from": "gpt",
"value": "readpe --all-sections path/to/executable"
}
] |
[
{
"from": "human",
"value": "Display a specific header from a PE file"
},
{
"from": "gpt",
"value": "readpe --header dos|coff|optional path/to/executable"
}
] |
[
{
"from": "human",
"value": "List all imported functions"
},
{
"from": "gpt",
"value": "readpe --imports path/to/executable"
}
] |
[
{
"from": "human",
"value": "List all exported functions"
},
{
"from": "gpt",
"value": "readpe --exports path/to/executable"
}
] |
[
{
"from": "human",
"value": "Display information for all CPUs"
},
{
"from": "gpt",
"value": "cpuid"
}
] |
[
{
"from": "human",
"value": "Display information only for the current CPU"
},
{
"from": "gpt",
"value": "cpuid -1"
}
] |
[
{
"from": "human",
"value": "Display raw hex information with no decoding"
},
{
"from": "gpt",
"value": "cpuid -r"
}
] |
[
{
"from": "human",
"value": "Connect to a VPN with a username and password"
},
{
"from": "gpt",
"value": "openfortivpn --username=username --password=password"
}
] |
[
{
"from": "human",
"value": "Connect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`)"
},
{
"from": "gpt",
"value": "sudo openfortivpn --config=path/to/config"
}
] |
[
{
"from": "human",
"value": "Connect to a VPN by specifying the host and port"
},
{
"from": "gpt",
"value": "openfortivpn host:port"
}
] |
[
{
"from": "human",
"value": "Trust a given gateway by passing in its certificate's sha256 sum"
},
{
"from": "gpt",
"value": "openfortivpn --trusted-cert=sha256_sum"
}
] |
[
{
"from": "human",
"value": "Initialize a serverless application"
},
{
"from": "gpt",
"value": "sam init"
}
] |
[
{
"from": "human",
"value": "Initialize a serverless application with a specific runtime"
},
{
"from": "gpt",
"value": "sam init --runtime python3.7"
}
] |
[
{
"from": "human",
"value": "Package a SAM application"
},
{
"from": "gpt",
"value": "sam package"
}
] |
[
{
"from": "human",
"value": "Build your Lambda function code"
},
{
"from": "gpt",
"value": "sam build"
}
] |
[
{
"from": "human",
"value": "Run your serverless application locally"
},
{
"from": "gpt",
"value": "sam local start-api"
}
] |
[
{
"from": "human",
"value": "Deploy an AWS SAM application"
},
{
"from": "gpt",
"value": "sam deploy"
}
] |
[
{
"from": "human",
"value": "View and set the wallpapers from a specific directory"
},
{
"from": "gpt",
"value": "nitrogen path/to/directory"
}
] |
[
{
"from": "human",
"value": "Set the wallpaper with automatic size settings"
},
{
"from": "gpt",
"value": "nitrogen --set-auto path/to/file"
}
] |
[
{
"from": "human",
"value": "Restore the previous wallpaper"
},
{
"from": "gpt",
"value": "nitrogen --restore"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell session on a node in the cluster"
},
{
"from": "gpt",
"value": "salloc"
}
] |
[
{
"from": "human",
"value": "Execute the specified command synchronously on a node in the cluster"
},
{
"from": "gpt",
"value": "salloc ls -a"
}
] |
[
{
"from": "human",
"value": "Only allocate nodes fulfilling the specified constraints"
},
{
"from": "gpt",
"value": "salloc --constraint=(amd|intel)&gpu"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr qm disk resize"
}
] |
[
{
"from": "human",
"value": "Print the default web browser"
},
{
"from": "gpt",
"value": "xdg-settings get default-web-browser"
}
] |
[
{
"from": "human",
"value": "Set the default web browser to Firefox"
},
{
"from": "gpt",
"value": "xdg-settings set default-web-browser firefox.desktop"
}
] |
[
{
"from": "human",
"value": "Set the default mail URL scheme handler to Evolution"
},
{
"from": "gpt",
"value": "xdg-settings set default-url-scheme-handler mailto evolution.desktop"
}
] |
[
{
"from": "human",
"value": "Set the default PDF document viewer"
},
{
"from": "gpt",
"value": "xdg-settings set pdf-viewer.desktop"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "xdg-settings --help"
}
] |
[
{
"from": "human",
"value": "Start i3 (Note that a pre-existing window manager must not be open when this command is run)"
},
{
"from": "gpt",
"value": "i3"
}
] |
[
{
"from": "human",
"value": "Open a new terminal window"
},
{
"from": "gpt",
"value": "<Super Enter>"
}
] |
[
{
"from": "human",
"value": "Create a new workspace"
},
{
"from": "gpt",
"value": "<Super Shift Number>"
}
] |
[
{
"from": "human",
"value": "Switch to a workspace"
},
{
"from": "gpt",
"value": "<Super Number>"
}
] |
[
{
"from": "human",
"value": "Open new window horizontally"
},
{
"from": "gpt",
"value": "<Super h>"
}
] |
[
{
"from": "human",
"value": "Open new window vertically"
},
{
"from": "gpt",
"value": "<Super v>"
}
] |
[
{
"from": "human",
"value": "Open application (type out application name after executing command)"
},
{
"from": "gpt",
"value": "<Super d>"
}
] |
[
{
"from": "human",
"value": "Migrate a specific virtual machine"
},
{
"from": "gpt",
"value": "qm migrate vm_id target"
}
] |
[
{
"from": "human",
"value": "Override the current I/O bandwidth limit with 10 KiB/s"
},
{
"from": "gpt",
"value": "qm migrate vm_id target --bwlimit 10"
}
] |
[
{
"from": "human",
"value": "Allow migration of virtual machines using local devices (root only)"
},
{
"from": "gpt",
"value": "qm migrate vm_id target --force true"
}
] |
[
{
"from": "human",
"value": "Use online/live migration if a virtual machine is running"
},
{
"from": "gpt",
"value": "qm migrate vm_id target --online true"
}
] |
[
{
"from": "human",
"value": "Enable live storage migration for local disks"
},
{
"from": "gpt",
"value": "qm migrate vm_id target --with-local-disks true"
}
] |
[
{
"from": "human",
"value": "Display basic performance counter stats for a command"
},
{
"from": "gpt",
"value": "perf stat gcc hello.c"
}
] |
[
{
"from": "human",
"value": "Display system-wide real-time performance counter profile"
},
{
"from": "gpt",
"value": "sudo perf top"
}
] |
[
{
"from": "human",
"value": "Run a command and record its profile into `perf.data`"
},
{
"from": "gpt",
"value": "sudo perf record command"
}
] |
[
{
"from": "human",
"value": "Record the profile of an existing process into `perf.data`"
},
{
"from": "gpt",
"value": "sudo perf record -p pid"
}
] |
[
{
"from": "human",
"value": "Read `perf.data` (created by `perf record`) and display the profile"
},
{
"from": "gpt",
"value": "sudo perf report"
}
] |
[
{
"from": "human",
"value": "Change a username"
},
{
"from": "gpt",
"value": "sudo usermod [-l|--login] new_username username"
}
] |
[
{
"from": "human",
"value": "Change a user ID"
},
{
"from": "gpt",
"value": "sudo usermod [-u|--uid] id username"
}
] |
[
{
"from": "human",
"value": "Change a user shell"
},
{
"from": "gpt",
"value": "sudo usermod [-s|--shell] path/to/shell username"
}
] |
[
{
"from": "human",
"value": "Add a user to supplementary groups (mind the lack of whitespace)"
},
{
"from": "gpt",
"value": "sudo usermod [-aG|--append --groups] group1,group2,... username"
}
] |
[
{
"from": "human",
"value": "Change a user home directory"
},
{
"from": "gpt",
"value": "sudo usermod [-m|--move-home] [-d|--home] path/to/new_home username"
}
] |
[
{
"from": "human",
"value": "Lock an account"
},
{
"from": "gpt",
"value": "sudo usermod [-L|--lock] username"
}
] |
[
{
"from": "human",
"value": "Unlock an account"
},
{
"from": "gpt",
"value": "sudo usermod [-U|--unlock] username"
}
] |
[
{
"from": "human",
"value": "[l]isten on a specified [p]ort and print any data received"
},
{
"from": "gpt",
"value": "cryptcat -k password -l -p port"
}
] |
[
{
"from": "human",
"value": "Connect to a certain port"
},
{
"from": "gpt",
"value": "cryptcat -k password ip_address port"
}
] |
[
{
"from": "human",
"value": "Specify the timeout ([w])"
},
{
"from": "gpt",
"value": "cryptcat -k password -w timeout_in_seconds ip_address port"
}
] |
[
{
"from": "human",
"value": "Scan ([z]) the open ports of a specified host"
},
{
"from": "gpt",
"value": "cryptcat -v -z ip_address port"
}
] |
[
{
"from": "human",
"value": "Act as proxy and forward data from a local TCP port to the given remote host"
},
{
"from": "gpt",
"value": "cryptcat -k password -l -p local_port | cryptcat -k password hostname remote_port"
}
] |
[
{
"from": "human",
"value": "Show all overridden configuration files"
},
{
"from": "gpt",
"value": "systemd-delta"
}
] |
[
{
"from": "human",
"value": "Show only files of specific types (comma-separated list)"
},
{
"from": "gpt",
"value": "systemd-delta --type masked|equivalent|redirected|overridden|extended|unchanged"
}
] |
[
{
"from": "human",
"value": "Show only files whose path starts with the specified prefix (Note: a prefix is a directory containing subdirectories with systemd configuration files)"
},
{
"from": "gpt",
"value": "systemd-delta /etc|/run|/usr/lib|..."
}
] |
[
{
"from": "human",
"value": "Further restrict the search path by adding a suffix (the prefix is optional)"
},
{
"from": "gpt",
"value": "systemd-delta prefix/tmpfiles.d|sysctl.d|systemd/system|..."
}
] |
[
{
"from": "human",
"value": "Install a new package"
},
{
"from": "gpt",
"value": "guix package [-i|--install] package"
}
] |
[
{
"from": "human",
"value": "Remove a package"
},
{
"from": "gpt",
"value": "guix package [-r|--remove] package"
}
] |
[
{
"from": "human",
"value": "Search the package database for a regular expression"
},
{
"from": "gpt",
"value": "guix package [-s|--search] \"search_pattern\""
}
] |
[
{
"from": "human",
"value": "List installed packages"
},
{
"from": "gpt",
"value": "guix package [-I|--list-installed]"
}
] |
[
{
"from": "human",
"value": "List generations"
},
{
"from": "gpt",
"value": "guix package [-l|--list-generations]"
}
] |
[
{
"from": "human",
"value": "Roll back to the previous generation"
},
{
"from": "gpt",
"value": "guix package --roll-back"
}
] |
[
{
"from": "human",
"value": "List enabled Apache modules"
},
{
"from": "gpt",
"value": "sudo a2query -m"
}
] |
[
{
"from": "human",
"value": "Check if a specific module is installed"
},
{
"from": "gpt",
"value": "sudo a2query -m module_name"
}
] |
[
{
"from": "human",
"value": "List enabled virtual hosts"
},
{
"from": "gpt",
"value": "sudo a2query -s"
}
] |
[
{
"from": "human",
"value": "Display the currently enabled Multi Processing Module"
},
{
"from": "gpt",
"value": "sudo a2query -M"
}
] |
[
{
"from": "human",
"value": "Display Apache version"
},
{
"from": "gpt",
"value": "sudo a2query -v"
}
] |
[
{
"from": "human",
"value": "Set or unset a SELinux boolean. Booleans allow the administrator to customize how policy rules affect confined process types (a.k.a domains)"
},
{
"from": "gpt",
"value": "sudo semanage boolean [-m|--modify] -1|--on|-0|--off haproxy_connect_any"
}
] |
[
{
"from": "human",
"value": "Add a user-defined file context labeling rule. File contexts define what files confined domains are allowed to access"
},
{
"from": "gpt",
"value": "sudo semanage fcontext [-a|--add] [-t|--type] samba_share_t '/mnt/share(/.*)?'"
}
] |
[
{
"from": "human",
"value": "Add a user-defined port labeling rule. Port labels define what ports confined domains are allowed to listen on"
},
{
"from": "gpt",
"value": "sudo semanage port [-a|--add] [-t|--type] ssh_port_t [-p|--proto] tcp 22000"
}
] |
[
{
"from": "human",
"value": "Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to `setenforce`"
},
{
"from": "gpt",
"value": "sudo semanage permissive -a|--add|-d|--delete httpd_t"
}
] |
[
{
"from": "human",
"value": "Output local customizations in the default store"
},
{
"from": "gpt",
"value": "sudo semanage export [-f|--output_file] path/to/file"
}
] |
[
{
"from": "human",
"value": "Import a file generated by `semanage export` into local customizations (CAREFUL: may remove current customizations!)"
},
{
"from": "gpt",
"value": "sudo semanage import [-f|--input_file] path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the time"
},
{
"from": "gpt",
"value": "cacaclock"
}
] |
[
{
"from": "human",
"value": "Change the font"
},
{
"from": "gpt",
"value": "cacaclock -f font"
}
] |
[
{
"from": "human",
"value": "Change the format using an `strftime` format specification"
},
{
"from": "gpt",
"value": "cacaclock -d strftime_arguments"
}
] |
[
{
"from": "human",
"value": "List the partitions on a block device or disk image"
},
{
"from": "gpt",
"value": "sudo partx [-l|--list] path/to/device_or_disk_image"
}
] |
[
{
"from": "human",
"value": "Add all the partitions found in a given block device to the kernel"
},
{
"from": "gpt",
"value": "sudo partx [-a|--add] [-v|--verbose] path/to/device_or_disk_image"
}
] |
[
{
"from": "human",
"value": "Delete all the partitions found from the kernel (does not alter partitions on disk)"
},
{
"from": "gpt",
"value": "sudo partx [-d|--delete] path/to/device_or_disk_image"
}
] |
[
{
"from": "human",
"value": "Extract an archive"
},
{
"from": "gpt",
"value": "patool extract path/to/archive"
}
] |
[
{
"from": "human",
"value": "List contents of an archive"
},
{
"from": "gpt",
"value": "patool list path/to/archive"
}
] |
[
{
"from": "human",
"value": "Compare the contents of two archives and display the differences in the standard output"
},
{
"from": "gpt",
"value": "patool diff path/to/archive1 path/to/archive2"
}
] |
[
{
"from": "human",
"value": "Search for a string inside the contents of an archive"
},
{
"from": "gpt",
"value": "patool search path/to/archive"
}
] |
[
{
"from": "human",
"value": "Display an analog clock"
},
{
"from": "gpt",
"value": "xclock"
}
] |
[
{
"from": "human",
"value": "Display a 24-hour digital clock with the hour and minute fields only"
},
{
"from": "gpt",
"value": "xclock -digital -brief"
}
] |
[
{
"from": "human",
"value": "Display a digital clock using an strftime format string (see strftime(3))"
},
{
"from": "gpt",
"value": "xclock -digital -strftime format"
}
] |
[
{
"from": "human",
"value": "Display a 24-hour digital clock with the hour, minute and second fields that updates every second"
},
{
"from": "gpt",
"value": "xclock -digital -strftime '%H:%M:%S' -update 1"
}
] |
[
{
"from": "human",
"value": "Display a 12-hour digital clock with the hour and minute fields only"
},
{
"from": "gpt",
"value": "xclock -digital -twelve -brief"
}
] |
[
{
"from": "human",
"value": "Edit action can be used to view any file on default mailcap explorer"
},
{
"from": "gpt",
"value": "edit filename"
}
] |
[
{
"from": "human",
"value": "With `run-mailcap`"
},
{
"from": "gpt",
"value": "run-mailcap --action=edit filename"
}
] |
[
{
"from": "human",
"value": "Create a NTFS filesystem inside partition 1 on device b (`sdb1`)"
},
{
"from": "gpt",
"value": "mkfs.ntfs /dev/sdb1"
}
] |
[
{
"from": "human",
"value": "Create filesystem with a volume-label"
},
{
"from": "gpt",
"value": "mkfs.ntfs -L volume_label /dev/sdb1"
}
] |
[
{
"from": "human",
"value": "Create filesystem with specific UUID"
},
{
"from": "gpt",
"value": "mkfs.ntfs -U UUID /dev/sdb1"
}
] |
[
{
"from": "human",
"value": "Launch Nautilus"
},
{
"from": "gpt",
"value": "nautilus"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.