Jump to content

Cheatsheet/TACL: Difference between revisions

From wikiNonStop
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
== Tacl Cheatsheet==
== Tacl Cheatsheet==

{| class="wikitable"
|+ Caption text
|-
! Command
! [[File:Gnu-bash-logo.svg|40px]]
! [[File:Windows icon.svg|20px]] cmd
! [[file:Windows icon.svg|20px]] PowerShell
! Description
|-
| '''{{kbd|!}}''' || {{key press|Up|Enter}} || {{key press|Up|Enter}} || {{key press|Up|Enter}}
| Reexecute previous command
|-
| '''{{kbd|?}}''' || {{key press|Up}} || {{key press|Up}} || {{key press|Up}}
| Display previous command
|-
| '''{{kbd|FC}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Display previous command for modifying
|-
| '''{{kbd|HISTORY}}''' || {{code|inline=y|history}} || {{code|inline=y|doskey /h}} || {{code|inline=y|history}}
| Display list of previously issued command lines
|-
| '''{{kbd|ENV}}''' || {{code|inline=y|env}} ||{{code|inline=y|env}} || {{code|inline=y|env}}
| Display environment
|-
| '''{{kbd|EOF!}}''' || {{key press|CTRL|y}} ||{{code|inline=y|env}} || {{code|inline=y|env}}
| Stop execution of command or tool
|-
| '''{{kbd|EXIT}}''' || {{code|inline=y|exit}} ||{{key press|CTRL|c}} || {{key press|CTRL|c}}
| Stop execution of command or tool
|-
| '''{{kbd|FILES}}''' || {{code|inline=y|ls}} || {{code|inline=y|dir /B}} || {{code|inline=y|ls -Name}}
| List files in current directory
|-
| '''{{kbd|FILEINFO}}'''|| {{code|inline=y|ls -lisa}}|| {{code|inline=y|dir}} || {{code|inline=y|ls}}
| List details for files in current directory
|-
| '''{{kbd|HELP}}''' || {{code|inline=y|man}} || {{code|inline=y|help}} || {{code|inline=y|help}}
| Help
|-
| '''{{kbd|LOGON}}''' || {{code|inline=y|logon}} || {{code|inline=y|logon}} || {{code|inline=y|logon}}
| Logon
|-
| '''{{kbd|PASSWORD}}'''|| {{code|inline=y|passwd}} || {{code|inline=y|passwd}} || {{code|inline=y|passwd}}
| Set or change password
|-
| '''{{kbd|PMSEARCH}}'''||{{code|inline=y|echo "$PATH"}}||{{code|inline=y|set path}} ||{{code|inline=y|$env:path}}
| display paths to be searched for executables or macros
|-
| '''{{kbd|WHO}}''' || {{code|inline=y|whoami}} || {{code|inline=y|whoami}} || {{code|inline=y|whoami}}
| Display info for user
|}




{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->

Revision as of 17:11, 1 May 2026

Tacl Cheatsheet

Caption text
Command cmd PowerShell Description
! +↵ Enter +↵ Enter +↵ Enter Reexecute previous command
? Display previous command
FC N/A N/A N/A Display previous command for modifying
HISTORY history doskey /h history Display list of previously issued command lines
ENV env env env Display environment
EOF! CTRL+y env env Stop execution of command or tool
EXIT exit CTRL+c CTRL+c Stop execution of command or tool
FILES ls dir /B ls -Name List files in current directory
FILEINFO ls -lisa dir ls List details for files in current directory
HELP man help help Help
LOGON logon logon logon Logon
PASSWORD passwd passwd passwd Set or change password
PMSEARCH echo "$PATH" set path $env:path display paths to be searched for executables or macros
WHO whoami whoami whoami Display info for user


TACL Description equvalent commands on
*NIX [BASH 1] WIN cmd[CMD 1] WIN PS [PS 1]
! Reexecute a previous command line ↵ Enter ↵ Enter ↵ Enter
? Display a previous command line r [#][PS 2]
FC Retrieve lines for editing from a previous command line.[1] Example doskey /h
HISTORY Display list of previously issued command lines[2] 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 set ‐o posix
WHO Info for current user whoami whoami whoami
SYSINFO Info for System cat /etc/*-release systeminfo systeminfo
FILES List files in current directory ls dir /B ls -Name
ASSIGN List defined ASSIGNS
INFO DEFINE List defined Defines
PARAM List defined Params
  1. See Note 3
  2. parameter <number> 1-99

BASH

  1. BASH

CMD

  1. Command Interpreter (legacy)

Powershell

  1. PowerShell
  2. invoke-history