Shell Script

Count all http response status codes in a web application log files on linux

Count all http response status codes in a web application log files on linux Here is one way to count…

5 years ago

Script with hash tables on windows and Linux

Script with hash tables on windows and Linux A hash table, also known as a hash map, is a data…

8 years ago

How to pipe grep on command line on windows and Linux

How to pipe grep on command line on windows and Linux On both Windows and Linux, you can use the…

8 years ago

reverse a string on Linux and Windows

How to reverse a string on Linux and Windows On Linux: Using the rev command: The rev command is a…

9 years ago

Remove all empty lines in a file

How to Remove all empty lines in a file on Linux and Windows? Remove empty lines from file.txt via Linux…

9 years ago

List only regular file names in a directory

How to List only regular file names in a directory on Linux and Windows Listing regular files in a directory…

9 years ago

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

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

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