Cheatsheet/TACL: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 46: | Line 46: | ||
|{{key press|Up}} |
|{{key press|Up}} |
||
| |
| |
||
|<nowiki>invoke-history|r #</nowiki>{{Key press|r}} |
|||
| |
|||
|- |
|- |
||
|'''{{kbd|FC}}'''|||Retrieve lines for editing from a previous command line. Works in many interactive subsystems<ref>See Note 3</ref> |
|'''{{kbd|FC}}'''|||Retrieve lines for editing from a previous command line. Works in many interactive subsystems<ref>See Note 3</ref> |
||
Revision as of 13:26, 28 April 2026
| Command | *NIX | WIN (CMD) | WIN (PS) | Comment |
|---|---|---|---|---|
| WHO | whoami | whoami | whoami | get info for current user |
| HISTORY | history | F7 | history | Displays previously issued command lines |
| ENV | env | set | gci env:* | Displays settings of (TACL) environmental parameters |
| BUILTINS | typeset -F | Displays all TACL functions | ||
| VARIABLES | typeset -F | Displays names of variables, macros and routines available for you | ||
| FC | Example | doskey /h | Retrieves, edits, and reexecutes lines in history
buffer. Works in many command line tools such as TACL, FUP or SCF | |
| Example | Example | Example | Example | |
| Example | Example | Example | Example | |
| Example | Example | Example | Example | |
| Example | Example | Example | Example |
| TACL | Description | equvalent commands on | ||
|---|---|---|---|---|
| *NIX[1] | WIN (cmd[2]) | WIN (PS[3]) | ||
| ! | Reexecute a previous command line[4] | ↑ ↵ Enter | ||
| ? | Display a previous command line[5] | ↑ | invoke-history|r #r | |
| FC | Retrieve lines for editing from a previous command line. Works in many interactive subsystems[6] | Example | doskey /h | |
| HISTORY | Display list of previously issued command lines[7] | history | F7 | history |
| ENV | Displays settings of (TACL) environmental parameters | env | set | gci env:* |
| BUILTINS | Displays all TACL functions | typeset -F | help | Get-Command |
| VARIABLES | Displays names of available variables, macros and routines in your environment | set ‐o posix | ||