10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, guys,
With some guys' help, I made a shellscript used to create new users(attached at the bottom).
I have some questions:
a). I need to prompt users to enter their password in my script, but when users type in their password, it's visible on screen. Is there any ways to hide the STDIN or... (4 Replies)
Discussion started by: franksunnn
4 Replies
2. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
3. Shell Programming and Scripting
Hello.
I am a beginner and I need to create a script that goes:
There are several library where there are compressed files. I have to decompress all files that start with 'XA%' and retrieve all rows that contain 'CSSF' and copy this to a file.
Can anyone help me? Thank you in advance :) (5 Replies)
Discussion started by: papou5480
5 Replies
4. Shell Programming and Scripting
guys,
I need a steer in the right direction for this issue. it would be great if anyone of you can help me out.
i have a textfile where i want to swap the lines based on the user input.
The textfile is looks like the
#file 1 name
TB
#file 1 ID
1000
#
#file for ID1 system1... (3 Replies)
Discussion started by: mayi
3 Replies
5. Shell Programming and Scripting
hi
i want to write a script that contain questions upto 50..when i run the script it has to ask the questions one by one with options like a,b,c,d and user has to answer the each question and finally result (contain how many user selected correctly)
please help me...i need hints to do....... (8 Replies)
Discussion started by: srinivas2828
8 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to set up a php script that runs via crontab on a server. I've never done anything like this before.
My questions:
1) I want the crontab to run the script everyday from 3:58 PM to 4:13 PM EST. How is that written in crontab?
2) The command I want crontab to run is: php -q... (3 Replies)
Discussion started by: colin72
3 Replies
7. UNIX for Dummies Questions & Answers
Does anyone know how to use shell scripts to write the following
if input is
a
b
c
d
I wnat output as
d
c
b
a
Thanks (2 Replies)
Discussion started by: james94538
2 Replies
8. Shell Programming and Scripting
Q1>How do i read and write to file in shell script. Here is what i want let's assume the filename as "file1"
Read file1
Check the content of file1 which can be either "0" or "1"
if(content == 0)
{
execute a command
}
flush file1(remove all contents in it)
write "1" in to... (5 Replies)
Discussion started by: perk_bud
5 Replies
9. Shell Programming and Scripting
Hi
Can u please guide me to understand following script :
$JAVA_HOME/bin/java -cp $CLASSPATH -Djava.naming.factory.initial=weblogic.jndi.T3InitialContextFactory -Djava.naming.provider
.url=$INITIAL_CONTEXT_PROVIDER -Djava.naming.security.principal=system... (2 Replies)
Discussion started by: pankajkrmishra
2 Replies
10. Shell Programming and Scripting
Hi all,
My tiny mind is struggling with the following script that shuts down Tomcat on Sol. 8 and kills any defunct processes Tomcat might leave behind (as it so often does). I realize that fixing Tomcat would be best, but this is a band-aid so I won't have to do as much off-hours support of... (3 Replies)
Discussion started by: dkaplowitz
3 Replies