Navaraj Thapa

Technology

Technology

The Basics git commands

Using Git as a Version control system is a lot like working with a normal project. You will still write code and store those in files and folders, only now you have access to a  Git commands to manipulate those files. Quick Reference git init Create a Git repository in the current folder. git status…

Technology

Normal Tcp States

Normal Connection Termination Client Server Start State Action Transitions To State Start State Action Transitions To State ESTABLISHED Client Close Step #1 Transmit: The application using TCP signals that the connection is no longer needed. The client TCP sends a segment with the FIN bit set to request that the connection be closed. FIN-WAIT-1 ESTABLISHED…

Technology

Wireshark filters

1. CAPTURE FILTERS The capture filter syntax is the same as the one used by programs using the Lipcap (Linux) or Winpcap (Windows) library like the famous TCPdump. The capture filter must be set before launching the Wiershark capture, which is not the case for the display filters that can be modified at any time…

Technology

Backup Your Entire Linux System Using Rsync

First, insert your backup medium (USB thumb drive or External hard disk). Then find the drive letter using ‘fdisk -l’ command. In my case, my Pen drive id is /dev/sdb1. Mount your drive to any location of your choice. I am going to mount it under /mnt. $ sudo mount /dev/sdb1 /mnt To backup the…

Technology

How to backup Linux OS using “dd” Command

“dd” command can be really handy when it comes to taking an Operating System backup to clone the disk the OS is installed on. Here are few examples of using dd command for taking OS backup. NOTE: The target drive must be either of identical size to the drive being cloned or larger. The dd…

Technology

wbadmin backup

Wbadmin START BACKUP -backupTarget:\IP\J$ -allCritical –systemState To create wbadmin backup to network share including all critcal volumes, system state, and “chrun” folder in D:drive to network shared folder: Wbadmin start backup -allcritical -systemstate -include:D:\chrun -backuptarget:\networkshare\backup -quiet To create a scheduled backup job at 00:00 daily to the shared folder that can only be accessed with…