ssh trick – with bastion host
2019/09/30
Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this: […] Now, in such cases, either you add an entry in “~/.ssh/config
check hard disk rpm or rotation speed
2019/09/23
Lot of times you want to check the disk rpm, especially on the servers to check if it is 7.2K or 10K or 15K rpm disk. How do you do this from linux terminal. Here it is : sginfo -g /dev/<device> …
ssh trick – ssh to remote host with bastion host
2019/09/16
Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this: […] Now, in such cases, either you add an entry in “~/.ssh/config” to route the …
terminal.sexy for URxvt
2019/08/19
Sometime back I posted about terminal.sexy – make your teminal sexy. I personally use URxvt terminal and hence need the xrdb files to apply the theme. It’s pain to go to the website everytime I want …
Color schemes for your terminal
2019/08/12
Color Scheme for Gnome Terminal and Pantheon Terminal – here is the github page https://github.com/Mayccoll/Gogh/
View xml files like a pro
2019/08/05
Viewing XML files can be daunting with tracking mentally where the tag starts and where it ends. So, I ended up with the following alias to help me view xml files
terminal.sexy – make your teminal sexy
2019/07/22
terminal.sexy is a nice webpage that allows you to select the colors for your terminal and then you can export it in various formats. Main site : http://terminal.sexy and for the source code: Github …
Check your session type – wayland or X11
2019/07/15
With both wayland and X11 in mainstream, its pretty easy to forget if you are running in Wayland or in X11. To check this here are the commands:
Add files to dropbox with single curl command
2019/07/08
I have been thinking of posting this for sometime now. This is very useful, when you are working on a different Linux box and want to upload a file to dropbox. So, before you run this command, you …
Running dnsmasq with NetworkManager in Fedora
2019/06/10
Here is a good link to do this: https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/
Split pcap to multiple files based on number of packets
2019/06/03
Here is a script that can use tshark to split a large pcap to multiple small pcaps inpcap="test.pcap" max=$(tshark -r $inpcap -n -T fields -e frame.number|tail -1) # This is the number of packets in …
libvirt- Create virtual machine with text console only interface
2019/05/27
virt-install is an amazing tool to create VMs. If you have created a config file (Kickstart file – ks.cfg), then its only one line un-attended install. If you are using this on remote host with ssh …