FUN WITH LINUX

Merry Christmas To All Of You..

23 December 2015

Please use Full-Screen for maximum of joy…

Read more..
List the last shutdown(s) of a server

21 December 2015

If you want to list the last shutdown’s of a server just type:

# last -x shutdown
shutdown system down 3.16.0-4-amd64 Sun Dec 20 22:14 - 08:28 (10:14)    
shutdown system down 3.16.0-4-amd64 Sat Dec 19 15:26 - 10:41 (19:15)    
shutdown system down 3.16.0-4-amd64 Sat Dec 19 14:35 - 15:24 (00:48)    
shutdown system down 3.16.0-4-amd64 Fri Dec 18 18:04 - 09:46 (15:42)    
shutdown system down 3.16.0-4-amd64 Fri Dec 18 10:01 - 15:46 (05:44)    
Read more..
Postgresql: Set user as superuser temporarily

8 December 2015

Grant SUPERUSER-Permissions:

postgres=# ALTER USER albert SUPERUSER; 
ALTER ROLE 

Remove SUPERUSER-Permissions:

postgres=# ALTER USER albert NOSUPERUSER; 
ALTER ROLE 
Read more..
Nmap 7 Released on 19th of November and comes with a very nice surprise

5 December 2015

Since I was busy with my new blog I missed writing about it: Nmap 7 Released on 19th of November.

Of course they did a good job, and improved performance, implemented fully IPV6-support and better ssl-scanning(using scripts), but the really surprise for me was that they also developed a better Netcat:

Read more..
Start a job only when the load is below 1.5

5 December 2015

Using the program “at” one can start any job on Linux at any specific point of time. The command “batch” is shipped with “at” and executes commands when the load average drops below 1.5.

Read more..
Blog-upgrade: new software and new design

4 December 2015

I upgraded the blog software. It was a major upgrade and many things are different in this version. So I took the chance to also improve my design. It’s more clear and fully responsive now.

Read more..
Kernel: boost your harddisk performance with an additional ssd-drive

11 November 2015

If you have any harddisk, you can boost it’s performance using a ssd-cache. The linux-kernel ships a function called bcache. Checkout the kernel-documentation for it.

Read more..
Qemu: Resizing qcow2-images

11 November 2015

qemu-img resize /var/lib/libvirt/images/server.qcow2 +50GB 
Read more..
First Anniversary

7 November 2015

Today is the first anniversary of this blog. I created this blog for documentation, sharing my knowlege and improving my english(the latter did not work out well). It turned out that I like blogging and I am very happy about it.

Read more..
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti