help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

$HISTCMD in command substitution?


From: Jack Bates
Subject: $HISTCMD in command substitution?
Date: Sun, 26 Jan 2020 18:18:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Is there a way to access the $HISTCMD variable from a command substitution? e.g.

echo "$(echo "$HISTCMD")"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]