10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am new to this forum.
A_NAME=$5
DEPT="abc"
DEPT_NAME="cdf"
echo " Name:" $A_NAME | tee -a ${LOG_FILE_NAME}
echo "dept :" $DEPT | tee -a ${LOG_FILE_NAME}
echo "dname :" $DEPT_NAME | tee -a ${LOG_FILE_NAME}
echo "parse_parms done" | tee -a ${LOG_FILE_NAME}... (11 Replies)
Discussion started by: Boost
11 Replies
2. Shell Programming and Scripting
Hello,
Using bash script, i need to process the following file:
887,86,,2013-11-06,1,10030,5,2,0,200,,
887,86,,2013-11-05,1,10030,5,2,0,199,,
887,138,,2013-11-06,1,10031,6,2,0,1610612736,,
887,164,,2013-11-06,1,10000,0,2,0,36000,,
and to create a new file such as the below
... (2 Replies)
Discussion started by: JonhyDeep
2 Replies
3. Shell Programming and Scripting
Hi All,
Could any one help me with a shell script which will create different sub folders in a folder and of which the sub folders names should be taken from a text file.
Thanks (1 Reply)
Discussion started by: chetansingh23
1 Replies
4. UNIX for Dummies Questions & Answers
Hi.
I am not sure how to solve this problem and if it is possible to do so with scripting. :wall:
Let's say I have this data:
A 12345 12360
A 12359 12380
A 12381 12390
A 12400 12450
A 12451 12460
B 23456 23460
B 23470 23480
B 23477 23505
I wan't each line to be compared in this... (5 Replies)
Discussion started by: danieladna
5 Replies
5. UNIX for Dummies Questions & Answers
hi again,
having an issue with the code here because it doesnt work :D
can someone point what and how to change, please.
#!/bin/bash
#create directory mylabs, inside create 6 directories named by user.
DIR1="$1"
DIR2="$2"
if ; then
echo -n " there is a folder named mylabs,
what... (1 Reply)
Discussion started by: me.
1 Replies
6. Shell Programming and Scripting
hello there,
I have a file called foldermasklist.txt
have
Aayush 1 source1/checksum
Aayush 0 source2/checksum
flexing 1 source1/source2/checksum
flexing 1 time1/checksum
in the format
<parentfolder><flag><subfolders>
script needs to read the flag if it's 1 then folder needs... (2 Replies)
Discussion started by: manas_ranjan
2 Replies
7. Shell Programming and Scripting
Hi
I want to write a small script that will create folders named from `AAAA' all the way to `ZZZZ'.
That is:
`AAAA'
`AAAB'
`AAAC'
...
`AABA'
`AABB'
`AABC'
...
`ABAA'
`ABAB'
`ABAC'
...
`ABBA'
...
`ZZZZ' (4 Replies)
Discussion started by: ksk
4 Replies
8. Shell Programming and Scripting
Hi everyone,
I'm stuck with this scenario where our system creates files every night and puts them in several folders according from whom it came from.
I have managed to create a script which will list the folders in one column and the files that are in them in another column, now my problem... (6 Replies)
Discussion started by: kumaran21
6 Replies
9. Shell Programming and Scripting
hi champs,
i have folders structure up to log is there , which is as below,
app
|
|---version-4.1
| |----bin
| | |
| | |-----a.sh
| | |-----b.sh
| |
| |----log
|
|
\---version (symbolic link to version-4.1)
but i want to create another folder... (2 Replies)
Discussion started by: manas_ranjan
2 Replies
10. Shell Programming and Scripting
Hi,
Can any one help me how to create folders using shellscript.My requirement is:
FolderName: Main/Main1
:Main/Main2
:Main/Main3
underSubFolder : Main1/A
:Main1/B
:Main1/C
underSubfolder: A/A1
... (2 Replies)
Discussion started by: ram2s2001
2 Replies