conversations
listlengths
2
2
[ { "from": "human", "value": "Connect to a specific MariaDB database using username and password via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb --user {{user_name}} --password {{your_password}} {{db_name}}`" } ]
[ { "from": "human", "value": "Show warnings after every statement in interactive and batch mode via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb --show-warning`" } ]
[ { "from": "human", "value": "Display less verbose outputs (can be used multiple times to produce less output) via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb {{-s|-ss|-sss|--silent}}`" } ]
[ { "from": "human", "value": "Execute SQL statements from a script file via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb {{db_name}} < {{path/to/script.sql}} > {{path/to/output.tab}}`" } ]
[ { "from": "human", "value": "Check memory and open file usage at exit via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb --debug-check`" } ]
[ { "from": "human", "value": "Connect using a socket file for local connections via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb {{[-S|--socket]}} {{path/to/socket_name}}`" } ]
[ { "from": "human", "value": "Display help via the `mariadb` command" }, { "from": "gpt", "value": "`mariadb {{[-?|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `marimo`." }, { "from": "gpt", "value": "A reactive Python notebook environment.\nCombines features of Jupyter, Streamlit, and other notebook tools with reactive execution.\nMore information: <https://docs.marimo.io/cli>.\n" } ]
[ { "from": "human", "value": "Create or edit notebooks by starting a marimo server via the `marimo` command" }, { "from": "gpt", "value": "`marimo edit`" } ]
[ { "from": "human", "value": "Start a marimo server on a specific port without launching a browser via the `marimo` command" }, { "from": "gpt", "value": "`marimo edit {{[-p|--port]}} {{port_number}} --headless`" } ]
[ { "from": "human", "value": "Edit a specific notebook via the `marimo` command" }, { "from": "gpt", "value": "`marimo edit {{path/to/notebook.py}}`" } ]
[ { "from": "human", "value": "Run a marimo notebook as an app in read-only mode via the `marimo` command" }, { "from": "gpt", "value": "`marimo run {{path/to/notebook.py}}`" } ]
[ { "from": "human", "value": "Start an interactive tutorial to learn marimo via the `marimo` command" }, { "from": "gpt", "value": "`marimo tutorial {{intro|components|dataflow|io}}`" } ]
[ { "from": "human", "value": "View command-specific help via the `marimo` command" }, { "from": "gpt", "value": "`marimo {{edit|run|tutorial|config|new|...}} --help`" } ]
[ { "from": "human", "value": "Tell me about `masscan`." }, { "from": "gpt", "value": "Network scanner for scanning as fast as possible.\nBest run with elevated privileges. Nmap compatibility run `masscan --nmap` to find out more.\nMore information: <https://manned.org/masscan>.\n" } ]
[ { "from": "human", "value": "Scan an IP or network subnet for port 80 via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{ip_address|network_prefix}} {{[-p|--ports]}} {{80}}`" } ]
[ { "from": "human", "value": "Scan a class B subnet for the top 100 ports at 100,000 packets per second via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}`" } ]
[ { "from": "human", "value": "Scan a class B subnet avoiding ranges from a specific exclude file via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{path/to/file}}`" } ]
[ { "from": "human", "value": "Scan the Internet for web servers running on port 80 and 443 via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{80,443}} --rate {{10000000}}`" } ]
[ { "from": "human", "value": "Scan the Internet for DNS servers running on UDP port 53 via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{U:53}} --rate {{10000000}}`" } ]
[ { "from": "human", "value": "Scan the Internet for a specific port range and export to a file via the `masscan` command" }, { "from": "gpt", "value": "`masscan {{0.0.0.0/0}} {{[-p|--ports]}} {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}`" } ]
[ { "from": "human", "value": "Read binary scan results from a file and output to `stdout` via the `masscan` command" }, { "from": "gpt", "value": "`masscan --readscan {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `mat2`." }, { "from": "gpt", "value": "Anonymise various file formats by removing metadata.\nMore information: <https://0xacab.org/jvoisin/mat2>.\n" } ]
[ { "from": "human", "value": "List supported file formats via the `mat2` command" }, { "from": "gpt", "value": "`mat2 --list`" } ]
[ { "from": "human", "value": "Remove metadata from a file via the `mat2` command" }, { "from": "gpt", "value": "`mat2 {{path/to/file}}`" } ]
[ { "from": "human", "value": "Remove metadata from a file and print detailed output to the console via the `mat2` command" }, { "from": "gpt", "value": "`mat2 --verbose {{path/to/file}}`" } ]
[ { "from": "human", "value": "Show metadata in a file without removing it via the `mat2` command" }, { "from": "gpt", "value": "`mat2 --show {{path/to/file}}`" } ]
[ { "from": "human", "value": "Partially remove metadata from a file via the `mat2` command" }, { "from": "gpt", "value": "`mat2 --lightweight {{path/to/file}}`" } ]
[ { "from": "human", "value": "Remove metadata from a file in place, without creating a backup via the `mat2` command" }, { "from": "gpt", "value": "`mat2 --inplace {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `mate-dictionary`." }, { "from": "gpt", "value": "Look up words on dictionaries.\nMore information: <https://manned.org/mate-dictionary>.\n" } ]
[ { "from": "human", "value": "Print a specific word definition via the `mate-dictionary` command" }, { "from": "gpt", "value": "`mate-dictionary --no-window --look-up '{{word}}'`" } ]
[ { "from": "human", "value": "Show similar words for a specific one in a new window via the `mate-dictionary` command" }, { "from": "gpt", "value": "`mate-dictionary --match '{{word}}'`" } ]
[ { "from": "human", "value": "Tell me about `matlab`." }, { "from": "gpt", "value": "Numerical computation environment by MathWorks.\nMore information: <https://uk.mathworks.com/help/matlab/>.\n" } ]
[ { "from": "human", "value": "Run without splash screen during startup via the `matlab` command" }, { "from": "gpt", "value": "`matlab -nosplash`" } ]
[ { "from": "human", "value": "Execute a MATLAB statement via the `matlab` command" }, { "from": "gpt", "value": "`matlab -r \"{{matlab_statement}}\"`" } ]
[ { "from": "human", "value": "Run a MATLAB script via the `matlab` command" }, { "from": "gpt", "value": "`matlab -r \"run({{path/to/script.m}})\"`" } ]
[ { "from": "human", "value": "Tell me about `maza`." }, { "from": "gpt", "value": "Local ad blocker. Like Pi-hole but local and using the operating system.\nMore information: <https://github.com/tanrax/maza-ad-blocking>.\n" } ]
[ { "from": "human", "value": "Update the Maza database via the `maza` command" }, { "from": "gpt", "value": "`maza update`" } ]
[ { "from": "human", "value": "Start Maza via the `maza` command" }, { "from": "gpt", "value": "`sudo maza start`" } ]
[ { "from": "human", "value": "Stop Maza via the `maza` command" }, { "from": "gpt", "value": "`sudo maza stop`" } ]
[ { "from": "human", "value": "Show the status of Maza via the `maza` command" }, { "from": "gpt", "value": "`maza status`" } ]
[ { "from": "human", "value": "Tell me about `mcfly`." }, { "from": "gpt", "value": "A smart command history search and management tool.\nReplaces your default shell history search (`<Ctrl r>`) with an intelligent search engine providing context and relevance to the commands.\nMore information: <h...
[ { "from": "human", "value": "Print the mcfly integration code for the specified shell via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly init {{bash|fish|zsh}}`" } ]
[ { "from": "human", "value": "Search the history for a command, with 20 results via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly search --results {{20}} \"{{search_terms}}\"`" } ]
[ { "from": "human", "value": "Add a new command to the history via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly add \"{{command}}\"`" } ]
[ { "from": "human", "value": "Record that a directory has moved and transfer the historical records from the old path to the new one via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly move \"{{path/to/old_directory}}\" \"{{path/to/new_directory}}\"`" } ]
[ { "from": "human", "value": "Train the suggestion engine (developer tool) via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly train`" } ]
[ { "from": "human", "value": "Display help for a specific subcommand via the `mcfly` command" }, { "from": "gpt", "value": "`mcfly help {{subcommand}}`" } ]
[ { "from": "human", "value": "Tell me about `mc`." }, { "from": "gpt", "value": "Midnight Commander, a TUI file manager.\nNavigate the directory structure using the `<ArrowKeys>`, the mouse or by typing the commands into the terminal.\nSee also: `ranger`, `clifm`, `vifm`, `nautilus`.\nMore inform...
[ { "from": "human", "value": "Start Midnight Commander via the `mc` command" }, { "from": "gpt", "value": "`mc`" } ]
[ { "from": "human", "value": "Start Midnight Commander in black and white via the `mc` command" }, { "from": "gpt", "value": "`mc -b`" } ]
[ { "from": "human", "value": "Tell me about `mcs`." }, { "from": "gpt", "value": "Mono C# Compiler.\nMore information: <https://manned.org/mcs.1>.\n" } ]
[ { "from": "human", "value": "Compile the specified files via the `mcs` command" }, { "from": "gpt", "value": "`mcs {{path/to/input_file1.cs path/to/input_file2.cs ...}}`" } ]
[ { "from": "human", "value": "Specify the output program name via the `mcs` command" }, { "from": "gpt", "value": "`mcs -out:{{path/to/file.exe}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}`" } ]
[ { "from": "human", "value": "Specify the output program type via the `mcs` command" }, { "from": "gpt", "value": "`mcs -target:{{exe|winexe|library|module}} {{path/to/input_file1.cs path/to/input_file2.cs ...}}`" } ]
[ { "from": "human", "value": "Tell me about `Exclamation mark`." }, { "from": "gpt", "value": "Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`.\nMore information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.\n" } ]
[ { "from": "human", "value": "Substitute with the previous command and run it with `sudo` via the `!` command" }, { "from": "gpt", "value": "`sudo !!`" } ]
[ { "from": "human", "value": "Substitute with a command based on its line number found with `history` via the `!` command" }, { "from": "gpt", "value": "`!{{number}}`" } ]
[ { "from": "human", "value": "Substitute with a command that was used a specified number of lines back via the `!` command" }, { "from": "gpt", "value": "`!-{{number}}`" } ]
[ { "from": "human", "value": "Substitute with the most recent command that starts with a string via the `!` command" }, { "from": "gpt", "value": "`!{{string}}`" } ]
[ { "from": "human", "value": "Substitute with the arguments of the latest command via the `!` command" }, { "from": "gpt", "value": "`{{command}} !*`" } ]
[ { "from": "human", "value": "Substitute with the last argument of the latest command via the `!` command" }, { "from": "gpt", "value": "`{{command}} !$`" } ]
[ { "from": "human", "value": "Substitute with the last command but without the last argument via the `!` command" }, { "from": "gpt", "value": "`!:-`" } ]
[ { "from": "human", "value": "Print last command that starts with a string without executing it via the `!` command" }, { "from": "gpt", "value": "`!{{string}}:p`" } ]
[ { "from": "human", "value": "Tell me about `Percent sign`." }, { "from": "gpt", "value": "Manage jobs.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#Job-Control-Basics>.\n" } ]
[ { "from": "human", "value": "Bring the current job to front via the `%` command" }, { "from": "gpt", "value": "`%`" } ]
[ { "from": "human", "value": "Bring the previous job to front via the `%` command" }, { "from": "gpt", "value": "`%-`" } ]
[ { "from": "human", "value": "Bring the job number `n` to front via the `%` command" }, { "from": "gpt", "value": "`%{{n}}`" } ]
[ { "from": "human", "value": "Bring a job whose command starts with `string` to front via the `%` command" }, { "from": "gpt", "value": "`%{{string}}`" } ]
[ { "from": "human", "value": "Bring a job whose command contains `string` to front via the `%` command" }, { "from": "gpt", "value": "`%?{{string}}`" } ]
[ { "from": "human", "value": "Resume a suspended job via the `%` command" }, { "from": "gpt", "value": "`%{{1}} &`" } ]
[ { "from": "human", "value": "Tell me about `Comma`." }, { "from": "gpt", "value": "Run commands without installing them.\nMore information: <https://github.com/nix-community/comma>.\n" } ]
[ { "from": "human", "value": "Run a command via the `,` command" }, { "from": "gpt", "value": "`, {{command -with -flags}}`" } ]
[ { "from": "human", "value": "Add a command to a child shell via the `,` command" }, { "from": "gpt", "value": "`, {{[-s|--shell]}} {{command}}`" } ]
[ { "from": "human", "value": "Clear the cache via the `,` command" }, { "from": "gpt", "value": "`, {{[-e|--empty-cache]}}`" } ]
[ { "from": "human", "value": "Tell me about `[`." }, { "from": "gpt", "value": "Check file types and compare values.\nReturns a status of 0 if the condition evaluates to true, 1 if it evaluates to false.\nMore information: <https://gnu.org/software/bash/manual/bash.html#index-test>.\n" } ]
[ { "from": "human", "value": "Test if a given variable is equal/not equal to the specified string via the `[` command" }, { "from": "gpt", "value": "`[ \"${{variable}}\" {{=|!=}} \"{{string}}\" ]`" } ]
[ { "from": "human", "value": "Test if a given variable is [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than or [e]qual/[l]ess than or [e]qual to the specified number via the `[` command" }, { "from": "gpt", "value": "`[ \"${{variable}}\" -{{eq|ne|gt|lt|ge|le}} {{integer}} ]`" ...
[ { "from": "human", "value": "Test if the specified variable has a [n]on-empty value via the `[` command" }, { "from": "gpt", "value": "`[ -n \"${{variable}}\" ]`" } ]
[ { "from": "human", "value": "Test if the specified variable has an empty value ([z]ero length) via the `[` command" }, { "from": "gpt", "value": "`[ -z \"${{variable}}\" ]`" } ]
[ { "from": "human", "value": "Test if the specified [f]ile exists via the `[` command" }, { "from": "gpt", "value": "`[ -f {{path/to/file}} ]`" } ]
[ { "from": "human", "value": "Test if the specified [d]irectory exists via the `[` command" }, { "from": "gpt", "value": "`[ -d {{path/to/directory}} ]`" } ]
[ { "from": "human", "value": "Test if the specified file or directory [e]xists via the `[` command" }, { "from": "gpt", "value": "`[ -e {{path/to/file_or_directory}} ]`" } ]
[ { "from": "human", "value": "Tell me about `[[`." }, { "from": "gpt", "value": "Check file types and compare values.\nReturns a status of 0 if the condition evaluates to true, 1 if it evaluates to false.\nMore information: <https://gnu.org/software/bash/manual/bash.html#index-_005b_005b>.\n" }...
[ { "from": "human", "value": "Test if a given variable is equal/not equal to the specified string via the `[[` command" }, { "from": "gpt", "value": "`[[ ${{variable}} {{==|!=}} \"{{string}}\" ]]`" } ]
[ { "from": "human", "value": "Test if a given string conforms the specified glob/regex via the `[[` command" }, { "from": "gpt", "value": "`[[ ${{variable}} {{==|=~}} {{pattern}} ]]`" } ]
[ { "from": "human", "value": "Test if a given variable is [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than or [e]qual/[l]ess than or [e]qual to the specified number via the `[[` command" }, { "from": "gpt", "value": "`[[ ${{variable}} -{{eq|ne|gt|lt|ge|le}} {{integer}} ]]`" }...
[ { "from": "human", "value": "Test if the specified variable has a [n]on-empty value via the `[[` command" }, { "from": "gpt", "value": "`[[ -n ${{variable}} ]]`" } ]
[ { "from": "human", "value": "Test if the specified variable has an empty value ([z]ero length) via the `[[` command" }, { "from": "gpt", "value": "`[[ -z ${{variable}} ]]`" } ]
[ { "from": "human", "value": "Test if the specified [f]ile exists via the `[[` command" }, { "from": "gpt", "value": "`[[ -f {{path/to/file}} ]]`" } ]
[ { "from": "human", "value": "Test if the specified [d]irectory exists via the `[[` command" }, { "from": "gpt", "value": "`[[ -d {{path/to/directory}} ]]`" } ]
[ { "from": "human", "value": "Test if the specified file or directory [e]xists via the `[[` command" }, { "from": "gpt", "value": "`[[ -e {{path/to/file_or_directory}} ]]`" } ]
[ { "from": "human", "value": "Tell me about `]`." }, { "from": "gpt", "value": "This shell keyword is used to close out `[`.\n" } ]
[ { "from": "human", "value": "View documentation for the `[` keyword via the `]` command" }, { "from": "gpt", "value": "`tldr [`" } ]
[ { "from": "human", "value": "Tell me about `]]`." }, { "from": "gpt", "value": "This shell keyword is used to close out `[[`.\n" } ]
[ { "from": "human", "value": "View documentation for the `[[` keyword via the `]]` command" }, { "from": "gpt", "value": "`tldr [[`" } ]
[ { "from": "human", "value": "Tell me about `Caret`." }, { "from": "gpt", "value": "Bash builtin to quick substitute a string in the previous command and run the result.\nEquivalent to `!!:s^string1^string2`.\nMore information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.\n...
[ { "from": "human", "value": "Run the previous command replacing `string1` with `string2` via the `^` command" }, { "from": "gpt", "value": "`^{{string1}}^{{string2}}`" } ]
[ { "from": "human", "value": "Remove `string1` from the previous command via the `^` command" }, { "from": "gpt", "value": "`^{{string1}}^`" } ]
[ { "from": "human", "value": "Replace `string1` with `string2` in the previous command and add `string3` to its end via the `^` command" }, { "from": "gpt", "value": "`^{{string1}}^{{string2}}^{{string3}}`" } ]