How to pick complete line while working in Loop under Unix or Linux ?
Today we will see one of the useful tip in Linux. That is when we try to search complete line text from a long file, then it take individual words...
Today we will see one of the useful tip in Linux. That is when we try to search complete line text from a long file, then it take individual words...
In this post, we will look something really interesting. Do you know how to create an infinite link in linux ? We can create an infinite loop and our path...
Today lets see quickly how to print a sequence of 100 numbers using while loop in bash shell on Linux. Printing sequence of 100 numbers a. Empty the file. [root@ngelinux001...
In this post, we will check the ping response from the list of servers using for loop in Unix/Linux. Lets see below script which will check the ping response from...
In this article, we will look different ways or tricks to count number of files inside a directory in linux. I. Get files inside /tmp Using “wc -l” command on...
In this post, we will look how to code using for/while loop in python alongwith how to mention comments in the python file. I. Comments in Python a. Multiple Line...
In this post, we will look at an interesting feature of “for” loop in Python. In Python, we have a special clause known as “else” with for loop. This “else”...
Today we will check the usage of few keywords in Python i.e. True, break and continue. Usage of True, break and Continue In below example, we will see how to...
In this post, we will look how to use for loop in python and usage of range function. To understand both of these parameters lets have a look at an...