Cheatsheet/TACL: Difference between revisions
Appearance
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 |
||
|- |
|- |
||
| '''{{kbd| |
| '''{{kbd|SETPROMPT 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 ‐o 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