10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to execute and external command and insert it into a particular area of the file I am editing. Note that I have the ORIGINAL AT&T vi training doc dated 1987. Doesnt explain it.
As an example, in a vi editor I have
I would like the result :
After executing the following... (1 Reply)
Discussion started by: popeye
1 Replies
2. Red Hat
I need a scp command that will connect remote server and find current date & last three days log files and bring them to local machine..Remote server is AIX and local machine is RHEL 6.3.
I write below but its not working
scp / @IP:/logs/ '{find . -mtime -2 -name "*.LOG"}' (5 Replies)
Discussion started by: micle
5 Replies
3. UNIX for Dummies Questions & Answers
Can someone please help me with what is wrong with this command?
scp oracle@hrkpd124:/u01/app/oracle/rdbms/admin/dpoo.html root@hrkpmgmt:/export
my intention is to copy the file dopp.html from the server hrkpd124 to the server hrkpmgmt but i am getting the error... (3 Replies)
Discussion started by: dollypee
3 Replies
4. Shell Programming and Scripting
Hi ,
Iam using " WGET " command to hit the URL,i.e. servlet url.
I can trigger the servlet using wget but when servlet is not responding this command retries automatically until it get the positive response from the server.
So this script is running for more than 8 hrs to get the positive... (2 Replies)
Discussion started by: vinothsekark
2 Replies
5. Shell Programming and Scripting
Hello,
I have a script that contains the command "whois 1.2.3.4"
Sometimes this command takes far too long to produce any output and as a result the rest of the script is not executed.
Can anyone suggest a method so that if no output is produced after say 2 seconds the script skips that... (2 Replies)
Discussion started by: colinireland
2 Replies
6. UNIX Desktop Questions & Answers
if i use scp command to copy a file from one server another server it is asking password of the server from where the file being copied. i am automating some reports.. i need the file to be copied without asking the password. can any help me out??? thanks in advance,
Arun Manas (1 Reply)
Discussion started by: arunmanas
1 Replies
7. Shell Programming and Scripting
normally when i type:
condor_q | tail -1
command line returns:
0 jobs; 0 idle, 0 running, 0 held
I want use the number in front of 'running' in a series of equality tests to submit more jobs when my queue gets low. Someone showed me how to do it a few days ago by setting an array equal to... (4 Replies)
Discussion started by: pattywac
4 Replies
8. UNIX for Dummies Questions & Answers
Helo ,
I m using RHEL 4.
If I run 'ls -laF | more', response is properly display.
but when I run If I run 'ls -laF | less', the response is garbled
what to do to remove this?
Regards,
Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Let's say I have the command line:
scp -r /home/Mohit/Switches mkakkar@softmon:/home/mkakkar/
If I put a "/" after the Switches such that I get:
scp -r /home/Mohit/Switches/ mkakkar@softmon:/home/mkakkar/
How does the behaviour change? (1 Reply)
Discussion started by: mojoman
1 Replies
10. UNIX for Dummies Questions & Answers
Total unix newbie needs help:Need to SCP files to a WINDOWS NT server,but giving me some problems:
REPOSITORY=/usr/psoft/fs600srv/reports/HR
/usr/local/bin/scp -p -a $REPOSITORY/HR.glpccd*.unl Administrator@10.84.124.6:/Temp
When I execute the script, it is giving me this error.
... (3 Replies)
Discussion started by: starla0316
3 Replies