Search Results

Search: Posts Made By: krypton
5,756
Posted By krypton
Creating timestamped directories/files in expect
Hi,

I am looking for the syntax to provide a timestamped log_file in expect.

Basically I want the equivalent of:

/outputs/`date +%d%m%y`/session`date +%H%M`

But scripted in expect so...
5,213
Posted By krypton
Hi Malcolm, I just tried it out, works...
Hi Malcolm,

I just tried it out, works perfectly.

Thanks for the help,

K
5,213
Posted By krypton
Using xargs for multiple functions
Hi Experts,

I am trying to parse some syslog outputs into a separate file per node using the below syntax but am having issues when it comes to my Xargs statements.

The command which I was...
26,229
Posted By krypton
Hi All, thanks for your quick and...
Hi All,

thanks for your quick and informative replies to my query.

In the end the following expressions met my requirements:

sed...
26,229
Posted By krypton
Hi Ktrimu, thanks for the quick reply here....
Hi Ktrimu,

thanks for the quick reply here.

Using awk this does indeed remove the rest of the suffix but also the rest of the syslog after the end of the hostname / domain.

I actually...
26,229
Posted By krypton
Removing domain suffix with SED
Hi Experts,

I have a syslog file from 1000's of different hosts which I want to adjust by removing the domain suffix from the hosts.

My previous attempts haven't managed to match all the...
Showing results 1 to 6 of 6

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