Search Results

Search: Posts Made By: g_jumpin
2,249
Posted By g_jumpin
There is nothing in a shell script that can act...
There is nothing in a shell script that can act upon the return of a set of characters?

I will install Expect and brush-up.....
Forum: What is on Your Mind? 11-27-2006
3,244
Posted By g_jumpin
#!/bin/ksh Perderabo is bang on. You have to...
#!/bin/ksh
Perderabo is bang on. You have to come across relaxed, confident and informed.
Typically the first in-person interview is personality based. They want to find out if you work well with...
2,249
Posted By g_jumpin
Confirmation rather than "sleep"
I have a simple telnet script that logs into a device and issues a number of commands with "sleep" between each command. This works great, although it would be nice to execute each command based on a...
8,066
Posted By g_jumpin
Hey - thanks a million fidodido! You guys are...
Hey - thanks a million fidodido! You guys are great!

The other guys were correct as well, but it just shows that the ones that are asking for help (me in this case) need to be more specific with...
8,066
Posted By g_jumpin
echo `wc -l filename| cut -f 1 -d " "`/2 | bc ...
echo `wc -l filename| cut -f 1 -d " "`/2 | bc
syntax error on line 1, teletype

Thanks for the replies, but I can't get it to work. The file is a list of names:

Frank
Sally
Sam
Julie
Joe...
8,066
Posted By g_jumpin
Thanks, but would if I did not know the middle...
Thanks, but would if I did not know the middle line number?

Is there a formula to figure out the middle line number?

Something like (wc -l) divided by 2 ?

thx.
8,066
Posted By g_jumpin
How to 'sed' the middle line?
Hi,

If I have 90 lines and I want to print the 45th line, is there a quick sed command for this?

thx.
5,550
Posted By g_jumpin
Thanks all - I will give it try today.
Thanks all - I will give it try today.
5,550
Posted By g_jumpin
Finding word in file then print the preceding....
Hi,

I am looking for a way to find a particular word in a file then print a line that precedes this line, as well as this line.

Sometimes in a log file there is only one word per line and I...
Showing results 1 to 9 of 9

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