conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Extract the password hash using [o]nly a specific compressed file"
},
{
"from": "gpt",
"value": "zip2john -o path/to/compressed_file path/to/file.zip"
}
] |
[
{
"from": "human",
"value": "Extract the password hash from a compressed file to a specific file (for use with John the Ripper)"
},
{
"from": "gpt",
"value": "zip2john -o path/to/compressed_file path/to/file.zip > file.hash"
}
] |
[
{
"from": "human",
"value": "Compile a `.java` file"
},
{
"from": "gpt",
"value": "javac path/to/file.java"
}
] |
[
{
"from": "human",
"value": "Compile several `.java` files"
},
{
"from": "gpt",
"value": "javac path/to/file1.java path/to/file2.java ..."
}
] |
[
{
"from": "human",
"value": "Compile all `.java` files in current directory"
},
{
"from": "gpt",
"value": "javac *.java"
}
] |
[
{
"from": "human",
"value": "Compile a `.java` file and place the resulting class file in a specific directory"
},
{
"from": "gpt",
"value": "javac -d path/to/directory path/to/file.java"
}
] |
[
{
"from": "human",
"value": "Create a shell script that when executed extracts the given files from itself"
},
{
"from": "gpt",
"value": "shar [-V|--vanilla-operation] path/to/file1 path/to/file2 ... > path/to/archive.sh"
}
] |
[
{
"from": "human",
"value": "Compress the files in the archive"
},
{
"from": "gpt",
"value": "shar [-C|--compactor] xz path/to/file1 path/to/file2 ... > path/to/archive.sh"
}
] |
[
{
"from": "human",
"value": "Treat all files as binary (i.e. `uuencode` everything)"
},
{
"from": "gpt",
"value": "shar [-B|--uuencode] path/to/file1 path/to/file2 ... > path/to/archive.sh"
}
] |
[
{
"from": "human",
"value": "Treat all files as text (i.e. `uuencode` nothing)"
},
{
"from": "gpt",
"value": "shar [-T|--text-files] path/to/file1 path/to/file2 ... > path/to/archive.sh"
}
] |
[
{
"from": "human",
"value": "Include a name and cut mark in the header comment of the archive"
},
{
"from": "gpt",
"value": "shar [-n|--archive-name] \"My files\" [-c|--cut-mark] path/to/file1 path/to/file2 ... > path/to/archive.sh"
}
] |
[
{
"from": "human",
"value": "Run a process that can live beyond the terminal"
},
{
"from": "gpt",
"value": "nohup command argument1 argument2 ..."
}
] |
[
{
"from": "human",
"value": "Launch `nohup` in background mode"
},
{
"from": "gpt",
"value": "nohup command argument1 argument2 ... &"
}
] |
[
{
"from": "human",
"value": "Run a shell script that can live beyond the terminal"
},
{
"from": "gpt",
"value": "nohup path/to/script.sh &"
}
] |
[
{
"from": "human",
"value": "Run a process and write the output to a specific file"
},
{
"from": "gpt",
"value": "nohup command argument1 argument2 ... > path/to/output_file &"
}
] |
[
{
"from": "human",
"value": "Do a dry-run renaming a directory of PNGs with a literal string replacement"
},
{
"from": "gpt",
"value": "repren --dry-run --rename --literal --from 'find_string' --to 'replacement_string' *.png"
}
] |
[
{
"from": "human",
"value": "Do a dry-run renaming a directory of JPEGs with a regular expression"
},
{
"from": "gpt",
"value": "repren --rename --dry-run --from 'regular_expression' --to 'replacement_string' *.jpg *.jpeg"
}
] |
[
{
"from": "human",
"value": "Do a find-and-replace on the contents of a directory of CSV files"
},
{
"from": "gpt",
"value": "repren --from '([0-9]+) example_string' --to 'replacement_string \\1' *.csv"
}
] |
[
{
"from": "human",
"value": "Do both a find-and-replace and a rename operation at the same time, using a pattern file"
},
{
"from": "gpt",
"value": "repren --patterns path/to/patfile.ext --full *.txt"
}
] |
[
{
"from": "human",
"value": "Do a case-insensitive rename"
},
{
"from": "gpt",
"value": "repren --rename --insensitive --patterns path/to/patfile.ext *"
}
] |
[
{
"from": "human",
"value": "Search for lines beginning with a specific prefix in a specific file"
},
{
"from": "gpt",
"value": "look prefix path/to/file"
}
] |
[
{
"from": "human",
"value": "Case-insensitively search only on blank and alphanumeric characters"
},
{
"from": "gpt",
"value": "look [-f|--ignore-case] [-d|--alphanum] prefix path/to/file"
}
] |
[
{
"from": "human",
"value": "Specify a string termination character (space by default)"
},
{
"from": "gpt",
"value": "look [-t|--terminate] ,"
}
] |
[
{
"from": "human",
"value": "Search in `/usr/share/dict/words` (`--ignore-case` and `--alphanum` are assumed)"
},
{
"from": "gpt",
"value": "look prefix"
}
] |
[
{
"from": "human",
"value": "Search in `/usr/share/dict/web2` (`--ignore-case` and `--alphanum` are assumed)"
},
{
"from": "gpt",
"value": "look [-a|--alternative] prefix"
}
] |
[
{
"from": "human",
"value": "Start Arthas"
},
{
"from": "gpt",
"value": "java -jar path/to/arthas-boot.jar"
}
] |
[
{
"from": "human",
"value": "Reconnect Arthas (default port used by Arthas is 3658)"
},
{
"from": "gpt",
"value": "telnet localhost port_number"
}
] |
[
{
"from": "human",
"value": "Exit the current Arthas client without affecting other clients. equals `exit`、`logout`、`q` command"
},
{
"from": "gpt",
"value": "exit|quit|logout|q"
}
] |
[
{
"from": "human",
"value": "Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected"
},
{
"from": "gpt",
"value": "stop"
}
] |
[
{
"from": "human",
"value": "Verify the integrity of an image file (width, height, and color depth)"
},
{
"from": "gpt",
"value": "pngcheck path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Print information for an image with [c]olorized output"
},
{
"from": "gpt",
"value": "pngcheck -c path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Print [v]erbose information for an image"
},
{
"from": "gpt",
"value": "pngcheck -cvt path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Receive an image from `stdin` and display detailed information"
},
{
"from": "gpt",
"value": "cat path/to/image.png | pngcheck -cvt"
}
] |
[
{
"from": "human",
"value": "[s]earch for PNGs within a specific file and display information about them"
},
{
"from": "gpt",
"value": "pngcheck -s path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Search for PNGs within another file and e[x]tract them"
},
{
"from": "gpt",
"value": "pngcheck -x path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Uninstall a formula/cask"
},
{
"from": "gpt",
"value": "brew uninstall formula|cask"
}
] |
[
{
"from": "human",
"value": "Uninstall a cask and remove all associated files"
},
{
"from": "gpt",
"value": "brew uninstall --zap cask"
}
] |
[
{
"from": "human",
"value": "Add a package"
},
{
"from": "gpt",
"value": "ya pack -a package"
}
] |
[
{
"from": "human",
"value": "Upgrade all packages"
},
{
"from": "gpt",
"value": "ya pack -u"
}
] |
[
{
"from": "human",
"value": "Subscribe to messages from all remote instances"
},
{
"from": "gpt",
"value": "ya sub kinds"
}
] |
[
{
"from": "human",
"value": "Publish a message to the current instance with string body"
},
{
"from": "gpt",
"value": "ya pub --str string_message"
}
] |
[
{
"from": "human",
"value": "Publish a message to the current instance with JSON body"
},
{
"from": "gpt",
"value": "ya pub --json json_message"
}
] |
[
{
"from": "human",
"value": "Publish a message to the specified instance with string body"
},
{
"from": "gpt",
"value": "ya pub-to --str message receiver kind"
}
] |
[
{
"from": "human",
"value": "Update the changelog file and tag a release"
},
{
"from": "gpt",
"value": "standard-version"
}
] |
[
{
"from": "human",
"value": "Tag a release without bumping the version"
},
{
"from": "gpt",
"value": "standard-version --first-release"
}
] |
[
{
"from": "human",
"value": "Update the changelog and tag an alpha release"
},
{
"from": "gpt",
"value": "standard-version --prerelease alpha"
}
] |
[
{
"from": "human",
"value": "Update the changelog and tag a specific release type"
},
{
"from": "gpt",
"value": "standard-version --release-as major|minor|patch"
}
] |
[
{
"from": "human",
"value": "Tag a release, preventing hooks from being verified during the commit step"
},
{
"from": "gpt",
"value": "standard-version --no-verify"
}
] |
[
{
"from": "human",
"value": "Tag a release committing all staged changes, not just files affected by `standard-version`"
},
{
"from": "gpt",
"value": "standard-version --commit-all"
}
] |
[
{
"from": "human",
"value": "Update a specific changelog file and tag a release"
},
{
"from": "gpt",
"value": "standard-version --infile path/to/file.md"
}
] |
[
{
"from": "human",
"value": "Display the release that would be performed without performing them"
},
{
"from": "gpt",
"value": "standard-version --dry-run"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr tlmgr platform"
}
] |
[
{
"from": "human",
"value": "Create a new Python `virtualenv` in `$WORKON_HOME`"
},
{
"from": "gpt",
"value": "mkvirtualenv virtualenv_name"
}
] |
[
{
"from": "human",
"value": "Create a `virtualenv` for a specific Python version"
},
{
"from": "gpt",
"value": "mkvirtualenv --python /usr/local/bin/python3.8 virtualenv_name"
}
] |
[
{
"from": "human",
"value": "Activate or use a different `virtualenv`"
},
{
"from": "gpt",
"value": "workon virtualenv_name"
}
] |
[
{
"from": "human",
"value": "Stop the `virtualenv`"
},
{
"from": "gpt",
"value": "deactivate"
}
] |
[
{
"from": "human",
"value": "List all virtual environments"
},
{
"from": "gpt",
"value": "lsvirtualenv"
}
] |
[
{
"from": "human",
"value": "Remove a `virtualenv`"
},
{
"from": "gpt",
"value": "rmvirtualenv virtualenv_name"
}
] |
[
{
"from": "human",
"value": "Get summary of all virtualenvwrapper commands"
},
{
"from": "gpt",
"value": "virtualenvwrapper"
}
] |
[
{
"from": "human",
"value": "E[x]tract all members from an archive"
},
{
"from": "gpt",
"value": "ar x path/to/file.a"
}
] |
[
{
"from": "human",
"value": "Lis[t] contents in a specific archive"
},
{
"from": "gpt",
"value": "ar t path/to/file.ar"
}
] |
[
{
"from": "human",
"value": "[r]eplace or add specific files to an archive"
},
{
"from": "gpt",
"value": "ar r path/to/file.deb path/to/debian-binary path/to/control.tar.gz path/to/data.tar.xz ..."
}
] |
[
{
"from": "human",
"value": "In[s]ert an object file index (equivalent to using `ranlib`)"
},
{
"from": "gpt",
"value": "ar s path/to/file.a"
}
] |
[
{
"from": "human",
"value": "Create an archive with specific files and an accompanying object file index"
},
{
"from": "gpt",
"value": "ar rs path/to/file.a path/to/file1.o path/to/file2.o ..."
}
] |
[
{
"from": "human",
"value": "Display the man page for a command"
},
{
"from": "gpt",
"value": "man command"
}
] |
[
{
"from": "human",
"value": "Open the man page for a command in a browser (`BROWSER` environment variable can replace `=browser_name`)"
},
{
"from": "gpt",
"value": "man [-Hbrowser_name|--html=browser_name] command"
}
] |
[
{
"from": "human",
"value": "Display the man page for a command from section 7"
},
{
"from": "gpt",
"value": "man 7 command"
}
] |
[
{
"from": "human",
"value": "List all available sections for a command"
},
{
"from": "gpt",
"value": "man [-f|--whatis] command"
}
] |
[
{
"from": "human",
"value": "Display the path searched for manpages"
},
{
"from": "gpt",
"value": "man [-w|--path]"
}
] |
[
{
"from": "human",
"value": "Display the location of a manpage rather than the manpage itself"
},
{
"from": "gpt",
"value": "man [-w|--where] command"
}
] |
[
{
"from": "human",
"value": "Display the man page using a specific locale"
},
{
"from": "gpt",
"value": "man [-L|--locale] locale command"
}
] |
[
{
"from": "human",
"value": "Search for manpages containing a search string"
},
{
"from": "gpt",
"value": "man [-k|--apropos] \"search_string\""
}
] |
[
{
"from": "human",
"value": "List files one per line"
},
{
"from": "gpt",
"value": "exa --oneline"
}
] |
[
{
"from": "human",
"value": "List all files, including hidden files"
},
{
"from": "gpt",
"value": "exa --all"
}
] |
[
{
"from": "human",
"value": "Long format list (permissions, ownership, size and modification date) of all files"
},
{
"from": "gpt",
"value": "exa --long --all"
}
] |
[
{
"from": "human",
"value": "List files with the largest at the top"
},
{
"from": "gpt",
"value": "exa --reverse --sort=size"
}
] |
[
{
"from": "human",
"value": "Display a tree of files, three levels deep"
},
{
"from": "gpt",
"value": "exa --long --tree --level=3"
}
] |
[
{
"from": "human",
"value": "List files sorted by modification date (oldest first)"
},
{
"from": "gpt",
"value": "exa --long --sort=modified"
}
] |
[
{
"from": "human",
"value": "List files with their headers, icons, and Git statuses"
},
{
"from": "gpt",
"value": "exa --long --header --icons --git"
}
] |
[
{
"from": "human",
"value": "Don't list files mentioned in `.gitignore`"
},
{
"from": "gpt",
"value": "exa --git-ignore"
}
] |
[
{
"from": "human",
"value": "Create a torrent with 2^21 KB as the piece size"
},
{
"from": "gpt",
"value": "mktorrent -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Create a private torrent with a 2^21 KB piece size"
},
{
"from": "gpt",
"value": "mktorrent -p -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Create a torrent with a comment"
},
{
"from": "gpt",
"value": "mktorrent -c \"comment\" -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Create a torrent with multiple trackers"
},
{
"from": "gpt",
"value": "mktorrent -a tracker_announce_url,tracker_announce_url_2 -l 21 -o path/to/example.torrent path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Create a torrent with web seed URLs"
},
{
"from": "gpt",
"value": "mktorrent -a tracker_announce_url -w web_seed_url -l 21 -o path/to/example.torrent path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Initialize a new package with prompts"
},
{
"from": "gpt",
"value": "npm init"
}
] |
[
{
"from": "human",
"value": "Initialize a new package with default values"
},
{
"from": "gpt",
"value": "npm init -y"
}
] |
[
{
"from": "human",
"value": "Initialize a new package using a specific initializer"
},
{
"from": "gpt",
"value": "npm init create-react-app my-app"
}
] |
[
{
"from": "human",
"value": "Call a command and display its output if it returns a non-zero exit code"
},
{
"from": "gpt",
"value": "cronic command"
}
] |
[
{
"from": "human",
"value": "Scan a repository"
},
{
"from": "gpt",
"value": "astronomer tldr-pages/tldr-node-client"
}
] |
[
{
"from": "human",
"value": "Scan the maximum amount of stars in the repository"
},
{
"from": "gpt",
"value": "astronomer tldr-pages/tldr-node-client --stars 50"
}
] |
[
{
"from": "human",
"value": "Scan a repository including comparative reports"
},
{
"from": "gpt",
"value": "astronomer tldr-pages/tldr-node-client --verbose"
}
] |
[
{
"from": "human",
"value": "Start in interactive mode"
},
{
"from": "gpt",
"value": "gpg-card"
}
] |
[
{
"from": "human",
"value": "Invoke one or more commands non-interactively"
},
{
"from": "gpt",
"value": "gpg-card command1 -- command2 -- command3"
}
] |
[
{
"from": "human",
"value": "Show information about a smart card"
},
{
"from": "gpt",
"value": "gpg-card list"
}
] |
[
{
"from": "human",
"value": "Retrieve the public key using the URL stored on an OpenPGP card"
},
{
"from": "gpt",
"value": "gpg-card fetch"
}
] |
[
{
"from": "human",
"value": "Set the URL used by the `fetch` command"
},
{
"from": "gpt",
"value": "gpg-card url"
}
] |
[
{
"from": "human",
"value": "Change or unblock PINs (uses the default action for the card in non-interactive mode)"
},
{
"from": "gpt",
"value": "gpg-card passwd"
}
] |
[
{
"from": "human",
"value": "Toggle the forcesig flag of an OpenPGP card (i.e. require entering the user PIN for signing)"
},
{
"from": "gpt",
"value": "gpg-card forcesig"
}
] |
[
{
"from": "human",
"value": "Factory reset a smart card (i.e. delete all data and reset PINs)"
},
{
"from": "gpt",
"value": "gpg-card factory-reset"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.