Search Results

Search: Posts Made By: sashankkrk
8,192
Posted By sashankkrk
How to read and write a random row from a file?
Lets say I have a file abc.txt and it has about 35 million rows. I would like to take a sample of 100 random rows from that file for my testing purpose and write it to a file say test.txt.

How do...
18,486
Posted By sashankkrk
Pull a file from a remote server through a shell script
Hi,

I am writing a shell script to pull a file from a remote server (Let say its a windows based remote server). One of my criteria is to pull a file only if it is not empty.

We have done a...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy