10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok, so let's say that I have a file like the following:
I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following:
and
etc.
I... (1 Reply)
Discussion started by: Scatterbrain26
1 Replies
2. UNIX for Dummies Questions & Answers
Hi guys, i'm trying to make a file called 'run-all-tests' executable but it is not letting me for some reason. I am presented with the following error: chmod: cannot access `./run-tests': No such file or directory
Basically i have a folder called ex3 and within that there are task folders:... (11 Replies)
Discussion started by: Shyamz1
11 Replies
3. Programming
hi there guys
could someone please, show me how to make a hard link to a file in c language ?
i am using minix. The program below reads the last number from file numbers, adds a one to it and then appends the new number into the file. I use a c script as driver to this program, the c script... (1 Reply)
Discussion started by: surubi_abada
1 Replies
4. Shell Programming and Scripting
Hi power user,
Basically, this thread is a continuation of the previous one :):
https://www.unix.com/shell-programming-scripting/110650-making-connection-nodes-graph.html#post302326483
However, I'm going to explain it again.
I have this following data:
file1
aa A ... (3 Replies)
Discussion started by: anjas
3 Replies
5. AIX
Hi All:
I am a newbie.
I have shell script and bunch of java jar files and I want to give one single executable file (may be .bin).
Ex: I have test.sh, jar1.jar, jar2.jar. I have to make process.xxx
When we run "process.xxx" it will run the "test.sh" script which inturn uses jar1.jar and... (0 Replies)
Discussion started by: laxman123
0 Replies
6. UNIX for Dummies Questions & Answers
Hi Friends,
I'mfacing a problem while doing ftp of a large file.The control session is getting closed after sometime.But data session transfers the file successfully even when the control seeion is lost.I need to make the control session available as long as data session is active.
How can i... (1 Reply)
Discussion started by: rprajendran
1 Replies
7. SCO
can i make an iso file from my DAT tape?
pref .ISO?
the thing is ..
i have an 5.0.7 and
a complete backup of hd (cpio cmd) on to tape (find . -depth -print | cpio -oVcB -C 20480 -O /dev/rStp0)
that i made after booting from boot&root floppies
now i want to take this backup and dump it on... (5 Replies)
Discussion started by: asafronit
5 Replies
8. Shell Programming and Scripting
Hi Friends.
I have a file called install.data which has fields like :
XXXXX
ACVCGFFTFY UAHIUH OI
CONNECTION=tape/11/
LOCATAION=08-90-89
SIZE=90
I had to change the values of some of these variables. So i did :
grep "SIZE" instal.data | sed 's/*/00/' ...this is working fine on command... (4 Replies)
Discussion started by: vijaya2006
4 Replies
9. Shell Programming and Scripting
Hello,
I'm new to scripting, I have a file test.dat. I want to make changes to it with out openning it.
Example: test.dat has rows, and I want to change value "LA" to "TX" without opening it or without writing it to another file.
Is it possible?
Thanks (9 Replies)
Discussion started by: irehman
9 Replies
10. Shell Programming and Scripting
sed 's/abc/xyz/g' abc.txt > abc.txt
This change all the abc s in abc.txt to xyz s but does not write back to the abc.txt.
Suggest me the cleaner way without using temp file please.
Cheers,
Amol. (3 Replies)
Discussion started by: amol
3 Replies