Quantcast
Channel: linux – The Road to Elysium
Browsing all 12 articles
Browse latest View live

Introduction to lsof

Today I’m going to introduce you to the exciting world of lsof. As you will see, it’s a nifty little tool that has various uses, and it has so many switches that you need both a – and a + to use all...

View Article


Image may be NSFW.
Clik here to view.

Introduction to strace

There will come a time when you will find yourself asking “What the heck is that process doing?”. To uncover the mysteries behind the behaviour of a process, we have a tool called strace. The program...

View Article


Split and merge PDFs – part 2

A while ago I wrote a post named Split and merge PDFs with pdftk. Unfortunately, pdftk seems no longer to be maintained for Fedora 21. So we have to use another alternative – poppler-utils: Install the...

View Article

Introduction to cron

cron is a time-based job scheduler. This piece of software utility is used when you need to have a program run repeatedly at set time. The daemon that runs in the background is named crond, while the...

View Article

No Wi-Fi device found

I just reinstalled one of my machines with Fedora 21. The install went great, but when the machine was done rebooting, and I was trying to set up my access to a wireless network with nmcli...

View Article


Compare the output of two commands

..without creating a temporary file: diff -y <(ls First_directory) <(ls Second_directory) The -y is just to show a side-by-side comparison. Very handy! And the result? [jorge@j-laptop temp]$ diff...

View Article

Test if a port on a remote system is reachable

With telnet: telnet webserver.example.com 80 With bash: cat < /dev/tcp/webserver.example.com/80 Replace tcp with udp, depending on what you want. With netcat: nc webserver.example.com 80 &>...

View Article

Split a file into a number of equal parts

As an example, we have a file named primary_data_file.txt that contains 616 lines of data. We want to split this into 4 files, with the equal amount of lines in each. $ wc -l primary_data_file.txt 616...

View Article


VMware, i3 and multiple monitors

For a while now I’ve been trying to set up VMware to work with multiple monitors, in a Linux guest. With some windowmanagers it works out of the box without any issue, such as with Unity. I never...

View Article


Image may be NSFW.
Clik here to view.

SimpleHTTPServer with SSL

I’ve often used Python’s SimpleHTTPServer to simply share a directory with someone over a network, it being either local or the Internet. In case you don’t know how it works, it’s simple. To start a...

View Article

vim – Goodbye to :set paste

I’ve been using vim as my editor of choice ever since I started learning Linux, and something that has been bothering me for a while is how vim handles pasting. Say I want to paste a large bit of code...

View Article

Ansible EX294 practice exam and solutions

I am hopefully going to take the second half of my RHCE exam this year, which is EX294. I have taken inspiration from https://www.lisenet.com/2019/ansible-sample-exam-for-ex294/ and...

View Article
Browsing all 12 articles
Browse latest View live