10 More Discussions You Might Find Interesting
1. Programming
Here is my select that I have to identify the child records that are Open (e.c7 < 6000) when the parent (t2068) c.c7 > 3
SELECT c.c1000000161,
c.c7,
c.c1000000019,
e.c1000000829
FROM
t2068 c INNER JOIN t1533 e ON e.c1000000829 = c.c301572100
where
c.c7 > 3... (2 Replies)
Discussion started by: newborndba
2 Replies
2. Shell Programming and Scripting
Guys,
Running on Linux Ubuntu.
I need to find a method to automatically update all the rows for 2 columns and only if the rows not null.
e.g : based on the example data below, I want to update all rows under column 2 and 3 (COL2, COL3) with an increment of 1 and only if the value is not... (7 Replies)
Discussion started by: faizalms
7 Replies
3. Shell Programming and Scripting
Hello,
I want to check the value of all MySQL columns.(column name is "status") via bash script.
If value is "0" at I want to make only single column value to "1"
I have many "0" values on mysql database(on "status" column)
"0" means it is a draft post. I want to publish a post. I... (2 Replies)
Discussion started by: tara123
2 Replies
4. Shell Programming and Scripting
I Have a file a.txt in the below format
1 23 50
1 25 6666666666666
1 23 34
If the third column value is greater than two digit then make it 0
New Data File
---------------
a.txt
1 23 50
1 25 0
1 23 34
Need your help regarding this (5 Replies)
Discussion started by: deep_kol
5 Replies
5. Shell Programming and Scripting
I have to update my file from server file.
Server file A on location
serverfile="/orf/ddl/plokall/fileA"
myfile=""/orf/ddl/plokall/myupdatedfile"
fileA:
KALKIKLOKPO001 10.1
HFJFKSLOKPO002 11.4
POLKAK5143 184.3
POLKJI5144 107.5
OKILDL5145 107.10
CVT0909 10.11
KJL0405... (3 Replies)
Discussion started by: asavaliya
3 Replies
6. Shell Programming and Scripting
I need to update a text file within a loop so that the value is added creating a new column at the end. I cannot use paste because I dont know the number of files. If I use >> the value is added after the last row. Please help.
For example:
Input file:
Column 1 Column2
- ... (2 Replies)
Discussion started by: Surabhi_so_mh
2 Replies
7. Shell Programming and Scripting
Hi all
I am new to scripting and i have an application from which i will export into a csv file as follows
Column1, Column2, Column3
Sno1, Folder\Test.txt, Fail
Sno2, Folder\Test1.txt, Pass
Sno3, Folder\Test2.txt, Fail
Now i need to change the column2 in all the rows from "Folder\"
... (1 Reply)
Discussion started by: rajeshrp
1 Replies
8. Shell Programming and Scripting
Hi All,
I need to write a shell script in UNIX that should accept booking number as an argument and update it with value "NULL" if the transaction date is greater than 2 years. Booking number and transaction_date are the two columns of the table table_booking.
Something like this, through... (3 Replies)
Discussion started by: shilpa_acc
3 Replies
9. Shell Programming and Scripting
I have two files:
fileA
a,b,c,10,apple
a,b,c,20,orange
a,b,c,10,grape
d,e,f,5,pear
d,e,f,100,pear
x,y,z,15,lemon
x,y,z,20,apple
x,y,z,30,grape
fileB
a,b,c,20
d,e,f,100
x,y,z,30
If col1=col1,col2=col2 and col3=3 of fileA to fileB, then take value in 4th col of fileB and replace... (5 Replies)
Discussion started by: giannicello
5 Replies
10. UNIX and Linux Applications
I am running a Informix-4GL program to insert/update/delete on a particular table (say xxx). Now I want to create a logfile in unix which will store the affected data(say xxx.*) along with user information (say uname,IP address etc.)
what command I should use from Informix-4GL ?
I have tried the... (0 Replies)
Discussion started by: subhamukh
0 Replies
UPDATE-INITRAMFS(8) update-initramfs manual UPDATE-INITRAMFS(8)
NAME
update-initramfs - generate an initramfs image
SYNOPSIS
update-initramfs -c|-d|-u [-k version] [-t] [-v] [-b] [-h]
DESCRIPTION
The update-initramfs script manages your initramfs images on your local box. It keeps track of the existing initramfs archives in /boot.
There are three modes of operation create, update or delete. You must at least specify one of those modes.
The initramfs is a gzipped cpio archive. At boot time, the kernel unpacks that archive into RAM disk, mounts and uses it as initial root
file system. All finding of the root device happens in this early userspace.
OPTIONS
-k version
Set the specific kernel version for whom the initramfs will be generated. For example the output of uname -r for your currently
running kernel. This argument is optional for update. The default is the latest kernel version.
The use of "all" for the version string specifies update-initramfs to execute the chosen action for all kernel versions, that are
already known to update-initramfs.
-c This mode creates a new initramfs.
-u This mode updates an existing initramfs.
-d This mode removes an existing initramfs.
-t Allows one to take over an custom initramfs with a newer one.
-v This option increases the amount of information you are given during the chosen action.
-b Set an different bootdir for the image creation.
-h Print a short help page describing the available options in update-initramfs.
EXAMPLES
Update the initramfs of the newest kernel:
update-initramfs -u
Create the initramfs for a specific kernel:
update-initramfs -c -k 2.6.18-1-686
FILES
/etc/initramfs-tools/update-initramfs.conf
AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
SEE ALSO
initramfs.conf(5), initramfs-tools(8), mkinitramfs(8).
Linux 2008/12/19 UPDATE-INITRAMFS(8)