Having some problems figuring out how to do this. I have a file that has a template config for my network routers and in this config is a list of my access lists. I need help finding a way to verify if a single ip or a range along with the port allowed is in the list. My biggest issue is the range portion, if someone wants to verify if ip block 10.164.98.0/24 for port snmp exists, it should not, because only 10.164.98.0 0.0.0.63 is in there.
Here is a sample of a portion of my config template. I have many more lists, but this sample shows a part of everything.
Hi all,
Please tell me how to verify weather it is a ebcdic file or not . I checked with file commond but it is giving like International Language text.
Regards,
Chaitu (0 Replies)
I am seeking help on one UNIX function writting. Please help.
I have a large file, named 'MyFile', It was tab-delmited. I am told that each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. How do I use shell functions (and standard LINUX/UNIX filters) to verify... (1 Reply)
I am seeking help on this UNIX function, please help. Thanks in advance.
I have a large file, named as 'MyFile'. It was tab-delmited, I am told that each record in column 1 is unique. How would I verify this with UNIX function or command? (1 Reply)
I re-post my question to seek your help and critique. I was required to verify a very large and tab-delimited file, named 'MyFile'.
1. The each line in 'MyFile' has 7 columns, and that the values in the 5th column are integers. I need to use shell functions (and standard LINUX/UNIX filters) to... (1 Reply)
Hello Experts,
I have a script that that transfers a file (via sftp) and it works fine but we ran into a snag where the target server asked for the ssh key and the script didn't know what to do. I want to add some logic to this script that at least sends an email that it didn't complete as... (4 Replies)
Hi,
I am trying to verify that a file exists within an alternate directory. If the file exists, it will execute a copy command...if it does not, it should exit the script.
I tried the <test> command and the but keep coming up with syntax errors.
I am coding in C Shell and the file... (5 Replies)
I am just a newbie to perl scripting. I need help with listing of hexadecimal numbers in a column as follows.
INPUT FIle:
08AF ship steel
08B0 ship steel
08B1 ship steel
08B2 flight docs
08B3 flight docs
08B4 flight docs
08B5 flight docs
08B6 flight decl ... (3 Replies)
Here is my sample data
Test.txt
column 1|columne 2|columne 3|columne 4
test|test||test
test|test|test|
test||test|test
test|test|test|test
|test|test|test
In that example having NULL value of the row 2-column 3,row 3-column 4,row 4 - column 2,row 6- column 1
How i can validate... (5 Replies)
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT OSF1
config
config(8) System Manager's Manual config(8)NAME
config - Builds system configuration files
SYNOPSIS
/sys/conf/config [-k] [-p] [-q] system_name
FLAGS
Creates a define variable 'KDEBUG' that can be used to conditionally compile source code for kernel debugging. Configure the system for
profiling. You must have sources to use this flag. Concatenates and displays all the system configuration files, including any configura-
tion files described in the /sys/conf/NAME.list file.
DESCRIPTION
The doconfig command calls the config command to build a set of system configuration files from a file that describes the sort of system
that is being configured. The config command also takes as input another file that tells it what files are needed to generate a system.
This other file can be augmented by a configuration-specific set of files that name alternate files for a specific machine.
Normally, you should run the doconfig program and not the config command. If you need to issue the config command, be sure to change your
directory to the /sys/conf directory. As an argument to the config command, specify the name of a system configuration file containing
device specifications, configuration options and other system parameters for that specific system configuration. The config command places
all its output files in the directory
The output of config consists of a number of files; each machine type has its own specific set of files. All machine types have a makefile
which is used by make during the system build. Typically, there are also a set of header files which contain definitions of the number of
various devices that will be compiled into the system, and a set of swap configuration files contain definitions for the disk areas to be
used for swapping, the root file system, argument processing, and system dumps.
After running config, you run make depend in the directory where the new makefile was created.
If any other error messages are produced by config, the problems in the configuration file should be corrected and config should be run
again. Attempts to compile a system that had configuration errors are likely to be unsuccessful.
NOTES
The line numbers reported in error messages are usually off by one.
FILES
List of common files used to build the system List of files specific to NAME, where NAME is the value specified for the ident option in the
system configuration file Machine-independent portion of the makefile template used for building kernels from binaries Machine-independent
portion of the makefile template used for building kernels from sources Machine-dependent portion of the makefile template List of machine-
specific files Machine-specific name to major device mapping file
RELATED INFORMATION
Commands: make(1), doconfig(8)
System Administration delim off
config(8)