10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to write a script (in bash) that copies the content of the first file in each folder of a directory to the second file in the same folder. I tried this and it didn't work - it just came back with errors and I'm not sure how to fix it. Help is very much appreciated!
for mpdir in... (4 Replies)
Discussion started by: LeftoverStew
4 Replies
2. UNIX for Dummies Questions & Answers
I'm unable to list the contents of a directory once I move into it. I have full permissions on this directory (called "Scripts" in the below example). The scenario is shown below in detail:
Command 'ls' works fine to begin with:
1: pmn@linuxhost /home/pmn > cd /opt/smt/proiv
2:... (4 Replies)
Discussion started by: pmn
4 Replies
3. Shell Programming and Scripting
Hello everyone,
I have about 1500 compact discs of seismic data that I need to retrieve and place onto the hard drive so that I can index and process them.
The data was generated at 20 seismic stations and each disc has a been assigned unique name. The name is NOT necessarily what is on the... (7 Replies)
Discussion started by: ws6transam
7 Replies
4. Shell Programming and Scripting
Hi,
I am stuck up with a problem of copying the contents of a directory where one of the folder name is changed daily.
Problem:
I have the folder structure as:
RefWorlds2/LINGCC4_X64/odsdev/odessy/UTI/621GA_build_xxx/.../..
In the above path the build number (xxx) will be changed... (3 Replies)
Discussion started by: SathaKarni
3 Replies
5. Shell Programming and Scripting
Hi All,
I want to edit my gate level netlists by searching for the content between two patterns
eg:
ff1 \test/a0 ( .CLK(\test/ClkInt0_acb_00x1 ),.D(\test/Rakicc ), .QB(\test/X ), .VDD(1'b1), .VSS(1'b0));
ff1 \test/a1 ( .CLK(\test/medis0_acb_00x1 ),.D(\test/hedwc ), .QB(\test/X ),... (6 Replies)
Discussion started by: naveen@
6 Replies
6. Shell Programming and Scripting
Hi,
I want to pick contents of a column in a file and copy the contents of this to other column.
awk can be used for this, but the number of fields are higher so awk will not help. Any other way to do this.
e.g following file has some contents a follows
a,b,c,d,e,f,9,0
i need... (4 Replies)
Discussion started by: raman1605
4 Replies
7. Shell Programming and Scripting
I want to capture contents of a file between 2 strings into another file
for eg all lines in between the keywords "start log" and "end log" should be copied into another file (4 Replies)
Discussion started by: misenkiser
4 Replies
8. UNIX for Dummies Questions & Answers
I need to make a new dir in side the dir lab5 the new dir is called testLab5
without changing directories copy all files from your lab5 directory into your testLab5 directory
then i have to
without chaning directories and using exactly one command remove all files that start with the... (1 Reply)
Discussion started by: robsk8_99
1 Replies
9. UNIX for Dummies Questions & Answers
Hello all..
Iam New to Unix Environment. I need to copy .cpio file from CD to a Folder on Sun 5.8 Box.
Can anyone give me the commands to execute this ?..
Thanks in advance
Ron (4 Replies)
Discussion started by: vr76413
4 Replies
10. UNIX for Dummies Questions & Answers
Hi, first post here be gentle. Very new to Unix. Using HP-UX 10.20
I CD into a remote directory on one machine
$ cd /net/remote hostname
yet when I do an ll in this directory none of the contents appear. It just is empty.
when I do the same command from another machine,
$ cd... (13 Replies)
Discussion started by: maddave
13 Replies