Relative Content

Tag Archive for linuxshellunix

I want to create a shell script to check the latest feed present according to the sample.txt file in server and then insert the no.of lines in ins.txt

I want to create a shell script in which we have two functions in first function we are checking whether the script is running or not if it is not running then Execute the second function in which we have to check the latest file in the server for files mentioned in the feeds.txt file in a loop and for that latest file find the size of the file and the no. Of lines in that particular latest file. And insert the data into a insert.txt file and then close the second function and the script.