Browsing Tag Technology

6 Post Found in Technology Tag

how to migrate from one ubuntu machine to another

Step 1: Gather details on packages installed on the source machine

To get the list of all packages installed on the machine. The following command can be used. This one line script will get all the installed package and store them into a file.


$ sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" | sed

Continue reading

Split and Merge file using dd command

Split and Merge file using dd command

dd command is one of the powerful utility in Linux and should be in every hacker's arsenal. dd command is used to manipulate binary files directly. dd is the tool used to write disk headers, boot records. The command is mostly used to copy / clone / backup / restore entire hard disk or partitions. Any Wrong usage

Continue reading

Open VPN config file split and merge

Open VPN config file split and merge

I am a big fan of OpenVPN and I use OpenVPN for both work and personal purposes. Using VPN is an integral part for me as I rely on it to manage my VPC at work and also to manage my privacy online. I use OpenVPN network manager to connect with the VPN in my

Continue reading

Delete stale files by last accessed time and created time (Bash)

Delete stale files by last accessed time and created time (Bash)

I implemented file based caching on one of my projects to cache large number of responses which are CPU and memory intensive. The file caching worked as a charm at start but soon I started to hit the storage capacity of the web server. So I wanted a script that can be configured in cron

Continue reading

Google Drive upload bash script

Google Drive upload bash script

I was looking for a simple command line script to upload files to Google drive and I stumbled upon gdrive a command line utility to manage files in google drive. But it was heavy weight for my requirements and had dependencies which I was not able to install in the servers. So I decided on

Continue reading

Basic concepts of Active Directory Directory Services

Basic concepts of Active Directory Directory Services

What is Active Directory Directory Services (ADDS)?

  1. Active Directory is useful for managing enterprise's user information. It is used for storing and managing large volume of user credentials.

  2. Active Directory directory Services (ADDS) is used for managing security policies for users and resources within the network.

  3. AD is used for Single Sign On (SSO) allowing

Continue reading