copy /proc folder
2019/03/18
Other day, I was trying to copy the proc folder with following command: tar cvzf /tmp/proc.tgz /proc and I found out that all the files in tar were empty. Strange it may seem but lot of people are …
cool sed/grep magic to convert output to csv format
2019/03/11
I generallly keep doing this a lot, so thought will share with you. Lets assume we are capturing free ouput every min/hour/or whatever. The output looks like this: […] Time: Mon Jan 21 23:59:10 …
Gnome with i3 on Fedora 29
2019/02/25
I have been thinking of doing this for long time, finally I managed to get this working. Here is what you need to do to get i3 with all other gnome services running. First we will create 2 files, this …
bash function for rpm whatprovides
2018/12/31
Sometimes some simple one-liner function can save you a lot of time, like-
wallpaper manager
2018/12/24
So, I have been looking for a wallpaper manager with some features like: […] automatically change wallpaper from my directory list […] Get wallpapers from internet […] Possibly …
Directories with maximum number of files
2018/12/10
Lot of times, I want to find the directories with maximum number of files and so I wrote this quick function to do exactly the same
Use Linux on your Android mobile/tablet (without root)
2018/11/26
Been looking for this for a long time, finally there is some app which allows me to run a linux distro without rooting my gadget. Here is link to userland.tech website. Check this out, its easy to …
xev – Check the X keyboard events
2018/11/19
xev man page […] xev – print contents of X events […] So other day I was checking why my play key was not working and wanted to check if it maps to one of the X default mappings for the …
Get to your ebooks quickly
2018/11/12
We are using “rofi” here to show the menu. So, lets first install that cat <<EOF >/etc/yum.repos.d/_copr_yaroslav-i3desktop.repo [yaroslav-i3desktop] name=Copr repo for i3desktop owned by …
image viewer tools
2018/10/01
These are some of the image viewers that I know, pick your choice 🙂
rats – source code analysis
2018/09/17
I stublemed across this recently so thought of sharing this for you 🙂 sudo yum install rats And some details about rats […] RATS(Rough Auditing Tool for Security) scans through code, finding …
systemctl enable and start service
2018/09/10
Most of the times when I want to enable the service, I find myself enabling it immediately or it is vice versa. So, the commands I used to use were: systemctl enable sshd.service systemctl start …