Search Results

Search: Posts Made By: Prashant Jain
11,771
Posted By Prashant Jain
My script is written on server A and we are...
My script is written on server A and we are picking up the file from B to A.

Now when i am connecting to server B from A using sftp:

A-sftp> If i write !, in this case i will get the size of...
2,328
Posted By Prashant Jain
Check the size of the file on different server
Hello,
I have two servers A and B, My script is written on Server A. I am picking up the file say "abc.txt" from Server B using sftp command and putting it in a directory at Server A.

Now the...
11,771
Posted By Prashant Jain
remote server is Unix. i am usind sftp...
remote server is Unix.

i am usind sftp command to get the file but tried to get the file size using ftp also.
11,771
Posted By Prashant Jain
Check the size of the file on different server
Hello,

I have two servers A and B, My script is written on Server A. I am picking up the file say "abc.txt" from Server B using sftp command and putting it in a directory at Server A.

Now the...
4,191
Posted By Prashant Jain
How to add two values in the same cell of CSV file
I need help to create a csv file with Unix command.

In csv file, i need to put two values in the same cell.

Rite now, whts happening is, if i put 2 values in the same cell, its comming as "...
2,752
Posted By Prashant Jain
need to remove , also
is there anything we can add to the above command so that all the comma's (,) will be replaced by space.
7,520
Posted By Prashant Jain
format output in csv file
I am sending the output of a file to .csv file.
The output should look like this:

Total Customers Processed:,8
Total Customers Skipped:,0
Total Customers Added:,8
Total Customers Changed:,0
...
2,752
Posted By Prashant Jain
Thanks tyler_durden, it worked:) Now there...
Thanks tyler_durden, it worked:)

Now there is one more issue, in some lines i have 10 charactes & in some there are 20chars.
no. of spaces should be 200 - number of character in a line.

if...
2,752
Posted By Prashant Jain
If directly we can do it, it will be great. Can...
If directly we can do it, it will be great. Can you please send me the command.
2,752
Posted By Prashant Jain
how to replace . with 100 spaces
i have a file like::
$ cat space
asd
fghj
itkg

now i want to replace the next line with . and thn this . with the 100 spaces.

cat space | tr '\n' '.', it woked for me, to replce the new...
Showing results 1 to 10 of 10

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