User:Maffblaster/Reference

Article description::A place where I store different command-line shortcuts and other things I reference often.

Mediawiki

 * ParserFunctions

bash
The following sections are select excerpts from the bash man page. They can be retrieved locally by reading. They useful contain command-line shortcuts and bash built-ins.

Search for  for the beginning of the section.

Line

 * + - Move cursor to the end of the line.
 * + - Move cursor to the beginning of the line.
 * +- - Move cursor to the first occurrence of the CHAR to the right.
 * +-- - Move cursor to the first occurrence of the CHAR to the left.
 * + - Move cursor forward one word.
 * + - Move cursor backward one word.

Directories

 * - Change to previous directory.
 * - Change to home directory.

Reset

 * + - Resets the

Deletion

 * + - Remove text relative to the cursor's current position to the beginning of the line.
 * + - Remove text relative to the cursor's current position to the end of the line.
 * + - Remove one word moving forward from the cursor's current position.
 * + - Remove one word moving backward from the cursor's current position.
 * + - Paste back deleted text.

History

 * + - Scroll backward through previous command history for the current session.
 * + - Scroll forward through next entry in command history for the current session
 * + - Reverse search through history (type parts of the command you remember).