Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64
Case I: if /boot is not 100% full and apt is working
1. Check the current kernel version
$ uname -r
$ uname -r
Please explore the tutorial below as it has the indepth explaination:
Syntax: cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'
Example: To get json record having _id equal 611
cat my.json | jq -c '.[] | select( ._id | contains(611))'
Remember: if JSON value has no double quotes (eg. for numeric) to do not supply in filter i.e. in contains(611)
$ sudo apt-get install cifs-utils
$ sudo mkdir /mnt/CIFSMOUNT
Link: https://www.ablebits.com/office-addins-blog/2016/03/02/identify-duplicates-excel/
$ sudo find /var/log -type f -name "*.gz" -delete
$ cd /var/log