Showing posts from August, 2016

Bash Shell Script Sample Code - Part 1

1. Read user input and display message Welcome #!/bin/bash echo 'read_input=?' ; read read_input echo "Welcome on $read_input" Sample output: read_input=? Devinline Welcome on Devinline   2. Print Even natura…

Simulate Unix GREP command in Python

Grep command  :- Grep searches the named input FILE's (or standard input if no files are named, or the file name - is given) for lines containing a match to the given PATTERN. By default, grep prints the matching lines.takes 2 parameters "so…

Load More
That is All