Find

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Converting DOS Batch Files to Shell Scripts

Table 1. Batch file keywords / variables / operators, and their shell equivalents

Batch File OperatorShell Script EquivalentMeaning
%$command-line parameter prefix
/-command option flag
\/directory path separator
===(equal-to) string comparison test
!==!!=(not equal-to) string comparison test
||pipe
@set +vdo not echo current command

How To Flush DNS Cache (NAME SERVICE) Windows/UNIX

Windows
Start->run->cmd->
ipconfig /flushdns


UNIX
service nscd restart
-- or --
sudo /etc/init.d/nscd restart