9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am beginner in scripting. I wrote a simple script to perform some task. It seem to have some error in command line,
Kindly somebody help.
Thanks
#!/bin/bash
date
cd /home/poojasaxena/Desktop/CMS/script/DataMCMatch
function pause(){
read -p "$*"
}
FILE=$1... (22 Replies)
Discussion started by: nrjrasaxena
22 Replies
2. Shell Programming and Scripting
hi:
I'm trying to write a shell script that recognizes all .txt files in all the subdirectories in my current directory.
Let's say that i have a directory called Applications which consists of many subdirectories on mnay levels.
i want the shell script to look for all .txt files that exist... (14 Replies)
Discussion started by: miss_dodi
14 Replies
3. Shell Programming and Scripting
I'm a noob working on a script to take 3 user inputs. One of them is simply a variable: "poolname". The other 2 are cases: "groupa/groupb" and "enable/disable". "groupa" and "groupb" reference 2 files - groupa.txt or groupb.txt. These files simply consist of a list of server IP addresses and port... (2 Replies)
Discussion started by: *nixnoob
2 Replies
4. Shell Programming and Scripting
I am using a Perl script to open a series of files in a loop, separate the paragraph into lines, and output the lines into a new file. The code works perfectly fine, except when the source file is over a certain size the loop gets stuck and won’t move on to the next file. It still does what it is... (0 Replies)
Discussion started by: renthead720
0 Replies
5. Shell Programming and Scripting
Hi All
I have script that find 777 dir with specific extension like .php .Now after finding all 777 directory i will place in httpd.conf using a directory directive ,Now i was not do that,if directory entry exitst in httpd.conf then script ignor it dont show me at stdout else if it dont find... (2 Replies)
Discussion started by: aliahsan81
2 Replies
6. UNIX for Dummies Questions & Answers
Hi There
I am pretty new to UNIX and have only been using it from a basic point of view,I now want to start using it and learning more , have got a whole lot of books and documentation from the web and am slowly learning.I have written a get script in windows :-
lcd E:\MAIN\PRO\FILES\MAINDB... (1 Reply)
Discussion started by: FOCKER
1 Replies
7. Shell Programming and Scripting
hey i am a bit stuck here. i just started work experience and i need to create a simple script which delete all files in a specify folder which are older then 2 days.
:mad: i tried but it never works!!! anyone! i dont know much but unix since i mostly work on NT here but i dont wanna disapoint my... (2 Replies)
Discussion started by: GermanJulian
2 Replies
8. UNIX for Dummies Questions & Answers
I having problem when I call this cleanupmenu function within a script. It continuously loops and goes to selection * That wasn't a valid selection. I have to kill it everytime to stop it. What am I doing wrong. I use this function menu in several other scripts and I don't have this problem at... (2 Replies)
Discussion started by: darthur
2 Replies
9. Shell Programming and Scripting
hi,
i need help to write script in korn shell that will display info. on system paging, system process table.system file table inf.
thank you (1 Reply)
Discussion started by: neer45
1 Replies