I still remember it like it was a hour ago, hell why not? i escaped from a prison and finally start breathing the fresh air of the free world called Linux!
So you see all that beautifull desktops on r/unixporn with terminals playing some music players with all that cool visualizers but wondering how did they do it? Well here’s a simple and no-nonsense guide to achieve that!
You will need to install mpd, mpc, and ncmpcpp
Just open the terminal and execute the following command:
$ sudo apt install mpd mpc ncmpcpp
I just started taking the LaTeX course on https://recluze.teachable.com/p/latex-for-everything-and-everyone , let’s see what i can do with it!
Since i am using i3 as my windows manager, so i’ll be using VIM as my editor
Here’s what my setup look-like:
To compile my LaTeX document i use pdflatex and i use evince as my pdfviewer since it has the capability to show live preview.
“If you’re learning the System Administration then till now you may know that one of the characteristics of the Sys Admins is that they are lazy, they let the machines do most of the work and leave very little to themselves. Let’s say you’re working in a company as a SysAdmin and you come in the morning and do the same thing every day, again and again, it means that you’re doing something wrong, you’re not in the realm of SysAdmins. The better thing is that you write a script for it and automate it!
In this article, I will talk about how can we automate our processes view and manage them.
Tools we will be using:
At noon 06-07-2018 we were sitting in COLAB and suddenly one of my friend Ahmed Waheed said, “Hey, let’s go somewhere out for the weekend”, I thought he was joking (Because we computer nerds don’t go “out” :P) but I said “Ok, why not?” anyway. At 2:00 PM we were sitting in the coach for Swat with one other friend Ali Husnain.
It turned out to be the best trip of my life, here are some of the beautiful places that we visited:
Here’s what we’re gonna do, You download this PDF, and if you come across any link to anything that you think is important and worth sharing, you comment that link under this port or email it to me personally on firstname.lastname@example.org
Please be a part of this circle and help someone.
Hardware Discovery Tools:
- /proc or /sys/
- lspci, udev, lssci and lsusb
- dmidecode, biosdecode
Detecting New Hardware Manually:
When the kernel loads it scan for the hardware and then loads drivers to initialize and support the detected hardware. Examining Kernel boot messages is a good way to see what hardware has been detected. You can view the current messages at any time with the simple command dmesg. A copy of the kernel messages is near the end of the boot sequence and stored so it can be examined long after the in memory messages has been overwritten.
Boot time kernel messages are kept in /var/log/dmesg.