10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wish to take a backup of the file when someone tries to modify a file say /tmp/test.txt using vi, vim, cat, copy, mv commands.
I'm aware of inotify which will notify me of any changes to the file however, I wish to make a backup before and not after the changes are made to the file.
I... (1 Reply)
Discussion started by: mohtashims
2. Shell Programming and Scripting
I have text data that looks like this,
6 6 0 0 0 0 999 V2000
-0.4018 1.9634 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.1163 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.1163 0.7259 ... (9 Replies)
Discussion started by: LMHmedchem
3. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
4. Shell Programming and Scripting
I have a file that consist of around six million line, now the task is to divide this file into 12 small file so that each file would have half a million lines in it.
Thanks. (3 Replies)
Discussion started by: mukulverma2408
5. Shell Programming and Scripting
I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common
... (2 Replies)
Discussion started by: anuragpgtgerman
6. Shell Programming and Scripting
I have written a small script from that iam appending the output to a file.If multiple users invoke the same script or if i invoke the same script n number of times (using &), the output file(ZZ/OUT) contains messup information.
echo "Hello" >> /tmp/ZZ/OUT
echo... (4 Replies)
Discussion started by: blrguest
7. Shell Programming and Scripting
I wanna call a batch file from a make file. Doesn't work , what is the procedure to do this.? Any idea
thanks:eek: (2 Replies)
Discussion started by: krishnampkkm
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
9. Shell Programming and Scripting
Pls help me on this. I have to 2 files like shown below:
What i want to do is to paste both file to a new file on thir format:
I tried cat and print, but it doesn't work. Cn... (6 Replies)
Discussion started by: kingpeejay
10. Shell Programming and Scripting
I am trying to compare two file and make changes where ever its different.
Contents of file1
Contents of file2
NOTE HERE THAT NM IS DIFFERENT
So i want the changes... (6 Replies)
Discussion started by: pradeepreddy