9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Group,
I have following input:
sa;sb;sc;sd;period;ma;mb;mc;md;me
sa1;sb1;sc1;sd1;200001;ma1;mb1;mc1;md1;me1
sa2;sb2;sc2;sd2;200002;ma2;mb2;mc2;md2;me2
sa3;sb3;sc3;sd3;200003;ma3;mb3;mc3;md3;me3
first line contains the headers!
I want to create with one pass the following output:... (8 Replies)
Discussion started by: suturjik
8 Replies
2. Shell Programming and Scripting
(3 Replies)
Discussion started by: Rishabh Jain
3 Replies
3. Shell Programming and Scripting
This is what I was trying but failed to do so need help.
cat 1.sql | awk '{printf("%s",NR%4 ? $0",":$0"\n")}'
Output :-
I want to add 2 more values for each line (hostname,user name) so the output should have hostname & username (testsrv01,test1)
Output should be like... (4 Replies)
Discussion started by: lazydev
4 Replies
4. Shell Programming and Scripting
Dear All
I have a text file which has many columns (>10,000). I want to create a new text file which will NOT include following columns: 5,15,105,200. How can I do that in shell (or awk, perl)? Thanks. (6 Replies)
Discussion started by: littlewenwen
6 Replies
5. AIX
Hi all,
my first post. Be kind to me and to my english writing (i'm french) :)
During mksysb backup, some files are moving. I don't know yet which files (i'm starting a new job). For now, i'm wondering which fs are mandatory for a mksysb backup.
Currently, hereafter the content of rootvg :... (5 Replies)
Discussion started by: Fundix
5 Replies
6. Shell Programming and Scripting
I have following text:
NAME=ora.LISTENER.lsnr
TYPE=ora.listener.type
TARGET=ONLINE , ONLINE , ONLINE , ONLINE
STATE=ONLINE on host1, ONLINE on host2, ONLINE on host3, ONLINE on host4
NAME=ora.LISTENER_1525.lsnr
TYPE=ora.listener.type
TARGET=ONLINE ... (2 Replies)
Discussion started by: rcc50886
2 Replies
7. Shell Programming and Scripting
I have an awk script which can be used in the following ways:
xi and xf will only be mandatory when processing the file fin.zc.
awk -v xi=0/-0.5 -v xf=80/30 -f ./zc2cmd.awk fin.zc > fout.cmod
awk -f ./zc2cmd.awk -u
awk -f ./zc2cmd.awk --usg
awk -f ./zc2cmd.awk -e
awk -f ./zc2cmd.awk... (1 Reply)
Discussion started by: kristinu
1 Replies
8. Shell Programming and Scripting
Hi Friends,
Please help me in finding the solution for this :
I have a file as below :
CuDv:
name = "hdisk0"
status = 1
chgstatus = 2
ddins = "scsidisk"
location = ""
parent = "vscsi0"
connwhere = "830000000000"
PdDvLn... (3 Replies)
Discussion started by: vijaya2006
3 Replies
9. Shell Programming and Scripting
I have 2 files - fileA and fileB
I need to match the first field of the 2 files then output some of the fields from fileA on the same line as certain fields from fileB.
There will be instances where fileB does not have a match for first field in fileA
Thanks in advance (8 Replies)
Discussion started by: Mudshark
8 Replies
KSC(1) User Commands KSC(1)
NAME
ksc - Linux kernel module source checker
SYNOPSIS
ksc [ -d | --directory ] DIRECTORY
ksc [ -k | --ko ] FILE
OPTIONS
KSC accepts command-line arguments, and has both a long and short form usage. You can use either style or combine them to specify
options. When the tool is run with kernel module sources it checks for all four architectures, and when run with binary kernel modules, it
checks for the specific architecture for which the binary was built.
Valid RHEL whitelist releases are rhel6.0, rhel6.1, rhel6.2, rhel6.3, rhel6.4
-h, --help
show this help message and exit
-c CONFIG, --config=CONFIG
path to the local ksc.conf file. If not specified the tool tries to read from ~/ksc.conf and if that is also not found then from
/etc/ksc.conf
-d DIRECTORY, --directory=DIRECTORY
path to the directory
-i, --internal
to create text files to be used internally.
-k KO, --ko=KO
path to the ko file. You should either use -d or -k to run the KSC tool, but not both. If both -d and -k option is used at the
same time then only -d is used and the -k option is discarded.
-n RELEASENAME, --name=RELEASENAME
Red Hat release against which the bug is to be filed. Default value is 6.5
-p PREVIOUS, --previous=PREVIOUS
path to the previous resultset file and submit it as a bug to Red Hat Bugzilla.
-r RELEASE, --release=RELEASE
RHEL whitelist release used for comparison
-s, --submit
Submits the report to the Red Hat bugzilla (https://bugzilla.redhat.com). The credentials need to be in the /etc/ksc.conf file. The
tool will prompt for bugzilla password.
The configuration file looks like below:
[bugzilla]
user=user@redhat.com
partner=partner-name
partnergroup=partner-group
server=https://bugzilla.redhat.com/xmlrpc.cgi
-v, --version
Prints KSC version number
ksc - Version 0.9.11 Feb 2014 KSC(1)