Search Results

Search: Posts Made By: chipblah84
4,512
Posted By chipblah84
shamrock, Thank you for the reply but your...
shamrock,

Thank you for the reply but your suggestion did not work. The error, remshd: Login Incorrect, propagated on the monitor and the hostname was written to the log file.

Through alot...
4,512
Posted By chipblah84
Not redirect to more than one file. I would like...
Not redirect to more than one file. I would like to have stderr redirect to a file, but insert the hostname (which created the error) to be listed before the error.

Instead of this entry in the...
4,512
Posted By chipblah84
ksh- redirect stderr to file and then modify the file
I have the following:
remsh $host -n 2>>syslog_issue_list.txt grep -i -e "EMS" -e "error" -e "warning" -e "excessive" /var/adm/syslog/syslog.log |
awk /"$DATE1"/ | awk -vhost="$host"...
16,130
Posted By chipblah84
Select ksh menu question
I am creating a Select menu with a few options and I would like to create a "better" looking interface than just this:

1) Option 1
2) Option 2
3) Option 3

Instead, I would like something...
5,486
Posted By chipblah84
Thank you ctsgnb. The second code awk...
Thank you ctsgnb.

The second code

awk '{a[$1]++;b[$1]=$0}END{for(i in a) if(a[i]<2) print b[i]}' infile

works. When I run the first and third codes I receive "egrep: can't open - "...
5,486
Posted By chipblah84
"What does but it does not report single files......
"What does but it does not report single files... mean..?" If the last file in the input file is a single file, the script will not report it.


Here is an example of the input file:
...
5,486
Posted By chipblah84
Help finding non duplicates
I am currently creating a script to find filenames that are listed once in an input file (find non duplicates). I then want to report those single files in another file. Here is the function that I...
Showing results 1 to 7 of 7

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