10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to write a shell script that will go to another folder and run the script in that folder. The folder structure is kind of like this:
/MainFolder/
|-> MainShellScript.sh
|
|-> Folder1/
|-----|-> script1.sh
|-----|-> FileToRun1.jar
|
|-> Folder2/
|-----|-> script2.sh... (3 Replies)
Discussion started by: sleo
3 Replies
2. Shell Programming and Scripting
Platform: Oracle Enterprise Linux 6.2
I have several files like below. I want to remove all files except one file
For example , I want to remove all the files below except dasd_91197.trc
$ ls -alrt *.trc
-rw-r----- 1 ecmdev wms 8438784 May 7 21:30 dasd_91177.trc
-rw-r----- 1 ecmdev wms ... (3 Replies)
Discussion started by: John K
3 Replies
3. Shell Programming and Scripting
Hi,
I want to run a script over a series of files with the names :
Sample_1.sorted.bam
Sample_2.sorted.bam
Sample_3.sorted.bam
How can I specify it in my script. Thanks a lot in advance. (3 Replies)
Discussion started by: Homa
3 Replies
4. Shell Programming and Scripting
hello,
debashish here.Can any body tell me, how to execute tcl files in a C shell. i am working in synopsys tool for synthesis work. plz help me out.:confused::wall:
$ source /packages/synopsys/setup/create_dir_setup.tcl
$ source /packages/synopsys/setup/synopsys_setup.tcl
i want to execute... (1 Reply)
Discussion started by: DEBASHISH DASH
1 Replies
5. Shell Programming and Scripting
Hi
I have many files in a folder (like 200) and I want to run a Perl script through all of them. One way would be to do it one by one (which will take forever). But I am sure there is a faster way of doing it.
So inside the folder i have files named in no particular way
eg.
YUI456... (3 Replies)
Discussion started by: phil_heath
3 Replies
6. Shell Programming and Scripting
Hello,
I would like to run md5sum on a list of files saved in a text file, and save the result in another file. (ie. md5sum `cat list.txt` > md5list.txt)
I have tried several things, but I am always confronted to the same problem: some of the filenames have spaces.
I have run sed on the... (5 Replies)
Discussion started by: SDelroen
5 Replies
7. UNIX for Dummies Questions & Answers
I have a few questions about elf files and how they are executed.
When gcc compiles a elf file it creates an executable. Is this executable then run directly by the hardware or does the kernel get involved, interpret the elf file and place the asm code directly in memory.
Cheers (0 Replies)
Discussion started by: mshindo
0 Replies
8. UNIX for Dummies Questions & Answers
I want to run a server program that I wrote in java on my unix shell. The file has the .jar extension. I've loaded the file onto my unix shell but I can't seem to figure out how to run it. Is this possible? if so, how do I go about doing that? (1 Reply)
Discussion started by: Enduser
1 Replies
9. Shell Programming and Scripting
i want to run few c object files one after another in one command. Can i write a acript for that. I'm using Sun Solaris.
for example
./prog < input1 >output1 &
./prog <input2 >output2 &
i want the first to finish before starting the nest one and run them in the back ground
thanks.... (5 Replies)
Discussion started by: narom
5 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to find out if a executible file created in visual basic will run in the CGI-BIN of a unix server. I see the C section but no mention of VB.
Thanks
Sean (1 Reply)
Discussion started by: seanstog
1 Replies