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"
{| class="wikitable" <!--style="white-space: nowrap;"-->
|+ TACL Basic Commands
|+ Caption text
|-
|-
! Command
! Command
Line 47: Line 47:
|-
|-
| '''{{kbd|PMSEARCH}}'''||{{code|inline=y|echo "$PATH"}}||{{code|inline=y|set path}} ||{{code|inline=y|$env:path}}
| '''{{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
| Display paths to be searched for executables or macros
|-
|-
| '''{{kbd|WHO}}''' || {{code|inline=y|whoami}} || {{code|inline=y|whoami}} || {{code|inline=y|whoami}}
| '''{{kbd|SETPROMPT&nbsp;ALL}}'''||{{code|inline=y|PS1{{=}}'\h(\u)\W>'}}||{{code|inline=y|prompt $p$g}} ||{{n/a}}
| Set promptline's prefix
| Display info for user
|}



{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
|+
! rowspan="2" |TACL
! rowspan="2" |Description
! colspan="3" |equvalent commands on
|-
|-
| '''{{kbd|STATUS}}'''||{{code|inline=y|ps}}||{{code|inline=y|tasklist}} ||{{code|inline=y|Get-Process}}
!*NIX <ref name="*NIX" group="BASH">BASH</ref>
| Display status of running processes
!WIN cmd<ref name="CMD" group="CMD">Command Interpreter (legacy)</ref>
!WIN PS <ref name="PowerShell" group="PS">PowerShell</ref>
|-
|-
| '''{{kbd|STOP}}'''||{{code|inline=y|kill}}||{{code|inline=y|taskkill}} ||{{code|inline=y|Stop-Process}}
|!
| Stop running process
|Reexecute a previous command line
|{{key press|Up}} {{key press|Enter}}
|{{key press|Up}} {{key press|Enter}}
|{{key press|Up}} {{key press|Enter}}
|-
|-
| '''{{kbd|VOLUME}}'''||{{code|inline=y|cd}}||{{code|inline=y|cd}} ||{{code|inline=y|cd}}
|'''?'''
| Changes your current volume and/or subvolume
|Display a previous command line
|{{key press|Up}}
|
|{{Key press|r [#]}}<ref group="PS">invoke-history</ref>
|-
|-
| '''{{kbd|WHO}}''' || {{code|inline=y|whoami}} || {{code|inline=y|whoami}} || {{code|inline=y|whoami}}
|'''{{kbd|FC}}'''|||Retrieve lines for editing from a previous command line.<ref>See Note 3</ref>
| Display info for user
|Example
|doskey /h
|
|-
|'''{{kbd|HISTORY}}'''
|Display list of previously issued command lines<ref>parameter <number> 1-99</ref>
|history
|{{button|F7}}
|history
|-
|'''{{kbd|ENV}}'''
|Displays settings of (TACL) environmental parameters
|env
|set
|gci env:*
|-
|'''{{kbd|BUILTINS}}'''
|Displays all TACL functions
|typeset -F
|help
|Get-Command
|-
|'''{{kbd|VARIABLES}}'''
|Displays names of available variables, macros and routines
|set&nbsp;&hyphen;o&nbsp;posix
|
|
|-
|'''{{Kbd|WHO}}'''
|Info for current user
|whoami
|whoami
|whoami
|-
|'''{{Kbd|SYSINFO}}'''
|Info for System
|cat /etc/*-release
|systeminfo
|systeminfo
|-
|'''{{Kbd|FILES}}'''
|List files in current directory
|ls
|dir /B
|ls -Name
|-
|'''{{Kbd|ASSIGN}}'''
|List defined ASSIGNS
|
|
|
|-
|'''{{Kbd|INFO DEFINE}}'''
|List defined Defines
|
|
|
|-
|'''{{Kbd|PARAM}}'''
|List defined Params
|
|
|

|}
|}



<references/>
<references/>
=== BASH ===
<references group="BASH"/>

=== CMD ===
<references group="CMD"/>

=== Powershell ===
<references group="PS"/>

Revision as of 19:40, 1 May 2026

Tacl Cheatsheet

TACL Basic Commands
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
SETPROMPT ALL PS1='\h(\u)\W>' prompt $p$g N/A Set promptline's prefix
STATUS ps tasklist Get-Process Display status of running processes
STOP kill taskkill Stop-Process Stop running process
VOLUME cd cd cd Changes your current volume and/or subvolume
WHO whoami whoami whoami Display info for user