The dmesg command prints the kernel ring buffer. The content is also sent 📩 to syslogd or klogd, when they are running, and ends up in '/var/log/messages'.
So dmesg will show only the most recent kernel messages, because the ring buffer is a fixed size 📏 and cannot hold so much.
But how can I find out my kernel ring buffer size from the config file that was needed to build the kernel? 👨🔬 💻
$ grep CONFIG_LOG_BUF /boot/config-`uname -r`
Nice article and I have learned something new: 20 productivity tools for the #Linux terminal | Opensource.com https://opensource.com/article/20/6/productivity-tools-linux-terminal
Find chatterers 🗨️ 💬 on your own network: 💻 ⚡💻 Call 'tcpdump' and let 'awk' search for the word 'IP' in the second ($2) column of your dump. Use 'split()' to create a nice notation of the output of field $3 for the IP address with dots, but we don't need IP addresses starting with 0 or 127. Sort the output, count equal and group them with 'uniq'. Sort again by frequency and use 'awk' again to print a nice output with histogram and #-signs as chart bar.📊
Has anyone ever tested Dayon!? It's an open-source and cross-platform (Java) solution for remote-maintenance software like Teamviewer. Relatively easy setup and low bandwith: The person who needs help sends monochrome pictures directly to the helper. The helper has to open port 8080 on DSL router and maybe firewall to offer help via the Internet. Should be possible for the person who wants to offer help.🤔
What do you think? Boosts appreciated.
The old Unix tool 'awk' is delivered with almost every Linux distro (mostly as gawk, GNU Awk). Keeping it quite simple, it can also get cryptic quickly, but it is always a great tool to get a quick overview of your data pool on the command line.
You can even write your data of a CSV as a bar chart. 📊
I have started to use #Jupyter Notebooks and I use it heavily now with #Python in #Linux. Great tool to make notes with Markup and to insert *and* execute your Python or #Bash (#Ruby, #Perl, #HTML etc.) code. Very nice for interactive tutorials.
For a quick introduction, setup, and walkthrough you can watch this video by Corey Schafer:
"Automatically Send Toots To The Mastodon Social Network" - by @carlchenet
Brian Connelly | Working with CSVs on the Command Line
Nice tutorial: How to Parse JSON Files on the #Linux Command Line with jq
sl - run a train in the terminal
cmatrix - Matrix style terminal
aafire - fire with the ascii art
toilet - transforms text 2 ascii
cowsay - cow says something
pacat /dev/urandom - please turn down speakers first
espeak - listen to the output of your scripts
banner - for banners
Know more? Do you know any games that can be played in terminal? Boosts appreciated.😀
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.