conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `ifconfig`." }, { "from": "gpt", "value": "Network Interface Configurator.\nMore information: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.\n" } ]
[ { "from": "human", "value": "View network settings of an interface via the `ifconfig` command" }, { "from": "gpt", "value": "`ifconfig {{interface_name}}`" } ]
[ { "from": "human", "value": "Display details of all interfaces, including disabled interfaces via the `ifconfig` command" }, { "from": "gpt", "value": "`ifconfig -a`" } ]
[ { "from": "human", "value": "Disable an interface via the `ifconfig` command" }, { "from": "gpt", "value": "`ifconfig {{interface_name}} down`" } ]
[ { "from": "human", "value": "Enable an interface via the `ifconfig` command" }, { "from": "gpt", "value": "`ifconfig {{interface_name}} up`" } ]
[ { "from": "human", "value": "Assign an IP address to an interface via the `ifconfig` command" }, { "from": "gpt", "value": "`ifconfig {{interface_name}} {{ip_address}}`" } ]
[ { "from": "human", "value": "Tell me about `ifdata`." }, { "from": "gpt", "value": "Display information about a network interface.\nMore information: <https://manned.org/ifdata>.\n" } ]
[ { "from": "human", "value": "Display the whole configuration of the specified interface via the `ifdata` command" }, { "from": "gpt", "value": "`ifdata -p {{eth0}}`" } ]
[ { "from": "human", "value": "Indicate the [e]xistence of the specified interface via the exit code via the `ifdata` command" }, { "from": "gpt", "value": "`ifdata -e {{eth0}}`" } ]
[ { "from": "human", "value": "Display the IPv4 [a]dress and the [n]etmask of the specified interface via the `ifdata` command" }, { "from": "gpt", "value": "`ifdata -pa -pn {{eth0}}`" } ]
[ { "from": "human", "value": "Display the [N]etwork adress, the [b]roadcast adress, and the MTU of the specified interface via the `ifdata` command" }, { "from": "gpt", "value": "`ifdata -pN -pb -pm {{eth0}}`" } ]
[ { "from": "human", "value": "Display help via the `ifdata` command" }, { "from": "gpt", "value": "`ifdata`" } ]
[ { "from": "human", "value": "Tell me about `if`." }, { "from": "gpt", "value": "Performs conditional processing in shell scripts.\nSee also: `test`, `[`.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs>.\n" } ]
[ { "from": "human", "value": "Execute the specified commands if the condition command's exit status is zero via the `if` command" }, { "from": "gpt", "value": "`if {{condition_command}}; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "Execute the specified commands if the condition command's exit status is not zero via the `if` command" }, { "from": "gpt", "value": "`if ! {{condition_command}}; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "Execute the first specified commands if the condition command's exit status is zero otherwise execute the second specified commands via the `if` command" }, { "from": "gpt", "value": "`if {{condition_command}}; then {{echo \"Condition is true\"}}; else {{echo \"Condi...
[ { "from": "human", "value": "Check whether a [f]ile exists via the `if` command" }, { "from": "gpt", "value": "`if [[ -f {{path/to/file}} ]]; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "Check whether a [d]irectory exists via the `if` command" }, { "from": "gpt", "value": "`if [[ -d {{path/to/directory}} ]]; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "Check whether a file or directory [e]xists via the `if` command" }, { "from": "gpt", "value": "`if [[ -e {{path/to/file_or_directory}} ]]; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "Check whether a variable is defined via the `if` command" }, { "from": "gpt", "value": "`if [[ -n \"${{variable}}\" ]]; then {{echo \"Condition is true\"}}; fi`" } ]
[ { "from": "human", "value": "List all possible conditions (`test` is an alias to `[`; both are commonly used with `if`) via the `if` command" }, { "from": "gpt", "value": "`man test`" } ]
[ { "from": "human", "value": "Tell me about `ifne`." }, { "from": "gpt", "value": "Run a command depending on the emptyness of `stdin`.\nMore information: <https://joeyh.name/code/moreutils/>.\n" } ]
[ { "from": "human", "value": "Run the specified command if and only if `stdin` is not empty via the `ifne` command" }, { "from": "gpt", "value": "`ifne {{command options ...}}`" } ]
[ { "from": "human", "value": "Run the specified command if and only if `stdin` is empty, otherwise pass `stdin` to `stdout` via the `ifne` command" }, { "from": "gpt", "value": "`ifne -n {{command options ...}}`" } ]
[ { "from": "human", "value": "Tell me about `IFS`." }, { "from": "gpt", "value": "IFS (Internal Field Separator) is a special environment variable that defines the delimiter used for word splitting in Unix shells.\nThe default value of IFS is a space, tab, and newline. The three characters serve ...
[ { "from": "human", "value": "View the current IFS value via the `ifs` command" }, { "from": "gpt", "value": "`echo \"$IFS\"`" } ]
[ { "from": "human", "value": "Change the IFS value via the `ifs` command" }, { "from": "gpt", "value": "`IFS=\"{{:}}\"`" } ]
[ { "from": "human", "value": "Reset IFS to default via the `ifs` command" }, { "from": "gpt", "value": "`IFS=$' \\t\\n'`" } ]
[ { "from": "human", "value": "Temporarily change the IFS value in a subshell via the `ifs` command" }, { "from": "gpt", "value": "`(IFS=\"{{:}}\"; echo \"{{one:two:three}}\")`" } ]
[ { "from": "human", "value": "Tell me about `ignite`." }, { "from": "gpt", "value": "A CLI for React Native boilerplates, plugins, generators, and more.\nMore information: <https://infinite.red/ignite>.\n" } ]
[ { "from": "human", "value": "Create a new React Native project via the `ignite` command" }, { "from": "gpt", "value": "`ignite new {{project_name}}`" } ]
[ { "from": "human", "value": "Generate file from a plugin via the `ignite` command" }, { "from": "gpt", "value": "`ignite generate {{plugin_name}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Add an Ignite plugin to the project via the `ignite` command" }, { "from": "gpt", "value": "`ignite add {{plugin_name}}`" } ]
[ { "from": "human", "value": "Remove an Ignite plugin from the project via the `ignite` command" }, { "from": "gpt", "value": "`ignite remove {{plugin_name}}`" } ]
[ { "from": "human", "value": "Tell me about `ilbmtoppm`." }, { "from": "gpt", "value": "Convert an ILBM file to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/ilbmtoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert an ILBM file to a PPM image via the `ilbmtoppm` command" }, { "from": "gpt", "value": "`ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Use the specified color to \"show through\" where the image is transparent via the `ilbmtoppm` command" }, { "from": "gpt", "value": "`ilbmtoppm {{[-t|-transparent]}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Ignore the chunk with the specified chunk ID via the `ilbmtoppm` command" }, { "from": "gpt", "value": "`ilbmtoppm {{[-ig|-ignore]}} {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Store the input's transparency information to the specified PBM file via the `ilbmtoppm` command" }, { "from": "gpt", "value": "`ilbmtoppm {{[-m|-maskfile]}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `imapsync`." }, { "from": "gpt", "value": "Email IMAP tool for syncing, copying and migrating email mailboxes between two IMAP servers, one way, and without duplicates.\nMore information: <https://imapsync.lamiral.info>.\n" } ]
[ { "from": "human", "value": "Synchronize IMAP account between host1 and host2 via the `imapsync` command" }, { "from": "gpt", "value": "`imapsync --host1 {{host1}} --user1 {{user1}} --password1 {{secret1}} --host2 {{host2}} --user2 {{user2}} --password2 {{secret2}}`" } ]
[ { "from": "human", "value": "Tell me about `img2pdf`." }, { "from": "gpt", "value": "Losslessly convert raster images to a PDF file.\nSome supported image formats are: GIF, JPEG, JPEG2000, PNG, GIF and TIFF.\nMore information: <https://gitlab.mister-muffin.de/josch/img2pdf>.\n" } ]
[ { "from": "human", "value": "Convert one or more images to a single PDF, each image being on its own page via the `img2pdf` command" }, { "from": "gpt", "value": "`img2pdf {{path/to/image1.ext path/to/image2.ext ...}} --output {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Convert only the first frame of a multi-frame image to PDF via the `img2pdf` command" }, { "from": "gpt", "value": "`img2pdf {{path/to/file.gif}} --first-frame-only --output {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically via the `img2pdf` command" }, { "from": "gpt", "value": "`img2pdf {{path/to/image.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}...
[ { "from": "human", "value": "Shrink only larger images to a rectangle of specified dimensions inside a page with a specific size via the `img2pdf` command" }, { "from": "gpt", "value": "`img2pdf {{path/to/image.ext}} --pagesize {{30cm}}x{{20cm}} --imgsize {{10cm}}x{{15cm}} --fit {{shrink}} --out...
[ { "from": "human", "value": "Convert an image to PDF, and specify metadata for the resulting file via the `img2pdf` command" }, { "from": "gpt", "value": "`img2pdf {{path/to/image.ext}} --title {{title}} --author {{author}} --creationdate {{1970-01-31}} --keywords {{keyword1 keyword2}} --subject...
[ { "from": "human", "value": "Tell me about `img2sixel`." }, { "from": "gpt", "value": "Convert images to the Sixel format for displaying in a terminal.\nMore information: <https://manned.org/img2sixel>.\n" } ]
[ { "from": "human", "value": "Display an image in the terminal via the `img2sixel` command" }, { "from": "gpt", "value": "`img2sixel {{path/to/image}}`" } ]
[ { "from": "human", "value": "Resize the image to the specified width and height before displaying it via the `img2sixel` command" }, { "from": "gpt", "value": "`img2sixel {{[-w|--width]}} {{number}} {{[-h|--height]}} {{number}} {{path/to/image}}`" } ]
[ { "from": "human", "value": "Tell me about `imgcat`." }, { "from": "gpt", "value": "Display images on the command-line.\nRequires a compatible terminal such as iTerm2.\nMore information: <https://github.com/danielgatis/imgcat>.\n" } ]
[ { "from": "human", "value": "Display an image on the command-line via the `imgcat` command" }, { "from": "gpt", "value": "`imgcat {{path/to/file}}`" } ]
[ { "from": "human", "value": "Tell me about `imgtoppm`." }, { "from": "gpt", "value": "Convert various image file formats to the PPM (Portable Pixmap) format.\nMore information: <https://netpbm.sourceforge.net/doc/imgtoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert an input image to PPM format via the `imgtoppm` command" }, { "from": "gpt", "value": "`imgtoppm {{path/to/input}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Display version via the `imgtoppm` command" }, { "from": "gpt", "value": "`imgtoppm {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `immich-cli`." }, { "from": "gpt", "value": "Immich has a command-line interface (CLI) that allows you to perform certain actions from the command-line.\nSee also: `immich-go`.\nMore information: <https://immich.app/docs/features/command-line-interface/...
[ { "from": "human", "value": "Authenticate to Immich server via the `immich-cli` command" }, { "from": "gpt", "value": "`immich login {{server_url/api}} {{server_key}}`" } ]
[ { "from": "human", "value": "Upload some image files via the `immich-cli` command" }, { "from": "gpt", "value": "`immich upload {{file1.jpg file2.jpg}}`" } ]
[ { "from": "human", "value": "Upload a directory including subdirectories via the `immich-cli` command" }, { "from": "gpt", "value": "`immich upload --recursive {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Create an album based on a directory via the `immich-cli` command" }, { "from": "gpt", "value": "`immich upload --album-name \"{{My summer holiday}}\" --recursive {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Skip assets matching a glob pattern via the `immich-cli` command" }, { "from": "gpt", "value": "`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Include hidden files via the `immich-cli` command" }, { "from": "gpt", "value": "`immich upload --include-hidden --recursive {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `immich-go`." }, { "from": "gpt", "value": "Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server.\nSee also: `immich-cli`.\nMore information: <https://github.com/simulot/immich-go>.\...
[ { "from": "human", "value": "Upload a Google Photos takeout file to Immich server via the `immich-go` command" }, { "from": "gpt", "value": "`immich-go -server={{server_url}} -key={{server_key}} upload {{path/to/takeout_file.zip}}`" } ]
[ { "from": "human", "value": "Import photos captured on June 2019, while auto-generating albums via the `immich-go` command" }, { "from": "gpt", "value": "`immich-go -server={{server_url}} -key={{server_key}} upload -create-albums -google-photos -date={{2019-06}} {{path/to/takeout_file.zip}}`" ...
[ { "from": "human", "value": "Upload a takeout file using server and key from a config file via the `immich-go` command" }, { "from": "gpt", "value": "`immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{path/to/takeout_file.zip}}`" } ]
[ { "from": "human", "value": "Examine Immich server content, remove less quality images, and preserve albums via the `immich-go` command" }, { "from": "gpt", "value": "`immich-go -server={{server_url}} -key={{server_key}} duplicate -yes`" } ]
[ { "from": "human", "value": "Delete all albums created with the pattern \"YYYY-MM-DD\" via the `immich-go` command" }, { "from": "gpt", "value": "`immich-go -server={{server_url}} -key={{server_key}} tool album delete {{\\d{4}-\\d{2}-\\d{2}}}`" } ]
[ { "from": "human", "value": "Tell me about `impacket-GetADUsers`." }, { "from": "gpt", "value": "This command is an alias of `GetADUsers.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-getadusers` command" }, { "from": "gpt", "value": "`tldr GetADUsers.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-getArch`." }, { "from": "gpt", "value": "This command is an alias of `getArch.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-getarch` command" }, { "from": "gpt", "value": "`tldr getArch.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-GetNPUsers`." }, { "from": "gpt", "value": "This command is an alias of `GetNPUsers.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-getnpusers` command" }, { "from": "gpt", "value": "`tldr GetNPUsers.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-GetUserSPNs`." }, { "from": "gpt", "value": "This command is an alias of `GetUserSPNs.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-getuserspns` command" }, { "from": "gpt", "value": "`tldr GetUserSPNs.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-mssqlclient`." }, { "from": "gpt", "value": "This command is an alias of `mssqlclient.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-mssqlclient` command" }, { "from": "gpt", "value": "`tldr mssqlclient.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-rpcdump`." }, { "from": "gpt", "value": "This command is an alias of `rpcdump.py`.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-rpcdump` command" }, { "from": "gpt", "value": "`tldr rpcdump.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-rpcmap`." }, { "from": "gpt", "value": "This command is an alias of `rpcmap.py`.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-rpcmap` command" }, { "from": "gpt", "value": "`tldr rpcmap.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-secretsdump`." }, { "from": "gpt", "value": "This command is an alias of `secretsdump.py`.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-secretsdump` command" }, { "from": "gpt", "value": "`tldr secretsdump.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-sniffer`." }, { "from": "gpt", "value": "This command is an alias of `sniffer.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-sniffer` command" }, { "from": "gpt", "value": "`tldr sniffer.py`" } ]
[ { "from": "human", "value": "Tell me about `impacket-sniff`." }, { "from": "gpt", "value": "This command is an alias of `sniff.py`.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `impacket-sniff` command" }, { "from": "gpt", "value": "`tldr sniff.py`" } ]
[ { "from": "human", "value": "Tell me about `import`." }, { "from": "gpt", "value": "This command is an alias of `magick import`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `import` command" }, { "from": "gpt", "value": "`tldr magick import`" } ]
[ { "from": "human", "value": "Tell me about `in2csv`." }, { "from": "gpt", "value": "Convert various tabular data formats to CSV.\nIncluded in csvkit.\nMore information: <https://csvkit.readthedocs.io/en/latest/scripts/in2csv.html>.\n" } ]
[ { "from": "human", "value": "Convert an XLS file to CSV via the `in2csv` command" }, { "from": "gpt", "value": "`in2csv {{data.xls}}`" } ]
[ { "from": "human", "value": "Convert a DBF file to a CSV file via the `in2csv` command" }, { "from": "gpt", "value": "`in2csv {{data.dbf}} > {{data.csv}}`" } ]
[ { "from": "human", "value": "Convert a specific sheet from an XLSX file to CSV via the `in2csv` command" }, { "from": "gpt", "value": "`in2csv --sheet={{sheet_name}} {{data.xlsx}}`" } ]
[ { "from": "human", "value": "Pipe a JSON file to in2csv via the `in2csv` command" }, { "from": "gpt", "value": "`cat {{data.json}} | in2csv -f json > {{data.csv}}`" } ]
[ { "from": "human", "value": "Tell me about `incus`." }, { "from": "gpt", "value": "Modern, secure and powerful system container and virtual machine manager.\nMore information: <https://linuxcontainers.org/incus/docs/main>.\n" } ]
[ { "from": "human", "value": "List all containers and virtual machines (both running and stopped) via the `incus` command" }, { "from": "gpt", "value": "`incus list`" } ]
[ { "from": "human", "value": "Create a container from an image, with a custom name via the `incus` command" }, { "from": "gpt", "value": "`incus create {{image}} {{container_name}}`" } ]
[ { "from": "human", "value": "Start or stop an existing container via the `incus` command" }, { "from": "gpt", "value": "`incus {{start|stop}} {{container_name}}`" } ]
[ { "from": "human", "value": "Open a shell inside an already running container via the `incus` command" }, { "from": "gpt", "value": "`incus shell {{container_name}}`" } ]