# tty.help Educational field guide, not execution authorization or a safety oracle. ## Content - [Structured catalog](https://tty.help/catalog.json) - [pwd](https://tty.help/commands/pwd/): Print the current working directory. Relative paths in later commands start here. - [ls](https://tty.help/commands/ls/): List files and directories. The -a flag includes hidden entries; -l adds details. - [cd](https://tty.help/commands/cd/): Change the working directory of the current shell. cd .. moves to the parent directory. - [cat](https://tty.help/commands/cat/): Write file contents to standard output. Multiple filenames are read in order. - [head](https://tty.help/commands/head/): Print the first lines of a file. -n 20 asks for twenty lines. - [tail](https://tty.help/commands/tail/): Print the last lines. -f keeps watching as a file grows. - [grep](https://tty.help/commands/grep/): Search text for a pattern and print matching lines. -n includes line numbers. - [find](https://tty.help/commands/find/): Walk a directory tree and select entries using tests such as -name. - [mkdir](https://tty.help/commands/mkdir/): Create a directory. -p creates missing parent directories as needed. - [cp](https://tty.help/commands/cp/): Copy a file to a destination. Recursive options copy directory trees. - [mv](https://tty.help/commands/mv/): Move a file or rename it within a directory. - [rm](https://tty.help/commands/rm/): Remove named filesystem entries. -r descends into directories; -f suppresses some prompts and errors. - [chmod](https://tty.help/commands/chmod/): Change who can read, write or execute a file. - [sudo](https://tty.help/commands/sudo/): Run a permitted command as another user, commonly root, according to local policy. - [git](https://tty.help/commands/git/): Track and inspect versioned work. git status summarizes the working tree and staging area. - [curl](https://tty.help/commands/curl/): Transfer data to or from a server. -I asks for response headers instead of the response body. - [npm](https://tty.help/commands/npm/): Install dependencies and run scripts defined by a JavaScript project. - [ssh](https://tty.help/commands/ssh/): Open an encrypted connection to a remote host, often for an interactive shell. - [Read a command before you run it](https://tty.help/learn/read-a-command/): A calm, repeatable way to turn a wall of terminal text into a decision. - [Pipes are plumbing, not magic](https://tty.help/learn/pipes-and-redirection/): Follow data through pipes, files, and error streams without losing the plot. - [“Safe” depends on the situation](https://tty.help/learn/risk-is-context/): Learn the questions that matter more than a green badge. - [A better conversation with your agent](https://tty.help/learn/agent-terminal-checklist/): Keep the speed of an agent without giving up understanding or control. - [Small syntax, big consequences](https://tty.help/learn/shell-power-tools/): Understand quoting, exit codes, expansion and the edges of simple explanations.