conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Tell me about `nkf`."
},
{
"from": "gpt",
"value": "Network kanji filter: convert kanji code from one encoding to another.\nMore information: <https://manned.org/nkf>.\n"
}
] |
[
{
"from": "human",
"value": "Convert to UTF-8 encoding via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -w {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Convert to SHIFT_JIS encoding via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -s {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Convert to UTF-8 encoding and overwrite the file via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -w --overwrite {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Use LF as the new line code and overwrite (UNIX type) via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -d --overwrite {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Use CRLF as the new line code and overwrite (windows type) via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -c --overwrite {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Decrypt mime file and overwrite via the `nkf` command"
},
{
"from": "gpt",
"value": "`nkf -m --overwrite {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nl`."
},
{
"from": "gpt",
"value": "Number lines from a file or from `stdin`.\nMore information: <https://manned.org/nl.1p>.\n"
}
] |
[
{
"from": "human",
"value": "Number non-blank lines in a file via the `nl` command"
},
{
"from": "gpt",
"value": "`nl {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Read from `stdin` via the `nl` command"
},
{
"from": "gpt",
"value": "`{{command}} | nl -`"
}
] |
[
{
"from": "human",
"value": "Number [a]ll [b]ody lines including blank lines or do [n]ot number [b]ody lines via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -b {{a|n}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Number only the [b]ody lines that match a basic regular expression (BRE) [p]attern via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -b p'FooBar[0-9]' {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific [i]ncrement for line numbering via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -i {{increment}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Specify the line numbering format to [r]ight or [l]eft justified, keeping leading [z]eros or [n]ot via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -n {{rz|ln|rn}}`"
}
] |
[
{
"from": "human",
"value": "Specify the line numbering's [w]idth (6 by default) via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -w {{col_width}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific string to [s]eparate the line numbers from the lines (TAB by default) via the `nl` command"
},
{
"from": "gpt",
"value": "`nl -s {{separator}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nload`."
},
{
"from": "gpt",
"value": "Visualize network usage in the terminal.\nMore information: <https://github.com/rolandriegel/nload>.\n"
}
] |
[
{
"from": "human",
"value": "View all network traffic (use the `<ArrowKeys>` to switch interfaces) via the `nload` command"
},
{
"from": "gpt",
"value": "`nload`"
}
] |
[
{
"from": "human",
"value": "View network traffic on specific interfaces (use the `<ArrowKeys>` to switch interfaces) via the `nload` command"
},
{
"from": "gpt",
"value": "`nload devices {{interface_one}} {{interface_two}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nmap`."
},
{
"from": "gpt",
"value": "Network exploration tool and security/port scanner.\nSome features (e.g. SYN scan) activate only when `nmap` is run with root privileges.\nMore information: <https://nmap.org/book/man.html>.\n"
}
] |
[
{
"from": "human",
"value": "Scan the top 1000 ports of a remote host with various [v]erbosity levels via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap -v{{1|2|3}} {{ip_or_hostname}}`"
}
] |
[
{
"from": "human",
"value": "Run a ping sweep over an entire subnet or individual hosts very aggressively via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap -T5 -sn {{192.168.0.0/24|ip_or_hostname1,ip_or_hostname2,...}}`"
}
] |
[
{
"from": "human",
"value": "Enable OS detection, version detection, script scanning, and traceroute of hosts from a file via the `nmap` command"
},
{
"from": "gpt",
"value": "`sudo nmap -A -iL {{path/to/file.txt}}`"
}
] |
[
{
"from": "human",
"value": "Scan a specific list of ports (use `-p-` for all ports from 1 to 65535) via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap -p {{port1,port2,...}} {{ip_or_host1,ip_or_host2,...}}`"
}
] |
[
{
"from": "human",
"value": "Perform service and version detection of the top 1000 ports using default NSE scripts, writing results (`-oA`) to output files via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap -sC -sV -oA {{top-1000-ports}} {{ip_or_host1,ip_or_host2,...}}`"
}
] |
[
{
"from": "human",
"value": "Scan target(s) carefully using `default and safe` NSE scripts via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap --script \"default and safe\" {{ip_or_host1,ip_or_host2,...}}`"
}
] |
[
{
"from": "human",
"value": "Scan for web servers running on standard ports 80 and 443 using all available `http-*` NSE scripts via the `nmap` command"
},
{
"from": "gpt",
"value": "`nmap --script \"http-*\" {{ip_or_host1,ip_or_host2,...}} -p 80,443`"
}
] |
[
{
"from": "human",
"value": "Attempt evading IDS/IPS detection by using an extremely slow scan (`-T0`), decoy source addresses (`-D`), [f]ragmented packets, random data and other methods via the `nmap` command"
},
{
"from": "gpt",
"value": "`sudo nmap -T0 -D {{decoy_ip1,decoy_ip2,...}} --source-... |
[
{
"from": "human",
"value": "Tell me about `nmblookup`."
},
{
"from": "gpt",
"value": "Discover SMB shares.\nMore information: <https://www.samba.org/samba/docs/current/man-html/nmblookup.1.html>.\n"
}
] |
[
{
"from": "human",
"value": "Find hosts in the local network with SMB shares via the `nmblookup` command"
},
{
"from": "gpt",
"value": "`nmblookup -S '*'`"
}
] |
[
{
"from": "human",
"value": "Find hosts in the local network with SMB shares run by SAMBA via the `nmblookup` command"
},
{
"from": "gpt",
"value": "`nmblookup --status __SAMBA__`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nm-classic`."
},
{
"from": "gpt",
"value": "This command is an alias of `nm`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `nm-classic` command"
},
{
"from": "gpt",
"value": "`tldr nm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `n`."
},
{
"from": "gpt",
"value": "Manage multiple node versions.\nMore information: <https://github.com/tj/n>.\n"
}
] |
[
{
"from": "human",
"value": "Install a given version of node. If the version is already installed, it will be activated via the `n` command"
},
{
"from": "gpt",
"value": "`n {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display installed versions and interactively activate one of them via the `n` command"
},
{
"from": "gpt",
"value": "`n`"
}
] |
[
{
"from": "human",
"value": "Remove a version via the `n` command"
},
{
"from": "gpt",
"value": "`n rm {{version}}`"
}
] |
[
{
"from": "human",
"value": "Execute a file with a given version via the `n` command"
},
{
"from": "gpt",
"value": "`n use {{version}} {{file.js}}`"
}
] |
[
{
"from": "human",
"value": "Output binary path for a version via the `n` command"
},
{
"from": "gpt",
"value": "`n bin {{version}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nm`."
},
{
"from": "gpt",
"value": "List symbol names in object files.\nMore information: <https://manned.org/nm>.\n"
}
] |
[
{
"from": "human",
"value": "List global (extern) functions in a file (prefixed with T) via the `nm` command"
},
{
"from": "gpt",
"value": "`nm -g {{path/to/file.o}}`"
}
] |
[
{
"from": "human",
"value": "List only undefined symbols in a file via the `nm` command"
},
{
"from": "gpt",
"value": "`nm -u {{path/to/file.o}}`"
}
] |
[
{
"from": "human",
"value": "List all symbols, even debugging symbols via the `nm` command"
},
{
"from": "gpt",
"value": "`nm -a {{path/to/file.o}}`"
}
] |
[
{
"from": "human",
"value": "Demangle C++ symbols (make them readable) via the `nm` command"
},
{
"from": "gpt",
"value": "`nm --demangle {{path/to/file.o}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nms`."
},
{
"from": "gpt",
"value": "Command-line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`.\nMore information: <https://github.com/bartobri/no-more-secrets>.\n"
}
] |
[
{
"from": "human",
"value": "Decrypt text after a keystroke via the `nms` command"
},
{
"from": "gpt",
"value": "`echo \"{{Hello, World!}}\" | nms`"
}
] |
[
{
"from": "human",
"value": "Decrypt output immediately, without waiting for a keystroke via the `nms` command"
},
{
"from": "gpt",
"value": "`{{ls -la}} | nms -a`"
}
] |
[
{
"from": "human",
"value": "Decrypt the content of a file, with a custom output color via the `nms` command"
},
{
"from": "gpt",
"value": "`cat {{path/to/file}} | nms -a -f {{blue|white|yellow|black|magenta|green|red}}`"
}
] |
[
{
"from": "human",
"value": "Clear the screen before decrypting via the `nms` command"
},
{
"from": "gpt",
"value": "`{{command}} | nms -a -c`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nnn`."
},
{
"from": "gpt",
"value": "Interactive terminal file manager and disk usage analyzer.\nMore information: <https://github.com/jarun/nnn/wiki/Usage#program-options>.\n"
}
] |
[
{
"from": "human",
"value": "Open the current directory (or specify one as the first argument) via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn`"
}
] |
[
{
"from": "human",
"value": "Start in detailed mode via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn -d`"
}
] |
[
{
"from": "human",
"value": "Show hidden files via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn -H`"
}
] |
[
{
"from": "human",
"value": "Open an existing bookmark (defined in the `NNN_BMS` environment variable) via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn -b {{bookmark_name}}`"
}
] |
[
{
"from": "human",
"value": "Sort files on [a]pparent disk usage / [d]isk usage / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn -T {{a|d|e|r|s|t|v}}`"
}
] |
[
{
"from": "human",
"value": "Open a file you have selected. Select the file then press `<o>`, and type a program to open the file in via the `nnn` command"
},
{
"from": "gpt",
"value": "`nnn -o`"
}
] |
[
{
"from": "human",
"value": "Tell me about `node`."
},
{
"from": "gpt",
"value": "Server-side JavaScript platform (Node.js).\nMore information: <https://nodejs.org>.\n"
}
] |
[
{
"from": "human",
"value": "Run a JavaScript file via the `node` command"
},
{
"from": "gpt",
"value": "`node {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) via the `node` command"
},
{
"from": "gpt",
"value": "`node`"
}
] |
[
{
"from": "human",
"value": "Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+) via the `node` command"
},
{
"from": "gpt",
"value": "`node --watch {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Evaluate JavaScript code by passing it as an argument via the `node` command"
},
{
"from": "gpt",
"value": "`node -e \"{{code}}\"`"
}
] |
[
{
"from": "human",
"value": "Evaluate and print the result, useful to print node's dependencies versions via the `node` command"
},
{
"from": "gpt",
"value": "`node -p \"process.versions\"`"
}
] |
[
{
"from": "human",
"value": "Activate inspector, pausing execution until a debugger is connected once source code is fully parsed via the `node` command"
},
{
"from": "gpt",
"value": "`node --no-lazy --inspect-brk {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nodemon`."
},
{
"from": "gpt",
"value": "Watch files and automatically restart a node application when changes are detected.\nMore information: <https://nodemon.io>.\n"
}
] |
[
{
"from": "human",
"value": "Execute the specified file and watch a specific file for changes via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon {{path/to/file.js}}`"
}
] |
[
{
"from": "human",
"value": "Manually restart nodemon (note nodemon must already be active for this to work) via the `nodemon` command"
},
{
"from": "gpt",
"value": "`rs`"
}
] |
[
{
"from": "human",
"value": "Ignore specific files via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon --ignore {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Pass arguments to the node application via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon {{path/to/file.js}} {{arguments}}`"
}
] |
[
{
"from": "human",
"value": "Pass arguments to node itself if they're not nodemon arguments already (e.g. `--inspect`) via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon {{arguments}} {{path/to/file.js}}`"
}
] |
[
{
"from": "human",
"value": "Run an arbitrary non-node script via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon --exec \"{{command_to_run_script}} {{options}}\" {{path/to/script}}`"
}
] |
[
{
"from": "human",
"value": "Run a Python script via the `nodemon` command"
},
{
"from": "gpt",
"value": "`nodemon --exec \"python {{options}}\" {{path/to/file.py}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nodenv`."
},
{
"from": "gpt",
"value": "Manage Node.js versions.\nMore information: <https://github.com/nodenv/nodenv>.\n"
}
] |
[
{
"from": "human",
"value": "Install a specific version of Node.js via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv install {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display a list of available versions via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv install --list`"
}
] |
[
{
"from": "human",
"value": "Use a specific version of Node.js across the whole system via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv global {{version}}`"
}
] |
[
{
"from": "human",
"value": "Use a specific version of Node.js with a directory via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv local {{version}}`"
}
] |
[
{
"from": "human",
"value": "Display the Node.js version for the current directory via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv version`"
}
] |
[
{
"from": "human",
"value": "Display the location of a Node.js installed command (e.g. `npm`) via the `nodenv` command"
},
{
"from": "gpt",
"value": "`nodenv which {{command}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nohup`."
},
{
"from": "gpt",
"value": "Allows for a process to live when the terminal gets killed.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/nohup-invocation.html>.\n"
}
] |
[
{
"from": "human",
"value": "Run a process that can live beyond the terminal via the `nohup` command"
},
{
"from": "gpt",
"value": "`nohup {{command}} {{argument1 argument2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Launch `nohup` in background mode via the `nohup` command"
},
{
"from": "gpt",
"value": "`nohup {{command}} {{argument1 argument2 ...}} &`"
}
] |
[
{
"from": "human",
"value": "Run a shell script that can live beyond the terminal via the `nohup` command"
},
{
"from": "gpt",
"value": "`nohup {{path/to/script.sh}} &`"
}
] |
[
{
"from": "human",
"value": "Run a process and write the output to a specific file via the `nohup` command"
},
{
"from": "gpt",
"value": "`nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nokogiri`."
},
{
"from": "gpt",
"value": "An HTML, XML, SAX and Reader parser.\nMore information: <https://nokogiri.org>.\n"
}
] |
[
{
"from": "human",
"value": "Parse the contents of a URL or file via the `nokogiri` command"
},
{
"from": "gpt",
"value": "`nokogiri {{url|path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Parse as a specific type via the `nokogiri` command"
},
{
"from": "gpt",
"value": "`nokogiri {{url|path/to/file}} --type {{xml|html}}`"
}
] |
[
{
"from": "human",
"value": "Load a specific initialization file before parsing via the `nokogiri` command"
},
{
"from": "gpt",
"value": "`nokogiri {{url|path/to/file}} -C {{path/to/config_file}}`"
}
] |
[
{
"from": "human",
"value": "Parse using a specific encoding via the `nokogiri` command"
},
{
"from": "gpt",
"value": "`nokogiri {{url|path/to/file}} --encoding {{encoding}}`"
}
] |
[
{
"from": "human",
"value": "Validate using a RELAX NG file via the `nokogiri` command"
},
{
"from": "gpt",
"value": "`nokogiri {{url|path/to/file}} --rng {{url|path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nomad`."
},
{
"from": "gpt",
"value": "Distributed, highly available, datacenter-aware scheduler.\nMore information: <https://www.nomadproject.io/docs/commands/>.\n"
}
] |
[
{
"from": "human",
"value": "Show the status of nodes in the cluster via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad node status`"
}
] |
[
{
"from": "human",
"value": "Validate a job file via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad job validate {{path/to/file.nomad}}`"
}
] |
[
{
"from": "human",
"value": "Plan a job for execution on the cluster via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad job plan {{path/to/file.nomad}}`"
}
] |
[
{
"from": "human",
"value": "Run a job on the cluster via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad job run {{path/to/file.nomad}}`"
}
] |
[
{
"from": "human",
"value": "Show the status of jobs currently running on the cluster via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad job status`"
}
] |
[
{
"from": "human",
"value": "Show the detailed status information about a specific job via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad job status {{job_name}}`"
}
] |
[
{
"from": "human",
"value": "Follow the logs of a specific allocation via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad alloc logs {{alloc_id}}`"
}
] |
[
{
"from": "human",
"value": "Show the status of storage volumes via the `nomad` command"
},
{
"from": "gpt",
"value": "`nomad volume status`"
}
] |
[
{
"from": "human",
"value": "Tell me about `nop`."
},
{
"from": "gpt",
"value": "Check validity and pretty-print graphs in canonical format.\nGraphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`.\nMore information: <ht... |
[
{
"from": "human",
"value": "Pretty-print one or more graphs in canonical format via the `nop` command"
},
{
"from": "gpt",
"value": "`nop {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.