Quantcast
Channel: Linux Archives - Jovica Ilic
Browsing latest articles
Browse All 10 View Live

You’re in the front of a Linux computer, you need a root access. What do you do?

So, imagine that you are in front of some Linux computer to which you don’t have any access. How do you get a root access? Restart the computer, in Grub menu choose (recovery mode) and on the next...

View Article


Linux gets frozen, what do you do?

Somehow, you crashed your Linux. It’s completely frozen. You try pressing Ctrl + Alt + Backspace, but doesn’t help. What to do? Someone would press the power button and restart or shut down the system....

View Article

How to run scripts in Linux faster than Cron does

Cron is an amazing job scheduler. But, when it comes to running your scripts in less than every minute, it can’t help. With Cron, you can run your scripts every minute, but not in shorter period of...

View Article

Get MySQL Database Size from Terminal

If you need to find out the size of MySQL databases you use from terminal, the following query will list all the databases with their respective sizes: mysql> SELECT table_schema "database",...

View Article

How to “cd” into a directory with name like “-test”

If you’ll ever have a situation that you need to enter into a directory with a name like “-test” or any other starting with “-“, this is a post for you. Solution: You need to use — argument. So, one...

View Article


How to display load average in terminal titlebar

If you’ve managed a number of Linux servers, then you probably know what it’s like to have several terminal windows running top on your desktop. There is a better way to do this. You can display load...

View Article

How to install Apache (with SSL) + WebDav on Ubuntu

Installing Apache with SSL $ sudo apt-get install apache2 libapache2-mod-auth-mysql Then, setup and generate a cerfitecate for the web server: $ sudo openssl genrsa -des3 -out server.key 1024 You’ll be...

View Article

The History of Vim

What is Vim? If, for some strange reason, you don’t know what Vim is, here’s the short answer: Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version...

View Article


Why Vim – 21 Reasons to Learn Vim

  After writing about the history of Vim, I wrote a post where I told you what you can expect from my upcoming book Mastering Vim Quickly. Today, I will try to mention as many as possible reasons to...

View Article


Saving Read-only Files in Vim – The sudo tee trick

How many times you had the following situation: You open a file with Vim and make some changes. When you try to save the file, you realize that you didn’t run Vim with sudo?! There is a solution for...

View Article
Browsing latest articles
Browse All 10 View Live