Tag Archives: scripting

Introduction to unattended Installations

Unattended installation is an installation technology in which the setup automatically installs with minimum/no interaction with user. This technology is mainly used for installing Operating Systems(OS) in servers and PCs and large-scale roll-outs. The logic of unattended application is that the answers(keystrokes,mouse-clicks and other user inputs) are stored in a file. Then, during the setup process, instead of prompting you …

Read More »

ftp commands from batch script

This article explained how to automate the ftp activities from batch file. It will helps to automated file moving process. This example batch file is for upload backup files to ftp server. Here we used an additional configuration file ( ftp.cfg ) for FTP commands. Configuration file should be in the same directory of batch file, or specify the path …

Read More »

Redhat linux hardening tips & bash script

From the time a servers goes to live environment its prone to too many attacks from the hands of crackers (hackers) also as a system administrator you need to secure your Linux server to protect and save your data, intellectual property, and time here server hardening comes into effect. Securing a server is much different than securing a desktop computer …

Read More »

Previous / yesterday’s date in DOS batch file

Here is the script to get previous date output in DOS using bat files. This is very useful when we take backup of files with previous date name. (for example backup_daily_20072010.zip ) or can set bat files to get last 7 days backup to a zip.  According to your requirement you can get any previous date from this script.  See …

Read More »

Bat file to get File size in human readable format

There is an example of Bat file which can give output of file size in human readable format (Value with KB / MB etc ). This bat file is good with some copying / backup bat files. Here you will get the file size in variable called %size% . You can test the script by giving and input variable for …

Read More »