Find All Files With Same Extension

find /etc -type f -name "*.conf" Source : https://askubuntu.com/questions/333710/how-to-find-all-files-with-the-same-extension-within-a-directory   . . . selengkapnya>>

Ubuntu Find Real Mac Address of Bonded NICs

cat /proc/net/bonding/bondX where bondX is the name of your bonded interface, as: cat /proc/net/bonding/bond0 Source : https://www.linuxquestions.org/questions/linux-networking-3/how-to-find-the-physical-mac-of-bonded-nics-452128/ . . . selengkapnya>>

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>>

zuka.one
©2011