9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Can anyone help me how do perform below requirement in unix.
Step1:we will receive multiple files weekly with same name(as below) in a folder(In folder we will have other files also def.dat,ghf.dat)
Filenames:
1) abc_20171204_052389.dat
2)abc_20171204_052428.dat
DON'T modify... (23 Replies)
Discussion started by: sunnykamal59
23 Replies
2. Shell Programming and Scripting
hi this is a homework assignment i need some help with
it mostly works.
script file
#!/usr/bin/env bash
#create dictionary file
grep -E '.{3}' /usr/share/dict/british-english > db.txt
#create remove_word to test file
touch removeW.txt
#palindrome function
palin()
{
... (1 Reply)
Discussion started by: crepe6
1 Replies
3. Shell Programming and Scripting
Hello gurus,
I produce a number of .loc files in parallel depending on number of .csv in the folder
for file in *csv
do
./process.sh $file > $file.loc &
done
then I want to compile all the output from the previous step into a single masterlocfile and then perform the rest of the steps... (2 Replies)
Discussion started by: senhia83
2 Replies
4. Shell Programming and Scripting
Hello, I'm new to this forum. Did a search but I didn't quite find what I was looking for. This is probably a fairly easy request but I'm just not sure how to accomplish this.
I have a folder structure that looks something like this:/names/company1/archive
/names/company1/newarchive
... (4 Replies)
Discussion started by: vipertech
4 Replies
5. Shell Programming and Scripting
I'm trying to get a script to iterate of an array in bash run a series of commands in those folders.
#Folder names
folders=(folder1 folder2 folder3)
#Common path for folders
fold_path="/Users/Rich/Projects/"
# For each element array copy script to folder and execute
for f in... (2 Replies)
Discussion started by: 3therk1ll
2 Replies
6. Shell Programming and Scripting
Hi,
I wrote a simple script, which will call other scripts or run commands on a UNIX server. my script has multiple steps/commands with some delay in between.
I usually get some email notifications after the successful execution of each step.
**My intention is to get email alerts when it is... (5 Replies)
Discussion started by: System Admin 77
5 Replies
7. 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
8. Shell Programming and Scripting
Hi,
I am trying to call a certain command from within a shell script, but everytime it executes the script, only the first command runs and it comes out of the control, how do i do it?
code :
````````
#!/bin/sh
#
#
#i=1
#while
#do
# i=`expr $i + 1`
#done
StoreXML -project xnat -l... (2 Replies)
Discussion started by: virendra maloo
2 Replies
9. UNIX for Advanced & Expert Users
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies