Use script /tmp/output
to start recording in a new shell, then type your commands and look in the /tmp/output
file, e.g. with an editor or cat -vet
. Type exit
to the shell to exit the recording.
Last active
September 2, 2017 15:47
-
-
Save xieyunzi/af0618cd3750685beb1338367dfbedb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://unix.stackexchange.com/questions/226412/how-can-i-get-the-raw-formatting-output-of-commands | |
env TERM=xterm-color CLICOLOR_FORCE=1 ls -G | hexdump -C | head -10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment