Jump to content

Cheatsheet/TACL: Difference between revisions

From wikiNonStop
Content deleted Content added
No edit summary
No edit summary
Line 13: Line 13:
| '''{{kbd|BUILTINS}}''' || typeset -F || || || Displays all TACL functions
| '''{{kbd|BUILTINS}}''' || typeset -F || || || Displays all TACL functions
|-
|-
| '''{{kbd|VARIABLES}} || typeset -F || || || Displays names of variables, macros and routines available for you
| '''{{kbd|VARIABLES}}'''|| typeset -F || || || Displays names of variables, macros and routines available for you
|-
|-
| '''{{kbd|FC}} || Example || doskey /h || || Retrieves, edits, and reexecutes lines in history
| '''{{kbd|FC}}''' || Example || doskey /h || || Retrieves, edits, and reexecutes lines in history
buffer. Works in many command line tools such as TACL, FUP or SCF
buffer. Works in many command line tools such as TACL, FUP or SCF
|-
|-
Line 28: Line 28:
{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
|+
|+
!TACL
! rowspan="2" |TACL
! rowspan="2" |Description
!*NIX
! colspan="3" |equvalent commands on
|-
!*NIX<ref>Bash</ref>
!WIN (cmd<ref>Command Interpreter (legacy)</ref>)
!WIN (cmd<ref>Command Interpreter (legacy)</ref>)
!WIN (PS<ref>Powershell</ref>)
!WIN (PS<ref>Powershell</ref>)
!Comment
|-
|-
|!
|!
|Reexecute a previous command line<ref>See Note 1</ref>
|{{key press|Up}} {{key press|Enter}}
|
|
|
|
|
|Reexecutes a previous command line<ref>See Note 1</ref>
|-
|-
|'''?'''
|'''?'''
|Display a previous command line<ref>See Note 2</ref>
|{{key press|Up}}
|
|
|
|
|
|Displays a previous command line<ref>See Note 2</ref>
|-
|-
|'''{{kbd|FC}}'''|||Retrieve lines for editing from a previous command line. Works in many interactive subsystems<ref>See Note 3</ref>
|'''{{kbd|FC}} '''
|Example
|Example
|doskey /h
|doskey /h
|
|
|Retrieve lines for editing from history buffer. Works in many interactive subsystems<ref>See Note 3</ref>
|-
|-
|'''<kbd>HISTORY</kbd>'''
|'''{{kbd|HISTORY}}'''
|Display list of previously issued command lines<ref>parameter <number> 1-99</ref>
|history
|history
|{{button|F7}}
|{{button|F7}}
|history
|history
|Displays list of previously issued command lines<ref>parameter <number> 1-99</ref>
|-
|-
|'''{{kbd|ENV}}'''
|'''{{kbd|ENV}}'''
|Displays settings of (TACL) environmental parameters
|env
|env
|set
|set
|gci env:*
|gci env:*
|Displays settings of (TACL) environmental parameters
|-
|-
|'''{{kbd|BUILTINS}}'''
|'''{{kbd|BUILTINS}}'''
|Displays all TACL functions
|typeset -F
|typeset -F
|help
|help
|Get-Command
|Get-Command
|Displays all TACL functions
|-
|-
|'''{{kbd|VARIABLES}} '''
|'''{{kbd|VARIABLES}}'''
|Displays names of available variables, macros and routines in your environment
|set -o posix
|set&nbsp;&hyphen;o&nbsp;posix
|
|
|
|
|Displays names of available variables, macros and routines in your environment
|}
|}

Revision as of 13:01, 28 April 2026

Caption text
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]
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
  1. Bash
  2. Command Interpreter (legacy)
  3. Powershell
  4. See Note 1
  5. See Note 2
  6. See Note 3
  7. parameter <number> 1-99