How to display the last byte?

086

To display the last byte of a file, you can use the tail command with the -c option. Here's how you can do it:

tail -c1 filename

Replace filename with the name of your file. This command will output the last byte of the specified file. If you want to display more than one byte, you can change the number after -c to the desired amount. For example, -c5 would display the last five bytes.

0 Comments

no data
Be the first to share your comment!