10 More Discussions You Might Find Interesting
I have given 3 x 1 TB LUNs to add more swap space in a Solaris 11.3 OS
-bash-4.4# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 303,1 16 8388592 8388592
-bash-4.4# swap -s
total: 84780376k bytes... (5 Replies)
Discussion started by: feroccimx
2. Shell Programming and Scripting
I got a requirement i have a input file which am getting from different source,Now i want to add extra 3 columns to this file like BASE,ACTUAL and DATE.
Input File Looks like
QUAL CHGE TYP LAW COM1 COM2
A 1 X SED HO ASE
B 3 Z CDE SE ... (5 Replies)
Discussion started by: ahmed.vaghar
3. Shell Programming and Scripting
I have a requirement in which i will be given a sql query as input in a file with dynamic number of columns. For example some times i will get 5 columns, some times 8 columns etc up to 20 columns.
So my requirement is to generate a output query which will have 20 columns all the... (7 Replies)
Discussion started by: vikas_trl
4. Shell Programming and Scripting
Hi Tech Guru,
I have a test file as below , which needs some more fields to be populated randomly :
... (8 Replies)
Discussion started by: Lokesha
5. UNIX for Dummies Questions & Answers
I got this requirement to process a complex CSV file.
Line 1: Name:,XYz
Line 2: Age:,15
Line 3: Grade:,7
Line 5: English, Maths, Science,Spanish
As you can see the maximum column is 4 . The file i need to make is
Line 1: Name:,XYz,,... (12 Replies)
Discussion started by: chillblue
6. Shell Programming and Scripting
I have data extracted like this:
A=%123% B=%456% C=%789%
A=%111% B=%222% C=%333%
A=%777% B=%888% C=%999%
Can someone please help me with a script to remove all the % signs and get the totals for A, B and C.
So output will be:
Thank you! (2 Replies)
Discussion started by: tatchel
7. Shell Programming and Scripting
I have created a script which adding two columns and removing two columns for all files.
"1","Cust information","123","106001","street","1-203 high street"
"1","Cust information","124","105001","street","1-203 high street"
... (0 Replies)
Discussion started by: onesuri
8. Shell Programming and Scripting
Couldn't find the solution of this problem. Please Help!
I have a file-
TC200232 92 30
TC215306 2 74
TC210135 42 14
I want an output file in which if column2>column3, the values are swapped and an additional column with value Rev_Com is... (4 Replies)
Discussion started by: smriti_shridhar
Actually what am trying to ask is , i have an shell script ,now i want to run this shell script for one hour continuously and after one hour it has to stop automatically.
can any one suggest me how to automate the shell script ?
we tried wth the getting the start time and add ing an hour... (8 Replies)
Discussion started by: lalitka
10. Shell Programming and Scripting
how do i manipulate .csv file to add an extra row after each row using shell script?
I need a blank line added for each 1000 records in my file?
I will then need to copy and paste some data in the blank row created.
thanks 4 ur support
neil (3 Replies)
Discussion started by: neil546