Command Line

prompt and read input variables from keyboard

Let's find how to prompt and read input variables from keyboard while executing a script using shell, perl, python, batch…

9 years ago

List all processes holding a specific port

How to list all processes holding a specific port on Linux and windows via command line Let's find all processes…

9 years ago

Replace all instances of a string in a file

Replace all instances of a string in a file Open the file in read mode using the open() function. Read…

9 years ago

Search all files containing a specific string

How to search all files containing a specific string on Linux and Windows? On Linux grep -rnw 'directory' -e "pattern"…

9 years ago

Browse the internet via command line

How to browse the internet via command line on Linux and Windows? On Linux lynx http://google.ca If you don't have…

9 years ago

Check how many CPU cores on Windows and on Linux

How to check how many CPU cores I have on Windows & Linux?

9 years ago

un-archive a folder silently in Windows

Powershell script to un-archive a folder silently in Windows Let's continue with our automation scripting tool series. Doing things on…

10 years ago

Script to Stop Application Pools on Windows

VB script to Stop Application Pools on Windows IIS 6 As  SysAdmin, We sometimes need to auto-stop some application pools…

10 years ago