From Windows Prison to Linux Freedom

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!images.duckduckgo.com

Read More »

Advertisements

Setting up MPD in Linux (Mint/Ubuntu)

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

on Ubuntu/Mint.

Read More »

Process Administration: Automate, Schedule and Manage Processes

“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:

Read More »

No Plan is the Best Plan!

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:

Read More »

SysAdmin 101: Linux Hardware, Discover, Interaction & Control

Hardware Discovery Tools:

  • dmesg
  • /var/log/dmesg
  • /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.

Read More »