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
Get filename with file extension
Get filename without file extension
Get extension from filename
Get MIME type of the given file
MIME_TYPE=`file --brief --mime-type "$FILE"`
Get current directory of the script
Get the full directory name of the script no matter where it is being called
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
Frequently asked interview questions on Active Directory.
This is a compilation of question and answers
on Active Directory from various sources listed below.This provides a starting point in preparation for Windows Administration interview.
Define Active Directory
Active Directory is a database that stores data pertaining to the users and objects within the network. Active
What is Active Directory Directory Services (ADDS)?
Active Directory is useful for managing enterprise's user information. It is used for storing and managing large volume of user credentials.
Active Directory directory Services (ADDS) is used for managing security policies for users and resources within the network.
AD is used for Single Sign On (SSO) allowing