zukatsu.tk => A collection of random notes

created for a reminder of all things that happen in the past

Ubuntu 19.10 apport-gtk High Cpu Usage

This problem happen suddenly or at startup, apport-gtk using 100% cpu. This is could be ubuntu bug that could'nt parse crash file. To solve this, you can delete this crash file rm /var/crash/* source : https://askubuntu.com/questions/454187/apport-gtk-100-cpu-usage-on-startup-on-ubuntu-14-04-lts/472809 . . . selengkapnya>>

Restore File And Folder Permission

sudo find /var/www/ -type d -exec chmod 755 {} \; sudo find /var/www/ -type f -exec chmod 644 {} \;   source : https://askubuntu.com/questions/722088/reset-default-permissions-for-var-www . . . selengkapnya>>

Ubuntu Search and Show Multiple Line On Text Base On Search Keyword

1. Using Grep Using grep you can do search with this format, grep -A number_of_line search_keyword file, example : grep -A 3 2016-07-13 file Command above will get 3 line from file, start from search keyword 2. Using Sed With sed you can search with this command, sed -n '/start_search_keyword/,/end_search_keyword/p' file, example : sed -n '/2016-07-13/,/2016-07-19/p'. . . selengkapnya>>

Crontab Suddenly Missing

Be carefull when using crontab, "crontab -e" could be handy for edit/write crontab command but also crontab have delete command "crontab -r", this command will delete all user crontab without prompt, the problem is e and r is very close, this problem happen to me , my crontab command suddenly missing, when i search for this problem, i found that crontab -r is. . . selengkapnya>>

Deploying Odoo 11 Ubuntu 18.04

source : https://linuxize.com/post/how-to-deploy-odoo-11-on-ubuntu-18-04/ . . . selengkapnya>>

zukatsu.tk
©2011