conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Parse the output from `ping` and visualize it"
},
{
"from": "gpt",
"value": "ping 8.8.8.8 | sed -u 's/^.*time=//g; s/ ms//g' | ttyplot -t \"ping to 8.8.8.8\" -u ms"
}
] |
[
{
"from": "human",
"value": "Run a command with the given scheduling class and priority"
},
{
"from": "gpt",
"value": "ionice [-c|--class] scheduling_class [-n|--classdata] priority command"
}
] |
[
{
"from": "human",
"value": "Set I/O scheduling class of a running process with a specific [p]id, [P]gid or [u]id"
},
{
"from": "gpt",
"value": "ionice [-c|--class] scheduling_class -p|P|u id"
}
] |
[
{
"from": "human",
"value": "Run a command with custom I/O scheduling class and priority"
},
{
"from": "gpt",
"value": "ionice [-c|--class] scheduling_class [-n|--classdata] priority command"
}
] |
[
{
"from": "human",
"value": "Ignore failure to set the requested priority"
},
{
"from": "gpt",
"value": "ionice [-t|--ignore] [-n|--classdata] priority [-p|--pid] pid"
}
] |
[
{
"from": "human",
"value": "Run the command even in case it was not possible to set the desired priority (this can happen due to insufficient privileges or an old kernel version)"
},
{
"from": "gpt",
"value": "ionice [-t|--ignore] [-n|--classdata] priority [-p|--pid] pid"
}
] |
[
{
"from": "human",
"value": "Print the I/O scheduling class and priority of a running process"
},
{
"from": "gpt",
"value": "ionice [-p|--pid] pid"
}
] |
[
{
"from": "human",
"value": "Set the priority of the specified network interface (a higher number indicates lower priority)"
},
{
"from": "gpt",
"value": "sudo ifmetric interface value"
}
] |
[
{
"from": "human",
"value": "Reset the priority of the specified network interface"
},
{
"from": "gpt",
"value": "sudo ifmetric interface 0"
}
] |
[
{
"from": "human",
"value": "Change the line endings of a file"
},
{
"from": "gpt",
"value": "dos2unix path/to/file"
}
] |
[
{
"from": "human",
"value": "Create a copy with Unix-style line endings"
},
{
"from": "gpt",
"value": "dos2unix [-n|--newfile] path/to/file path/to/new_file"
}
] |
[
{
"from": "human",
"value": "Display file information"
},
{
"from": "gpt",
"value": "dos2unix [-i|--info] path/to/file"
}
] |
[
{
"from": "human",
"value": "Keep/add/remove Byte Order Mark"
},
{
"from": "gpt",
"value": "dos2unix --keep-bom|add-bom|remove-bom path/to/file"
}
] |
[
{
"from": "human",
"value": "Cancel a job using its ID"
},
{
"from": "gpt",
"value": "scancel job_id"
}
] |
[
{
"from": "human",
"value": "Cancel all jobs from a user"
},
{
"from": "gpt",
"value": "scancel user_name"
}
] |
[
{
"from": "human",
"value": "Connect to a TFTP server specifying its IP address and port"
},
{
"from": "gpt",
"value": "tftp server_ip port"
}
] |
[
{
"from": "human",
"value": "Connect to a TFTP server and execute a TFTP [c]ommand"
},
{
"from": "gpt",
"value": "tftp server_ip -c command"
}
] |
[
{
"from": "human",
"value": "Connect to a TFTP server using IPv6 and force originating port to be in [R]ange"
},
{
"from": "gpt",
"value": "tftp server_ip -6 -R port:port"
}
] |
[
{
"from": "human",
"value": "Set the transfer mode to binary or ASCIi through the tftp client"
},
{
"from": "gpt",
"value": "mode binary|ascii"
}
] |
[
{
"from": "human",
"value": "Download file from a server through the tftp client"
},
{
"from": "gpt",
"value": "get file"
}
] |
[
{
"from": "human",
"value": "Upload file to a server through the tftp client"
},
{
"from": "gpt",
"value": "put file"
}
] |
[
{
"from": "human",
"value": "Exit the tftp client"
},
{
"from": "gpt",
"value": "quit"
}
] |
[
{
"from": "human",
"value": "Trace the route to a host"
},
{
"from": "gpt",
"value": "tcptraceroute host"
}
] |
[
{
"from": "human",
"value": "Specify the destination port and packet length in bytes"
},
{
"from": "gpt",
"value": "tcptraceroute host destination_port packet_length"
}
] |
[
{
"from": "human",
"value": "Specify the local source port and source address"
},
{
"from": "gpt",
"value": "tcptraceroute host -p source_port -s source_address"
}
] |
[
{
"from": "human",
"value": "Set the first and maximum TTL"
},
{
"from": "gpt",
"value": "tcptraceroute host -f first_ttl -m max_ttl"
}
] |
[
{
"from": "human",
"value": "Specify the wait time and number of queries per hop"
},
{
"from": "gpt",
"value": "tcptraceroute host -w wait_time -q number_of_queries"
}
] |
[
{
"from": "human",
"value": "Specify the interface"
},
{
"from": "gpt",
"value": "tcptraceroute host -i interface"
}
] |
[
{
"from": "human",
"value": "Display a message in full-screen"
},
{
"from": "gpt",
"value": "sm \"Hello World!\""
}
] |
[
{
"from": "human",
"value": "Display a message with inverted colors"
},
{
"from": "gpt",
"value": "sm -i \"Hello World!\""
}
] |
[
{
"from": "human",
"value": "Display a message with a custom foreground color"
},
{
"from": "gpt",
"value": "sm -f blue \"Hello World!\""
}
] |
[
{
"from": "human",
"value": "Display a message with a custom background color"
},
{
"from": "gpt",
"value": "sm -b #008888 \"Hello World!\""
}
] |
[
{
"from": "human",
"value": "Display a message rotated 3 times (in steps of 90 degrees, counterclockwise)"
},
{
"from": "gpt",
"value": "sm -r 3 \"Hello World!\""
}
] |
[
{
"from": "human",
"value": "Display a message using the output from another command"
},
{
"from": "gpt",
"value": "echo \"Hello World!\" | sm -"
}
] |
[
{
"from": "human",
"value": "Display information about logical volumes"
},
{
"from": "gpt",
"value": "lvs"
}
] |
[
{
"from": "human",
"value": "Display all logical volumes"
},
{
"from": "gpt",
"value": "lvs -a"
}
] |
[
{
"from": "human",
"value": "Change default display to show more details"
},
{
"from": "gpt",
"value": "lvs -v"
}
] |
[
{
"from": "human",
"value": "Display only specific fields"
},
{
"from": "gpt",
"value": "lvs -o field_name_1,field_name_2"
}
] |
[
{
"from": "human",
"value": "Append field to default display"
},
{
"from": "gpt",
"value": "lvs -o +field_name"
}
] |
[
{
"from": "human",
"value": "Suppress heading line"
},
{
"from": "gpt",
"value": "lvs --noheadings"
}
] |
[
{
"from": "human",
"value": "Use a separator to separate fields"
},
{
"from": "gpt",
"value": "lvs --separator ="
}
] |
[
{
"from": "human",
"value": "View logs of a program, specifying log files, directories or URLs"
},
{
"from": "gpt",
"value": "lnav path/to/log_or_directory|url"
}
] |
[
{
"from": "human",
"value": "View logs of a specific remote host (SSH passwordless login required)"
},
{
"from": "gpt",
"value": "lnav ssh user@host1.example.com:/var/log/syslog.log"
}
] |
[
{
"from": "human",
"value": "Validate the format of log files against the configuration and report any errors"
},
{
"from": "gpt",
"value": "lnav -C path/to/log_directory"
}
] |
[
{
"from": "human",
"value": "Get current setting"
},
{
"from": "gpt",
"value": "ctrlaltdel"
}
] |
[
{
"from": "human",
"value": "Set CTRL+ALT+DEL to reboot immediately, without any preparation"
},
{
"from": "gpt",
"value": "sudo ctrlaltdel hard"
}
] |
[
{
"from": "human",
"value": "Set CTRL+ALT+DEL to reboot \"normally\", giving processes a chance to exit first (send SIGINT to PID1)"
},
{
"from": "gpt",
"value": "sudo ctrlaltdel soft"
}
] |
[
{
"from": "human",
"value": "List all available networks"
},
{
"from": "gpt",
"value": "lxc network list"
}
] |
[
{
"from": "human",
"value": "Show the configuration of a specific network"
},
{
"from": "gpt",
"value": "lxc network show network_name"
}
] |
[
{
"from": "human",
"value": "Add a running instance to a specific network"
},
{
"from": "gpt",
"value": "lxc network attach network_name container_name"
}
] |
[
{
"from": "human",
"value": "Create a new managed network"
},
{
"from": "gpt",
"value": "lxc network create network_name"
}
] |
[
{
"from": "human",
"value": "Set a bridge interface of a specific network"
},
{
"from": "gpt",
"value": "lxc network set network_name bridge.external_interfaces eth0"
}
] |
[
{
"from": "human",
"value": "Disable NAT for a specific network"
},
{
"from": "gpt",
"value": "lxc network set network_name ipv4.nat false"
}
] |
[
{
"from": "human",
"value": "Show CPU and hard disk performance data for the hard disk mounted at `/`"
},
{
"from": "gpt",
"value": "pveperf"
}
] |
[
{
"from": "human",
"value": "Wait for the user to make a selection and output its geometry to `stdout`"
},
{
"from": "gpt",
"value": "slop"
}
] |
[
{
"from": "human",
"value": "Double click, rather than click and drag, to draw a selection"
},
{
"from": "gpt",
"value": "slop -D"
}
] |
[
{
"from": "human",
"value": "Highlight the selection rather than outlining it"
},
{
"from": "gpt",
"value": "slop -l"
}
] |
[
{
"from": "human",
"value": "Specify the output format"
},
{
"from": "gpt",
"value": "slop -f format_string"
}
] |
[
{
"from": "human",
"value": "Specify the selection rectangle's color"
},
{
"from": "gpt",
"value": "slop -c red,green,blue,alpha"
}
] |
[
{
"from": "human",
"value": "Display the current label and UUID of a swap area"
},
{
"from": "gpt",
"value": "swaplabel path/to/file"
}
] |
[
{
"from": "human",
"value": "Set the label of a swap area"
},
{
"from": "gpt",
"value": "swaplabel [-L|--label] new_label path/to/file"
}
] |
[
{
"from": "human",
"value": "Set the UUID of a swap area (you can generate a UUID using `uuidgen`)"
},
{
"from": "gpt",
"value": "swaplabel [-U|--uuid] new_uuid path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a new window showing the current directory"
},
{
"from": "gpt",
"value": "thunar"
}
] |
[
{
"from": "human",
"value": "Open the bulk rename utility"
},
{
"from": "gpt",
"value": "thunar --bulk-rename"
}
] |
[
{
"from": "human",
"value": "Close all open thunar windows"
},
{
"from": "gpt",
"value": "thunar --quit"
}
] |
[
{
"from": "human",
"value": "Infer ancestral sequences maximizing the joint or marginal likelihood"
},
{
"from": "gpt",
"value": "treetime ancestral"
}
] |
[
{
"from": "human",
"value": "Analyze patterns of recurrent mutations aka homoplasies"
},
{
"from": "gpt",
"value": "treetime homoplasy"
}
] |
[
{
"from": "human",
"value": "Estimate molecular clock parameters and reroot the tree"
},
{
"from": "gpt",
"value": "treetime clock"
}
] |
[
{
"from": "human",
"value": "Map discrete character such as host or country to the tree"
},
{
"from": "gpt",
"value": "treetime mugration"
}
] |
[
{
"from": "human",
"value": "Generate status report with configuration and all active settings"
},
{
"from": "gpt",
"value": "sudo tlp-stat"
}
] |
[
{
"from": "human",
"value": "Show information about various devices"
},
{
"from": "gpt",
"value": "sudo tlp-stat --battery|disk|processor|graphics|pcie|rfkill|usb"
}
] |
[
{
"from": "human",
"value": "Show verbose information about devices that support verbosity"
},
{
"from": "gpt",
"value": "sudo tlp-stat [-v|--verbose] --battery|processor|pcie|usb"
}
] |
[
{
"from": "human",
"value": "Show configuration"
},
{
"from": "gpt",
"value": "sudo tlp-stat [-c|--config]"
}
] |
[
{
"from": "human",
"value": "Monitor [p]ower supply `udev` [ev]ents"
},
{
"from": "gpt",
"value": "sudo tlp-stat [-P|--pev]"
}
] |
[
{
"from": "human",
"value": "Show [p]ower [sup]ply diagonistics"
},
{
"from": "gpt",
"value": "sudo tlp-stat --psup"
}
] |
[
{
"from": "human",
"value": "Show [t]emperatures and fan speed"
},
{
"from": "gpt",
"value": "sudo tlp-stat [-t|--temp]"
}
] |
[
{
"from": "human",
"value": "Show general system information"
},
{
"from": "gpt",
"value": "sudo tlp-stat [-s|--system]"
}
] |
[
{
"from": "human",
"value": "Display information about an installable package"
},
{
"from": "gpt",
"value": "urpmq -i package"
}
] |
[
{
"from": "human",
"value": "Display direct dependencies of a package"
},
{
"from": "gpt",
"value": "urpmq --requires package"
}
] |
[
{
"from": "human",
"value": "Display direct and indirect dependencies of a package"
},
{
"from": "gpt",
"value": "urpmq --requires-recursive package"
}
] |
[
{
"from": "human",
"value": "List the not installed packages needed for an RPM file with their sources"
},
{
"from": "gpt",
"value": "sudo urpmq --requires-recursive -m --sources path/to/file.rpm"
}
] |
[
{
"from": "human",
"value": "List all configured media with their URLs, including inactive media"
},
{
"from": "gpt",
"value": "urpmq --list-media --list-url"
}
] |
[
{
"from": "human",
"value": "Search for a package printing [g]roup, version and [r]elease"
},
{
"from": "gpt",
"value": "urpmq -g -r --fuzzy keyword"
}
] |
[
{
"from": "human",
"value": "Search for a package with using its exact name"
},
{
"from": "gpt",
"value": "urpmq -g -r package"
}
] |
[
{
"from": "human",
"value": "List running containers"
},
{
"from": "gpt",
"value": "sudo nixos-container list"
}
] |
[
{
"from": "human",
"value": "Create a NixOS container with a specific configuration file"
},
{
"from": "gpt",
"value": "sudo nixos-container create container_name --config-file nix_config_file_path"
}
] |
[
{
"from": "human",
"value": "Start, stop, terminate, or destroy a specific container"
},
{
"from": "gpt",
"value": "sudo nixos-container start|stop|terminate|destroy|status container_name"
}
] |
[
{
"from": "human",
"value": "Run a command in a running container"
},
{
"from": "gpt",
"value": "sudo nixos-container run container_name -- command command_arguments"
}
] |
[
{
"from": "human",
"value": "Update a container configuration"
},
{
"from": "gpt",
"value": "sudo $EDITOR /var/lib/container/container_name/etc/nixos/configuration.nix && sudo nixos-container update container_name"
}
] |
[
{
"from": "human",
"value": "Enter an interactive shell session on an already-running container"
},
{
"from": "gpt",
"value": "sudo nixos-container root-login container_name"
}
] |
[
{
"from": "human",
"value": "Display the value of a Portage-specific environment variable"
},
{
"from": "gpt",
"value": "portageq envvar variable"
}
] |
[
{
"from": "human",
"value": "Display a detailed list of repositories configured with Portage"
},
{
"from": "gpt",
"value": "portageq repos_config /"
}
] |
[
{
"from": "human",
"value": "Display a list of repositories sorted by priority (highest first)"
},
{
"from": "gpt",
"value": "portageq get_repos /"
}
] |
[
{
"from": "human",
"value": "Display a specific piece of metadata about an atom (i.e. package name including the version)"
},
{
"from": "gpt",
"value": "portageq metadata / ebuild|porttree|binary|... category/package BDEPEND|DEFINED_PHASES|DEPEND|..."
}
] |
[
{
"from": "human",
"value": "List all known package types that can be installed"
},
{
"from": "gpt",
"value": "kpackagetool6 --list-types"
}
] |
[
{
"from": "human",
"value": "Install the package from a directory"
},
{
"from": "gpt",
"value": "kpackagetool6 --type package_type --install path/to/directory"
}
] |
[
{
"from": "human",
"value": "Update installed package from a directory"
},
{
"from": "gpt",
"value": "kpackagetool6 --type package_type --upgrade path/to/directory"
}
] |
[
{
"from": "human",
"value": "List installed plasmoids (`--global` for all users)"
},
{
"from": "gpt",
"value": "kpackagetool6 --type Plasma/Applet --list --global"
}
] |
[
{
"from": "human",
"value": "Remove a plasmoid by name"
},
{
"from": "gpt",
"value": "kpackagetool6 --type Plasma/Applet --remove \"name\""
}
] |
[
{
"from": "human",
"value": "Remove one or more `toolbox` image"
},
{
"from": "gpt",
"value": "toolbox rmi image_name1 image_name2 ..."
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.