Command index · 18 entries
Command reference
Risk labels describe common behavior, never a guarantee. The whole command and your environment determine the outcome.
18 commands found
Filled labels mark Destructive Elevated access Executes code Permissions. Every label is a reading cue, not a verdict.
pwdFind your bearingsPrint the current working directory. Relative paths in later commands start here.
Read-orientedlsSee what is hereList files and directories. The -a flag includes hidden entries; -l adds details.
Read-orientedcdMove through foldersChange the working directory of the current shell. cd .. moves to the parent directory.
Shell statecatRead a small fileWrite file contents to standard output. Multiple filenames are read in order.
Read-orientedheadPeek at the beginningPrint the first lines of a file. -n 20 asks for twenty lines.
Read-orientedtailWatch the endPrint the last lines. -f keeps watching as a file grows.
Read-orientedgrepFind matching linesSearch text for a pattern and print matching lines. -n includes line numbers.
Read-orientedfindLocate files preciselyWalk a directory tree and select entries using tests such as -name.
Context-sensitivemkdirMake a new directoryCreate a directory. -p creates missing parent directories as needed.
Changes filescpCopy with careCopy a file to a destination. Recursive options copy directory trees.
Changes filesmvMove or renameMove a file or rename it within a directory.
Changes filesrmRemove filesRemove named filesystem entries. -r descends into directories; -f suppresses some prompts and errors.
DestructivechmodChange permissionsChange who can read, write or execute a file.
PermissionssudoUse elevated authorityRun a permitted command as another user, commonly root, according to local policy.
Elevated accessgitUnderstand repository changesTrack and inspect versioned work. git status summarizes the working tree and staging area.
Context-sensitivecurlTalk to a URLTransfer data to or from a server. -I asks for response headers instead of the response body.
NetworknpmManage JavaScript packagesInstall dependencies and run scripts defined by a JavaScript project.
Executes codesshConnect to another machineOpen an encrypted connection to a remote host, often for an interactive shell.
Remote access