In the following:
[09:15:22] /tools # pwd
/tools
[09:15:23] /tools # echo foo
foo
[09:15:27] /tools #
I want to read everything preceding the "#" (I'll call it the signature for now). The signature is auto-filled by the shell on every line where a user can input text.
I tried looking through uname
without luck, and I've spent a good deal of time trying to find the proper name for this "signature" without success. Is there a way to do this (or, does anyone know the correct name for what I'm trying to read)?