this post was submitted on 12 Feb 2025
17 points (94.7% liked)

Linux

49919 readers
1438 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

TLDR ; Thinkpad BIOS debug log is not in text . Just converted it to text using xclip , instead of using strings, hexdump , xxd tools .

Steps done:

$ file bios-debug-log.data
bios-debug-log.data: data
$ cat bios-debug-log.data | xclip 
$ xclip -o # Pastes as text to Terminal . Copy the text from there.
##xclip -o > test-file # Pastes the same data to file. Cannot use this

I have ran diagnostic logs for lenovo support , which was saved as data file. ( Found tools like strings, hexdump , xxd from online search which can read the data. ) But while playing with the file, I noticed xclip can copy and paste the data to Terminal app as text! Then, copy the text from Terminal app .

Qn. I guess the data file was encoded to a binary format. And xclip decoded the text content. Is this correct ?

Thanks,

all 1 comments
sorted by: hot top controversial new old