Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
CKA Sample questions with answers
Pre Setup Once you’ve gained access to your terminal it might be wise to spend ~1 minute to setup your environment. You could set these: alias k=kubectl # will already be pre-configured export do=”–dry-run=client -o yaml” # k create deploy nginx –image=nginx $do export now=”–force –grace-period 0″ # k delete pod x $now Vim The […]
Receive Voice Call
This sketch receives a voice call from an Arduino or Genuino board equipped with a GSM shield. Once the call is received and connected, it shows the number that is calling, and hangs up. You’ll need to attach a speaker and microphone to hear the connected call and transmit your voice. Hardware Required Arduino or […]
Delete Files Older Than X Days
Command Syntax find /path/to/files* -mtime +5 -exec rm {} \; Note that there are spaces between rm, {}, and \; This is a very simple tutorial how to find and delete files older than X days. I needed this for a project where i collected some images and after a while they took too much […]