conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Display a specific line via the `more` command"
},
{
"from": "gpt",
"value": "`more +{{line_number}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Go to the next page via the `more` command"
},
{
"from": "gpt",
"value": "`<Space>`"
}
] |
[
{
"from": "human",
"value": "Search for a string (press `<n>` to go to the next match) via the `more` command"
},
{
"from": "gpt",
"value": "`</>{{something}}<Enter>`"
}
] |
[
{
"from": "human",
"value": "Exit via the `more` command"
},
{
"from": "gpt",
"value": "`<q>`"
}
] |
[
{
"from": "human",
"value": "Display help about interactive commands via the `more` command"
},
{
"from": "gpt",
"value": "`<h>`"
}
] |
[
{
"from": "human",
"value": "Tell me about `moreutils`."
},
{
"from": "gpt",
"value": "A collection of UNIX tools.\nNote: moreutils isn't a command, but a set of commands.\nMore information: <https://joeyh.name/code/moreutils/>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for pages related to standard streams via the `moreutils` command"
},
{
"from": "gpt",
"value": "`tldr {{ifne|mispipe|pee|sponge|vipe|vidir}}`"
}
] |
[
{
"from": "human",
"value": "View documentation for other pages via the `moreutils` command"
},
{
"from": "gpt",
"value": "`tldr {{combine|errno|ifdata|isutt8|lckdo|parallel|zrun}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `moro`."
},
{
"from": "gpt",
"value": "Track work time.\nMore information: <https://moro.js.org>.\n"
}
] |
[
{
"from": "human",
"value": "Invoke `moro` without parameters, to set the current time as the start of the working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro`"
}
] |
[
{
"from": "human",
"value": "Specify a custom time for the start of the working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro hi {{09:30}}`"
}
] |
[
{
"from": "human",
"value": "Invoke `moro` without parameters a second time, to set the current time at the end of the working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro`"
}
] |
[
{
"from": "human",
"value": "Specify a custom time for the end of the working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro bye {{17:30}}`"
}
] |
[
{
"from": "human",
"value": "Add a note on the current working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro note {{3 hours on project Foo}}`"
}
] |
[
{
"from": "human",
"value": "Show a report of time logs and notes for the current working day via the `moro` command"
},
{
"from": "gpt",
"value": "`moro report`"
}
] |
[
{
"from": "human",
"value": "Show a report of time logs and notes for all working days on record via the `moro` command"
},
{
"from": "gpt",
"value": "`moro report --all`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mosh`."
},
{
"from": "gpt",
"value": "Mobile Shell (`mosh`) is a robust and responsive replacement for SSH.\n`mosh` persists connections to remote servers while roaming between networks.\nMore information: <https://mosh.org>.\n"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh {{username}}@{{remote_host}}`"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server with a specific identity (private key) via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh --ssh=\"ssh -i {{path/to/key_file}}\" {{username}}@{{remote_host}}`"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server using a specific port via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh --ssh=\"ssh -p {{2222}}\" {{username}}@{{remote_host}}`"
}
] |
[
{
"from": "human",
"value": "Run a command on a remote server via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh {{remote_host}} -- {{command -with -flags}}`"
}
] |
[
{
"from": "human",
"value": "Select Mosh UDP port (useful when `remote_host` is behind a NAT) via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh -p {{124}} {{username}}@{{remote_host}}`"
}
] |
[
{
"from": "human",
"value": "Usage when `mosh-server` binary is outside standard path via the `mosh` command"
},
{
"from": "gpt",
"value": "`mosh --server={{path/to/bin/}}mosh-server {{remote_host}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mosquitto`."
},
{
"from": "gpt",
"value": "An MQTT broker.\nMore information: <https://mosquitto.org/>.\n"
}
] |
[
{
"from": "human",
"value": "Start Mosquitto via the `mosquitto` command"
},
{
"from": "gpt",
"value": "`mosquitto`"
}
] |
[
{
"from": "human",
"value": "Specify a configuration file to use via the `mosquitto` command"
},
{
"from": "gpt",
"value": "`mosquitto --config-file {{path/to/file.conf}}`"
}
] |
[
{
"from": "human",
"value": "Listen on a specific port via the `mosquitto` command"
},
{
"from": "gpt",
"value": "`mosquitto --port {{8883}}`"
}
] |
[
{
"from": "human",
"value": "Daemonize by forking into the background via the `mosquitto` command"
},
{
"from": "gpt",
"value": "`mosquitto --daemon`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mosquitto_passwd`."
},
{
"from": "gpt",
"value": "Manage password files for mosquitto.\nSee also `mosquitto`, the MQTT server that this manages.\nMore information: <https://mosquitto.org/man/mosquitto_passwd-1.html>.\n"
}
] |
[
{
"from": "human",
"value": "Add a new user to a password file (will prompt to enter the password) via the `mosquitto_passwd` command"
},
{
"from": "gpt",
"value": "`mosquitto_passwd {{path/to/password_file}} {{username}}`"
}
] |
[
{
"from": "human",
"value": "Create the password file if it doesn't already exist via the `mosquitto_passwd` command"
},
{
"from": "gpt",
"value": "`mosquitto_passwd -c {{path/to/password_file}} {{username}}`"
}
] |
[
{
"from": "human",
"value": "Delete the specified username instead via the `mosquitto_passwd` command"
},
{
"from": "gpt",
"value": "`mosquitto_passwd -D {{path/to/password_file}} {{username}}`"
}
] |
[
{
"from": "human",
"value": "Upgrade an old plain-text password file to a hashed password file via the `mosquitto_passwd` command"
},
{
"from": "gpt",
"value": "`mosquitto_passwd -U {{path/to/password_file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mosquitto_pub`."
},
{
"from": "gpt",
"value": "A simple MQTT version 3.1.1 client that will publish a single message on a topic and exit.\nMore information: <https://mosquitto.org/man/mosquitto_pub-1.html>.\n"
}
] |
[
{
"from": "human",
"value": "Publish a temperature value of 32 on the topic `sensors/temperature` to 192.168.1.1 (defaults to `localhost`) with Quality of Service (`QoS`) set to 1 via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`mosquitto_pub -h {{192.168.1.1}} -t {{sensors/temper... |
[
{
"from": "human",
"value": "Publish timestamp and temperature data on the topic `sensors/temperature` to a remote host on a non-standard port via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`mosquitto_pub -h {{192.168.1.1}} -p {{1885}} -t {{sensors/temperature}} -m \"{{1266193804... |
[
{
"from": "human",
"value": "Publish light switch status and retain the message on the topic `switches/kitchen_lights/status` to a remote host because there may be a long period of time between light switch events via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`mosquitto_pub -r -... |
[
{
"from": "human",
"value": "Send the contents of a file (`data.txt`) as a message and publish it to `sensors/temperature` topic via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`mosquitto_pub -t {{sensors/temperature}} -f {{data.txt}}`"
}
] |
[
{
"from": "human",
"value": "Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`mosquitto_pub -t {{sensors/temperature}} -s < {{data... |
[
{
"from": "human",
"value": "Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic via the `mosquitto_pub` command"
},
{
"from": "gpt",
"value": "`{{echo data.txt}} | mosquitto_pub -t {{sensors/temperature}} -l`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mosquitto_sub`."
},
{
"from": "gpt",
"value": "A simple MQTT version 3.1.1 client that will subscribe to topics and print the messages that it receives.\nMore information: <https://mosquitto.org/man/mosquitto_sub-1.html>.\n"
}
] |
[
{
"from": "human",
"value": "Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port 1883) via the `mosquitto_sub` command"
},
{
"from": "gpt",
"value": "`mosquitto_sub -t {{sensors/temperature}} -q {{1}}`"
... |
[
{
"from": "human",
"value": "Subscribe to all broker status messages publishing on `iot.eclipse.org` port 1885 and print published messages verbosely via the `mosquitto_sub` command"
},
{
"from": "gpt",
"value": "`mosquitto_sub -v -h \"iot.eclipse.org\" -p 1885 -t {{\\$SYS/#}}`"
}
] |
[
{
"from": "human",
"value": "Subscribe to multiple topics matching a given pattern. (+ takes any metric name) via the `mosquitto_sub` command"
},
{
"from": "gpt",
"value": "`mosquitto_sub -t {{sensors/machines/+/temperature/+}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `most`."
},
{
"from": "gpt",
"value": "Open one or several files for interactive reading, allowing scrolling and search.\nMore information: <https://manned.org/most>.\n"
}
] |
[
{
"from": "human",
"value": "Open a file via the `most` command"
},
{
"from": "gpt",
"value": "`most {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Open several files via the `most` command"
},
{
"from": "gpt",
"value": "`most {{path/to/file1 path/to/file2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Open a file at the first occurrence of \"string\" via the `most` command"
},
{
"from": "gpt",
"value": "`most {{path/to/file}} +/{{string}}`"
}
] |
[
{
"from": "human",
"value": "Move through opened files via the `most` command"
},
{
"from": "gpt",
"value": "`<:><n>{{<ArrowUp>|<ArrowDown>}}`"
}
] |
[
{
"from": "human",
"value": "Jump to the 100th line via the `most` command"
},
{
"from": "gpt",
"value": "`<j>{{100}}<Enter>`"
}
] |
[
{
"from": "human",
"value": "Edit current file via the `most` command"
},
{
"from": "gpt",
"value": "`<e>`"
}
] |
[
{
"from": "human",
"value": "Split the current window in half via the `most` command"
},
{
"from": "gpt",
"value": "`<CTRL x><o>`"
}
] |
[
{
"from": "human",
"value": "Exit via the `most` command"
},
{
"from": "gpt",
"value": "`<q>`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mozillavpn`."
},
{
"from": "gpt",
"value": "A Virtual Private Network from the makers of Firefox.\nSee also: `fastd`, `ivpn`, `mullvad`, `warp-cli`.\nMore information: <https://github.com/mozilla-mobile/mozilla-vpn-client/wiki/Command-line-interface>.\... |
[
{
"from": "human",
"value": "Log in with an interactive prompt via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn login`"
}
] |
[
{
"from": "human",
"value": "Connect to Mozilla VPN via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn activate`"
}
] |
[
{
"from": "human",
"value": "Display the connection status via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn status`"
}
] |
[
{
"from": "human",
"value": "List available servers via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn servers`"
}
] |
[
{
"from": "human",
"value": "Select a specific server via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn select {{server_name}}`"
}
] |
[
{
"from": "human",
"value": "Disconnect from Mozilla VPN via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn deactivate`"
}
] |
[
{
"from": "human",
"value": "Log out via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn logout`"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand via the `mozillavpn` command"
},
{
"from": "gpt",
"value": "`mozillavpn {{subcommand}} --help`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mp3info`."
},
{
"from": "gpt",
"value": "Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files.\nMore information: <https://www.ibiblio.org/mp3info>.\n"
}
] |
[
{
"from": "human",
"value": "Show all ID3v1 tags of a specific MP3 file via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info {{path/to/file.mp3}}`"
}
] |
[
{
"from": "human",
"value": "Edit ID3v1 tags interactively via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info -i {{path/to/file.mp3}}`"
}
] |
[
{
"from": "human",
"value": "Set values for ID3v1 tags in a specific MP3 file via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info -a \"{{artist_name}}\" -t \"{{song_title}}\" -l \"{{album_title}}\" -y {{year}} -c \"{{comment_text}}\" {{path/to/file.mp3}}`"
}
] |
[
{
"from": "human",
"value": "Set the number of the track in the album for a specific MP3 file via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info -n {{track_number}} {{path/to/file.mp3}}`"
}
] |
[
{
"from": "human",
"value": "Print a list of valid genres and their numeric codes via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info -G`"
}
] |
[
{
"from": "human",
"value": "Set the music genre for a specific MP3 file via the `mp3info` command"
},
{
"from": "gpt",
"value": "`mp3info -g {{genre_number}} {{path/to/file.mp3}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mp4box`."
},
{
"from": "gpt",
"value": "MPEG-4 Systems Toolbox: muxe streams into MP4 container.\nMore information: <https://gpac.wp.imt.fr/mp4box>.\n"
}
] |
[
{
"from": "human",
"value": "Display information about an existing MP4 file via the `mp4box` command"
},
{
"from": "gpt",
"value": "`mp4box -info {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Add an SRT subtitle file into an MP4 file via the `mp4box` command"
},
{
"from": "gpt",
"value": "`mp4box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`"
}
] |
[
{
"from": "human",
"value": "Combine audio from one file and video from another via the `mp4box` command"
},
{
"from": "gpt",
"value": "`mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mpc`."
},
{
"from": "gpt",
"value": "Music Player Client: control the Music Player Daemon (MPD).\nSee also: `mpd`, `ncmpcpp`, `cmus`.\nMore information: <https://www.musicpd.org/doc/mpc/html>.\n"
}
] |
[
{
"from": "human",
"value": "Toggle play/pause via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc toggle`"
}
] |
[
{
"from": "human",
"value": "Stop playing via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc stop`"
}
] |
[
{
"from": "human",
"value": "Show information about the currently playing song via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc status`"
}
] |
[
{
"from": "human",
"value": "Play the next song via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc next`"
}
] |
[
{
"from": "human",
"value": "Play the previous song via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc prev`"
}
] |
[
{
"from": "human",
"value": "Seek `n` seconds forward (`+`) or backward (`-`) via the `mpc` command"
},
{
"from": "gpt",
"value": "`mpc {{+n|-n}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mpd`."
},
{
"from": "gpt",
"value": "Music Player Daemon.\nSee also: `mpc`, `ncmpcpp`.\nMore information: <https://www.musicpd.org/>.\n"
}
] |
[
{
"from": "human",
"value": "Start MPD via the `mpd` command"
},
{
"from": "gpt",
"value": "`mpd`"
}
] |
[
{
"from": "human",
"value": "Start MPD but don't read from the configuration file via the `mpd` command"
},
{
"from": "gpt",
"value": "`mpd --no-config`"
}
] |
[
{
"from": "human",
"value": "Start MPD and don't detach it from the console via the `mpd` command"
},
{
"from": "gpt",
"value": "`mpd --no-daemon`"
}
] |
[
{
"from": "human",
"value": "Kill the currently running MPD session via the `mpd` command"
},
{
"from": "gpt",
"value": "`mpd --kill`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mpg321`."
},
{
"from": "gpt",
"value": "High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.\nMpg321 was written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player.\nMore information: <https://mp... |
[
{
"from": "human",
"value": "Play an audio source exactly `n` times (0 means forever) via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -l {{n}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`"
}
] |
[
{
"from": "human",
"value": "Play a directory recursively via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -B {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -K {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`"
}
] |
[
{
"from": "human",
"value": "Play files randomly until interrupted via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -Z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`"
}
] |
[
{
"from": "human",
"value": "Shuffle the files before playing them once via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`"
}
] |
[
{
"from": "human",
"value": "Play all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled via the `mpg321` command"
},
{
"from": "gpt",
"value": "`mpg321 -B -Z -K .`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mplayer`."
},
{
"from": "gpt",
"value": "Cross-platform multimedia player.\nMore information: <https://mplayerhq.hu/DOCS/HTML/en/commandline.html>.\n"
}
] |
[
{
"from": "human",
"value": "Play the specified file or URL via the `mplayer` command"
},
{
"from": "gpt",
"value": "`mplayer {{path/to/file|url}}`"
}
] |
[
{
"from": "human",
"value": "Play multiple files via the `mplayer` command"
},
{
"from": "gpt",
"value": "`mplayer {{path/to/file1 path/to/file2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Play a specific file repeatedly via the `mplayer` command"
},
{
"from": "gpt",
"value": "`mplayer -loop {{0}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Pause playback via the `mplayer` command"
},
{
"from": "gpt",
"value": "`<Space>`"
}
] |
[
{
"from": "human",
"value": "Quit mplayer via the `mplayer` command"
},
{
"from": "gpt",
"value": "`<Esc>`"
}
] |
[
{
"from": "human",
"value": "Seek backward or forward 10 seconds via the `mplayer` command"
},
{
"from": "gpt",
"value": "`{{<ArrowLeft>|<ArrowRight>}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `mpremote`."
},
{
"from": "gpt",
"value": "Remotely control MicroPython devices.\nMore information: <https://docs.micropython.org/en/latest/reference/mpremote.html>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.