Ansible is RedHat automation tools that we can create a list of command to manipulate machine such as cisco switch. I am using Ubuntu 20.04 and here is the list of command that we need, in order to practice in cisco devnet program. That’s enough to run the basic ansible command to backup the csr1kv. […]
Tag: command
Reduce Video by FFMPEG

The ffmpeg is the universal video manipulator in Linux, all distros could use the ffmpeg as video manipulator. Now I want to reduce the size of the mp4 video I got from my friend into friendlier size. This code is one option to consider.
Convert Multi File of PNM to PDF

I have lots of pnm which is scanned files. PNM is picture format. I need to make them into one file. The only way is convert them into pdf. And make them into one file. Linux provides such command. Which is convert command. The syntax is simple like this : The problem is I have […]
Unable To Find Trash Directory

I was surprise receiving this alert when I deleted a folder. Where was the hell the trash directory go anyway? Then after reading something here. I realized that this is happen after I change the user name from A to B. Which is change the uid number of the users. Meanwhile I have something in […]
Scrcpy Mirror Handphone to Linux OS by SNAP

Scrcpy is a free program, no commercial that can mirror your handphone screen and controll it by the computer. Yes, it is free and I found no commercial popping up while using it. My OS is Linux ubuntu 14, not really ubuntu but ubuntu based. I already have snap installed. So I won’t write the […]
Error Convert Jpg to Pdf

There are lots of command in Linux console that we can use to do office things. For example converting jpg to pdf. Many jpg at once to single pdf as pages. Here is the command It will result book.pdf with 3 pages. But in my case, there is an error. Display like this : I […]
Build Ubuntu Server From Scratch – Apache2
Oke. I m learning from zero again. This time my aim is to build mvc web base application for selling and buying. I was quite desperated when trying to install every mvc from the easiest one. None of them worked. So that’s it. I start my lesson from zero again. Setting up my laptop as […]
Convert Command Failed

Here is the failed message convert: not authorized `093_bon1.pdf’ @ error/constitute.c/WriteImage/1028. In a forum, it is imagemagick setting . Here is the source. The solution is just change the /etc/ImageMagick-6/policy.xml Change the line of <policy domain=”coder” rights=”none” pattern=”PDF” />i change the rights to “read|write” Then add another lain <policy domain=”coder” rights=”read|write” pattern=”LABEL” /> That’s it. […]
Crontab For The End Of Month
Here is a good tricky trick about the use of crontab in the end of month. First I wonder how the crontab should work. It could use date 1 but still it is not fun. I want the crontab in a single line, execute a program in 28 or 29 in February, or 30 at […]
Ubuntu Server Syslog Goes To Gigabytes
My little experience with the ubuntu server today, I found out the server hdd space runs out quickly. I try to monitor with all the network tools I read in the google, but found nothing. Then finally find out that the cause of it is syslog the log size. It reaches 3,5Gb. So big for […]