Search Results

Search: Posts Made By: seekryts15
3,139
Posted By seekryts15
When I run the command in a small list I get the...
When I run the command in a small list I get the list of duplicates but if I run it in a larger list (same format) it doesn't return anything.
3,139
Posted By seekryts15
Thank you again for all the help! Is there...
Thank you again for all the help!

Is there a way to check if there are other duplicate entries in the entire file? For example line 1 and 2 numbers should match but if the same number appears...
3,139
Posted By seekryts15
That worked! thank you!
That worked! thank you!
3,139
Posted By seekryts15
Comparing multiple lines in same file
Hello,
I would like to write a /bin/ksh script to manipulate a file and compare its contexts. Comparing lines 1 & 2, 3 & 4, 5 & 6, and so forth until the end of the file. This is what I would like...
4,341
Posted By seekryts15
That worked, thank you everyone!
That worked, thank you everyone!
4,341
Posted By seekryts15
Thank you! The code you provided did work but I...
Thank you! The code you provided did work but I was wondering if it can be more along the lines of the if then statement?


if [ $Testlist -lt $Post ];then
echo "there are numbers below the...
4,341
Posted By seekryts15
Comparing a list of numbers is less than a variable
Hello everyone,

I want to compare a list of numbers in the file TEST01 to the variable $Post. Also remove any duplicate numbers. Create an if then statement indicating if the numbers listed in...
5,568
Posted By seekryts15
Sorry for not replying sooner. Your suggestion...
Sorry for not replying sooner. Your suggestion worked perfectly! thank you so much!
5,568
Posted By seekryts15
Hello again, I have a follow up question on the...
Hello again,
I have a follow up question on the same topic.

My script asks the user to enter the current working directory for a "PEND.PAH" process. It will then display the working directory and...
5,568
Posted By seekryts15
Thanks RudiC! That worked perfectly!
Thanks RudiC! That worked perfectly!
5,568
Posted By seekryts15
Grep a specific process name
Hello,
I want to grep a specific process named "TEST" in AIX but not only is it showing what I want but also listing others that have the similar name. How can I only list "TEST"? I've tried using...
1,896
Posted By seekryts15
thanks everyone and sorry for the late response....
thanks everyone and sorry for the late response. I was able to figure it out with other search terms.
1,896
Posted By seekryts15
Search file and print everything except multiple search terms
I'm trying to find a way to search a range of similar words in a file. I tried using sed but can't get it right:sed 's/\(ca01\)*[1-4]//'It only removes "ca01" but leaves the rest of the word. I still...
2,114
Posted By seekryts15
Ah yes that did the trick, thank you!
Ah yes that did the trick, thank you!
2,114
Posted By seekryts15
ksh script find command not printing any results
Hello,
Hitting a wall on this one. When at the command prompt it works fine:

# find /home/testuser -name 'PAINT*canvasON.txt'
/home/testuser/PAINT_canvasON.txt

# pwd
/home/testuser

# ls...
8,161
Posted By seekryts15
Thank you! You've done it again Don! :)
Thank you! You've done it again Don! :)
8,161
Posted By seekryts15
Ah yes you are correct. It just keeps going. How...
Ah yes you are correct. It just keeps going. How would I go about reassigning the variable?
8,161
Posted By seekryts15
ksh script to check if certain process is running
I have to kill the process "test" for a maintenance I do but want the script to check when it comes back up.

I can get what I want when I run this while loop:
while true;do ps -ef | grep test |...
1,847
Posted By seekryts15
Thank worked perfectly! Thank you for the...
Thank worked perfectly! Thank you for the informative info as well, much appreciated!
1,847
Posted By seekryts15
i'm using aix and it doesn't support sed option -i
i'm using aix and it doesn't support sed option -i
1,847
Posted By seekryts15
ksh script trying to pass a variable to edit a file
I'm trying to create a ksh script that will ask the user for the port number. $PORT1 is the variable I want to use that will contain whatever numbers the user inputs. The script would edit...
10,363
Posted By seekryts15
Thanks Don! That worked perfectly!
Thanks Don! That worked perfectly!
10,363
Posted By seekryts15
ksh script to edit a file using vi editor
I was wondering if it is possible to execute a script that will remove a certain search pattern from a file and save it?

Manually I would just hit escape to enter command mode then search and...
3,820
Posted By seekryts15
Its /bin/bash
Its /bin/bash
3,820
Posted By seekryts15
Hello, If I dont put "ssh -t -t" I would get...
Hello,
If I dont put "ssh -t -t" I would get the message "Pseudo-terminal will not be allocated because stdin is not a terminal."

I have removed the /p as that was a mistake on my end. I was...
Showing results 1 to 25 of 44

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