10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
requirement : I need to read a text file and find out which particular line has highest charcters on it using the shell script.
I tried & was able to find out only for one line. I could not able to find out for the entire the line.
sed -n '10 p' ctstest.sh | wc -w
Please guide me... (5 Replies)
Discussion started by: ramkumar15
2. Shell Programming and Scripting
I am new in ksh scripting and if anyone can help that would be great.
I'm writing a script which will SSH to several machines and then would append a certain file from a NAS to the /etc/sudoers file
the problem i am having is after the script connects to a certain server the commands are... (7 Replies)
Discussion started by: galuzan
3. Shell Programming and Scripting
I have deployed a servlet on my server and the u r l is
localhost:9080/ ExampleApp / TestJackServlet
This works fine when i launch this URL from the browser
I am looking for shell script to hit the servlet or hit the URL without launching the browser session.
I... (3 Replies)
Discussion started by: jack3698
4. Shell Programming and Scripting
Hey all, I need some assistance. I'm writing a script to eject tapes from a tape library, but the library is not a queued system and can only eject 15 tapes at a time.
I added paste -d : -s so that it goes through full_tapes and puts each media_id on one line separated by the :.
Now I'm... (2 Replies)
Discussion started by: em23
5. Shell Programming and Scripting
I am looking for a shell script or command to automate a process of opening many files in a directory and changing a string of text. Example:
I have a apache web server that uses virtual hosting. There are approximately 2300 vhost entries or files. So in the directory... (2 Replies)
Discussion started by: jaysunn
6. Shell Programming and Scripting
I work on AIX 5.x.
I have a script which does lot of processing & calls multiple child scripts.
How do I capture the error of the parent script if it fails?
Sumeet (3 Replies)
Discussion started by: sumeet
7. Shell Programming and Scripting
When I run this command (showstatus <username> <dbname>) in the prompt, the following will be displayed in the screen:
1. Show processes
2. Start process
3. Stop process
4. Go back to prompt
Once i choose/type Option "1" (which is Show processes), it will display the list of processes... (5 Replies)
Discussion started by: xinoo
8. Shell Programming and Scripting
Result of my script is coming out to be as mentioned in the below format.
Modified records are as follows
@abc.core.admin.jonas_user@ = value221
@abccsd.core.admin.pltf_name@ = valuee991
I need to get... (3 Replies)
Discussion started by: shahidbakshi
9. Shell Programming and Scripting
please advise..very urgent.
purpose of my script is that it should generate a report by running a sql script which is stored in a directory and pull the information from DB.script shld be in such a way that I just need to pass a parameter and it shld generate the report and store it in a... (1 Reply)
Discussion started by: complicated
10. Shell Programming and Scripting
I am very new to Unix. I need to write a script that will grep some files, etc. When I write the script, do I need to know what shell I am using? If so, how do I do that? (1 Reply)
Discussion started by: ssmiths001