10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
On a daily basis I need to SSH into several different RHEL servers using Putty.
On some of the servers, if I up arrow to get a previous command, it automatically starts in Input Mode, so if I press up arrow, then 'x' it will type the letter x at the end of the command line. On other servers, it... (4 Replies)
Discussion started by: derndingle
4 Replies
2. 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
3. Shell Programming and Scripting
I want to incorporate the variable in the for statement as a column of my processed file. In the INCORRECT example below, it is $i which corresponds to the i in my for loop:
for i in x86_64 i686; do
awk '{ print $1" "$4" "$5" "$i }'awk $file-$i > processed-$i.log
doneThanks! (3 Replies)
Discussion started by: graysky
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
From inside Vim, I'm looking for a way to use the contents of the current buffer, pass it to an external executable, and then return the output from the executable into a new Vim buffer.
I know that I can do something like %!<executable>, but that will overwrite the contents of the... (3 Replies)
Discussion started by: konfushus
3 Replies
5. Shell Programming and Scripting
I should trasfer some files by xxx.xxx.xxx.xxx to local host.
In order to check the function works i tried to transfer a single file and I typed:
scp -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas
At this point i haven't response anch i have to type CTRL+C to return to... (2 Replies)
Discussion started by: andreac81
2 Replies
6. Shell Programming and Scripting
Dear all,
¿How can i insert a variable in a AWK pattern?
I have almost succeeded in solving a puzzle with AWK but now i want to make a script. Let me explain.
cat file.txt | awk 'BEGIN {RS="\\n\\n"} /tux/ { print "\n"$0 }'
I know that this command makes right what i want to do, but mi... (8 Replies)
Discussion started by: antuan
8 Replies
7. UNIX for Dummies Questions & Answers
While using vi or vim on different boxes, I experience different behaviors when I'm inserting (i) or writing on a new line (o). On the Linux box, I can insert and delete with my backspacekey while in the insert mode. It acts a little more like pico,nedit, etc. On the SunOS box, it's a headache... (3 Replies)
Discussion started by: mrwatkin
3 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. AIX
Is it possible in VI to do a global change but take the search patterns and the replacement patterns from an external file ?
I have cases where I can have 100,200 or 300+ global changes to do. All the new records are inside a file and I must VI a work file to change all of them.
Also, can... (1 Reply)
Discussion started by: Browser_ice
1 Replies
10. Shell Programming and Scripting
Hi,
I need to send "^[" command to the buffer.
I tried to use insert within VIM and press 'ctrl' key and then '^' and '[' key.
but it didn't work.
Does anyone know how to do it?
Thanks a lot!
Julie (2 Replies)
Discussion started by: cin2000
2 Replies