Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi All... I'm newbie here...,
i have problem when installing oracle9206, i use HPUX 11.11,
i'm using Xmanager enterprise 2.1 for forwarding from server A to my laptop
# export DISPLAY=192.168.1.239:0.0
# echo $DISPLAY
output ==> 192.168.1.239:0.0
at the oracle directory, i execute ... (3 Replies)
Hello experts,
I know line number of the word I want to replace. Can "sed" substitute word on a specific line?
As well, can sed substitute words inside a specific patten.
ex. <word>lalala</word> #replace anything between <word> and </word>
minifish (2 Replies)
Hi guys.
I am trying to perform a search using grep. I get my grep to work, but need to "awk" a Process Number that is 2 lines above...
Example:
I run a query on my TSM server for Processes that are "Waiting" for something...it returns this:
Process Number: 32,881
Process... (14 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
i need to substitute word on a specific line.
I was able to do it on command line like below but it is not working in vi.
command line like below:
sed -e '8s/table_name/schema.table_name/' file_name.
in vi table_name and schema are my positional parameters that i pass into the
script.
... (5 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
SUSE linux
bash shell
this works
test -d /tmpp && echo "directory exists" || echo "directory doesn't exists" |sed -e "s/^/prefix /"
prefix directory doesn't exists
but why doesn't this work?
test -d /tmp && echo "directory exists" || echo "directory doesn't exists" |sed -e... (3 Replies)
Discussion started by: snoman1
3 Replies
LEARN ABOUT CENTOS
aggregate-ios
AGGREGATE-IOS(1) General Commands Manual AGGREGATE-IOS(1)NAME
aggregate-ios - optimise a concatenated set of cisco/IOS prefix filters to help make them nice and short.
SYNOPSIS
aggregate-ios <source_config >optimised_config
DESCRIPTION
Takes cisco IOS configuration on stdin, and optimises any prefix filters found using aggregate(1). Optimised filters are produced on std-
out.
OPTIONS
None.
DIAGNOSTICS
Any diagnostics produced by aggregate(1) are passed through on stderr.
EXAMPLES
The following configuration fragment:
ip prefix-list AS65530 description Foo, Inc
ip prefix-list AS65530 permit 10.1.0.0/16
ip prefix-list AS65530 permit 10.2.0.0/16
ip prefix-list AS65530 permit 10.2.1.0/24
ip prefix-list AS65530 permit 10.3.0.0/16
ip prefix-list AS65531 description Bar.Com
ip prefix-list AS65531 seq 5 permit 192.168.1.0/24
ip prefix-list AS65531 seq 10 permit 192.168.2.0/24
ip prefix-list AS65531 seq 15 permit 192.168.0.0/19
is optimised as follows:
ip prefix-list AS65530 permit 10.1.0.0/16 le 24
ip prefix-list AS65530 permit 10.2.0.0/15 le 24
ip prefix-list AS65531 permit 192.168.0.0/19 le 24
SEE ALSO aggregate(1)HISTORY
Aggregate-ios was written by Joe Abley <jabley@mfnx.net>.
BUGS
All those in aggregate(1) and then some :)
Joe Abley 2000 November 27 AGGREGATE-IOS(1)