10-30-2013
2 cores, Dual-Core AMD Athlon 2 N330
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm working on formatting some attendance data to meet a vendors requirements to upload to their system. With some help on the forums here, I have the data close. But they've since changed what they want.
The vendor wants me to submit three fields to them. Field 1 is the studentid field,... (4 Replies)
Discussion started by: axo959
4 Replies
2. Shell Programming and Scripting
Below is my script:
#!/bin/sh
#echo "Please type oracle-lower case please:"
#read X
#if ]
#then
# echo "Sorry that is not oracle, try again"
# exit 1
#else
# echo Thank you
#fi
find / -name oracle 2>/dev/null |
while read line
do
bdf 2>/dev/null |... (6 Replies)
Discussion started by: bigben1220
6 Replies
3. Shell Programming and Scripting
Hello everyone,
I need some assistance with what I thought would have been a very simple script.
Purpose of Script:
Script will parse through a source file and modify (search/replace) certain patterns and output to stdout or a file. Script will utilize a "control file" which will contain... (12 Replies)
Discussion started by: packetjockey
12 Replies
4. IP Networking
Hi,
Can anyone explain why do I see same request twice in tcpdump package when I use "tcpdump -i any"?
So I'm tracing packets on eth1.800 interface, but using "tcpdump -i any" to capture them. What I see is that the requests/responses from my side seem to appear as duplicate in the pcap file,... (1 Reply)
Discussion started by: Juha
1 Replies
5. Shell Programming and Scripting
Hi All,
I am looking for an awk script to do the following
Join the fields together only if the first 4 fields are same.
Can it be done with join function in awk??
a,b,c,d,8,,,
a,b,c,d,,7,,
a,b,c,d,,,9,
a,b,p,e,8,,,
a.b,p,e,,9,,
a,b,p,z,,,,9
a,b,p,z,,8,,
desired output:
... (1 Reply)
Discussion started by: aksijain
1 Replies
6. Shell Programming and Scripting
Hi experts,
I need to print the first field first then last two fields should come next and then i need to print rest of the fields.
Input :
a1,abc,jsd,fhf,fkk,b1,b2
a2,acb,dfg,ghj,b3,c4
a3,djf,wdjg,fkg,dff,ggk,d4,d5
Expected output:
a1,b1,b2,abc,jsd,fhf,fkk... (6 Replies)
Discussion started by: 100bees
6 Replies
7. Shell Programming and Scripting
I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
Discussion started by: sljnk
7 Replies
8. Shell Programming and Scripting
My original post did not show up properly. I am trying again.
I have a simple tsch script that does some basic arithmetic. The calculated value was not producing the result I was expecting. I wrote a sample script to illustrate the things that I tried.
#!/bin/tcsh
@ count = 43
@... (3 Replies)
Discussion started by: sgualandri
3 Replies
9. Shell Programming and Scripting
Hi
I have a file as below
<field1> <field2> <field3> ... <field_num1> <field_num2>
Trying to sort based on difference of <field_num1> and <field_num2> in desceding order and print all fields.
I tried this and it doesn't sort on the difference field .. Appreciate your help.
cat... (9 Replies)
Discussion started by: newstart
9 Replies
10. Shell Programming and Scripting
Hi,
I have a text file with some thousands of rows of the following kind (this will be referred to as the inputFileWithColorsAndNumbers.txt):
Blue 6
Red 4
Blue 3
Yellow 4
Red 7
Colors in the left column and a number in the right one for each line. I want to run an awk... (5 Replies)
Discussion started by: Zooma
5 Replies
LEARN ABOUT SUSE
bootloader::core::lilo
Bootloader::Core::LILO(3) User Contributed Perl Documentation Bootloader::Core::LILO(3)
NAME
Bootloader::Core::LILO - LILO library for bootloader configuration
PREFACE
This package is the LILO library of the bootloader configuration
SYNOPSIS
use Bootloader::Core::LILO;
"$obj_ref = Bootloader::Core::LILO->new ();"
"$files_ref = Bootloader::Core::LILO->ListFiles ();"
"$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);"
"$files_ref = Bootloader::Core::LILO->CreateLines ();"
"$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);"
"$status = Bootloader::Core::LILO->InitializeBootloader ();"
DESCRIPTION
"$obj_ref = Bootloader::Core::LILO->new ();"
Creates an instance of the Bootloader::Core::LILO class.
"$files_ref = Bootloader::Core::LILO->ListFiles ();"
Returns the list of the configuration files of the bootloader Returns undef on fail
"$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);"
Parses the contents of all files and stores the settings in the internal structures. As first argument, it takes a hash reference, where
keys are file names and values are references to lists, each member is one line of the file. As second argument, it takes a boolean flag
that, if set to a true value, causes it to skip updating the internal device_map information. Returns undef on fail, defined nonzero
value on success.
"$files_ref = Bootloader::Core::LILO->CreateLines ();"
creates contents of all files from the internal structures. Returns a hash reference in the same format as argument of ParseLines on
success, or undef on fail.
"$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);"
Updates the settings in the system. Backs original configuration files up and replaces them with the ones with the '.new' suffix. Also
performs operations needed to make the change effect (run '/sbin/lilo'). Returns undef on fail, defined nonzero value on success.
"$status = Bootloader::Core::LILO->InitializeBootloader ();"
Initializes the firmware to boot the bootloader. Returns undef on fail, defined nonzero value otherwise
perl v5.12.1 2009-08-03 Bootloader::Core::LILO(3)