10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've written a shell script with proper intentation and commenting structure. However, I would like to generate documentation for the shell which I have written. Is there any tool as such to generate it like we have javagen/docgen ?
Arjun (0 Replies)
Discussion started by: arjun_arippa
2. Shell Programming and Scripting
I have two files their format is
File1 - input_file
input_file ... (4 Replies)
Discussion started by: greenworld123
3. Shell Programming and Scripting
Ubuntu server 11.10
can anybody help what is problem with my shell script?
#script to find out currently logged on user is root or not.
echo "You are super"
echo "You are awesome!"
When I run script, I get following output
./uid: line 3:
I... (4 Replies)
Discussion started by: kaustubh
4. Shell Programming and Scripting
I have a shell script which has few "echo" statements. I am trying to create a logfile where all the outputs of the echo statement sare stored.
I will have to add this as the final step in the existing script so that everytime the script runs, a logfile is generated with all the... (1 Reply)
Discussion started by: shankar1dada
5. Shell Programming and Scripting
I want to write a shell script to list the contents of a directory and number them and write them to a file.
For example, if I have a directory temp and the contents of the directory are alpha, beta and gamma. I want to write these filenames to a file "test" in a numbered manner.
... (7 Replies)
Discussion started by: grajp002
6. Infrastructure Monitoring
Good morning to you all
I´m kinda of a noob to scripting, and my knowledge is still very basic: anyway, I´ve developed a small .sh script with the following purpose:
- it will check a result file, checking if it has any values, or if it´s empty
- if it´s empty it will send an email
What... (0 Replies)
Discussion started by: zarahel
7. Shell Programming and Scripting
Can someone help me write this shell script?
I am completely new to shell and as a fun task my uncle has challenged me a problem (out of all other people). Basically, all he wants me to do is to create backup file in a folder that is named “disables.”
This is what he said: create a shell script... (0 Replies)
Discussion started by: hotcutiepie05
8. Shell Programming and Scripting
I need to generate 4 digit random no using only shell script.
Please help in this ASAP.
Thanks in advance...
sridhar. (1 Reply)
Discussion started by: sridhusha
9. Shell Programming and Scripting
My problem looks like it should have a simple solution but it seems that after many days of research I cannot find a good solution. What I have is an input file that contains lines of information. What I need is to extract specific information from that file. What I know is that somewhere in the... (2 Replies)
Discussion started by: eback
10. UNIX for Dummies Questions & Answers
I would like to generate an xml file from the output of various commands generated from within a shell script (some will be in CDATA).
At the moment the only solution I have come up with is echoing xml tags around the commands eg.
echo "<bitism>" >> outputfile
/usr/sbin/prtconf... (1 Reply)
Discussion started by: speedieB