Search Results

Search: Posts Made By: Naga06
6,255
Posted By Naga06
Help with SFTP script
Hi All,


I just wanted to write a simple SFTP script.
I already referred to plenty of posts before but its of no use. Please dont give me previous posts link for reference. Please comment if...
2,953
Posted By Naga06
SHELL: syntax error near unexpected token `else'
Hi,

I wrote this shell script to be a tool for my team to do daily routine works.

Though, option a and b are working fine, option c is giving below error.

line 647: syntax error near...
4,065
Posted By Naga06
pls provide sample lines of your log file.... We...
pls provide sample lines of your log file.... We first need to know how does it look like.
1,289
Posted By Naga06
Pls let us know what code u have deployed??
Pls let us know what code u have deployed??
1,039
Posted By Naga06
FTP User
Dear Unix geeks,

I am shocked and upset that I couldn't solve the below issue.
One ftpuser was using his account for years to get data from server but reported an error today. 220 (vsFTPd 2.0.4)...
3,478
Posted By Naga06
I think so no need in rhosts file as it is not...
I think so no need in rhosts file as it is not having the entries for working nodes as well.
3,478
Posted By Naga06
rsh issue
Dear Geeks,

I have already gone through the site and google for a fix.
Nothing is relevant. So posting it here requesting your kind help.

I am trying to take rsh and pass some commands. ...
3,427
Posted By Naga06
root# echo /{dir}/file_20120710* | xargs awk...
root# echo /{dir}/file_20120710* | xargs awk -F'|' '$1 == 1' | wc -l

Whether the above syntax is correct?
3,427
Posted By Naga06
Argument list too long!!
Dear Experts,

I have a list of 10K files in a directory. I am not able to execute any commands lile ls -lrt, awk, sed, mv, etc........

I wanna execute below command and get the output. How can...
1,499
Posted By Naga06
Need help with bat file!!!
I need to put/get files from Windows machine to Unix machine and vice-versa.

I wrote a text file "ftp1.txt" as below.

naga
naga06
cd /root/Naga
prom off
get time.unl
bye


I wrote...
2,623
Posted By Naga06
Thanks a lot Chihung........... Its working...
Thanks a lot Chihung........... Its working great..........
2,623
Posted By Naga06
I am getting below output after setting the...
I am getting below output after setting the terminal to postscript.
gnuplot> plot sin(x)
%%Page: 2 2
gnudict begin
gsave
50 50 translate
0.100 0.100 scale
90 rotate
0 -5040 translate
0...
2,623
Posted By Naga06
Thanks sulti........ But still if I give plot...
Thanks sulti........ But still if I give plot sin(x) also, I am nt getting any output.
2,623
Posted By Naga06
How to start working with GNU PLOT??
Dear Experts,

I wanted to plot a graph with respect to values from a file.
I'm doing it with Excel 2007, but I want to create the chart in script itself.
I searched in internet for GNUPLOt. But...
Forum: Red Hat 12-28-2011
12,738
Posted By Naga06
Have u tried rebooting?? I faced a similar issue...
Have u tried rebooting?? I faced a similar issue where ping, traceroute, and everything was fine. After restart it was normal.
30,782
Posted By Naga06
USe split command and split the files.... ...
USe split command and split the files....

---------- Post updated at 01:36 PM ---------- Previous update was at 01:35 PM ----------

Check the space availability before you do this....... U can...
3,474
Posted By Naga06
use the below rsh nodename/IP "grep -i dba...
use the below
rsh nodename/IP "grep -i dba /etc/passwd | awk -F':' '{print $5}';"
1,234
Posted By Naga06
Its giving an fatal "attempt by zero"...
Its giving an fatal "attempt by zero" error
1,234
Posted By Naga06
Very informative corona......... Thanks a ton for...
Very informative corona......... Thanks a ton for saving me from a dangerous scenario........

---------- Post updated at 04:10 AM ---------- Previous update was at 02:49 AM ----------

The awk...
1,234
Posted By Naga06
Formation of sql files
Dear Experts,

I have a scenario where I have to form sql queries in a file using echo command.
I have file1 which has more than 10 lac numbers. For each Number in file 1, I need to create 5 sql...
1,933
Posted By Naga06
Yes Methyl........ Need to find an alternative to...
Yes Methyl........ Need to find an alternative to use mdsql only once....... By the way I prepare the text files in unix platform only........
1,933
Posted By Naga06
One simple mistake cost me one hour.... ...
One simple mistake cost me one hour....


thanks a lot felipe and methyi...... Proud to be a member of this site..........

---------- Post updated at 12:18 AM ---------- Previous update was at...
1,933
Posted By Naga06
Thanks a lot filip. filename.txt consists of file...
Thanks a lot filip. filename.txt consists of file names .
$file consists of below


---------- Post updated at 11:28 PM ---------- Previous update was at 11:27 PM ----------

In $file there are...
1,933
Posted By Naga06
Thanks Methyl. let me try. But the issue now is...
Thanks Methyl. let me try. But the issue now is when I pass through the script, lines are getting splitted like below... but when i cat that file, its in proper format.. Pls help me...
1,933
Posted By Naga06
Emergency !! Need to fix this error!
Pls help me with the below script.
Its returning an error No such file or Directory.
#!/bin/ksh
cd /enip/enipapp/cbp/AOC2511201
for file in `cat filename.txt | head -1 | tr -d '\r'`
do

...
Showing results 1 to 25 of 51

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