Sponsored Content
Full Discussion: Few script questions
Top Forums UNIX for Dummies Questions & Answers Few script questions Post 8333 by Optimus_P on Wednesday 10th of October 2001 09:23:22 AM
Old 10-10-2001
use sed to rewrite the shadow file.

Or u can use perl. I am rather new to perl so i can not give u any examples. but i am sure w/ perl it would be a few lines to do what you need.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

2 Questions about my process control script

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

2. Shell Programming and Scripting

Shell script fundamental Questions

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

3. Shell Programming and Scripting

A few questions from a newbie(shell script)

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

4. UNIX for Dummies Questions & Answers

script questions

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

5. UNIX for Dummies Questions & Answers

Questions about cron and php script

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

6. Shell Programming and Scripting

how to write a script contain list of questions

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

7. Shell Programming and Scripting

Bash script questions for gurus

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

8. Shell Programming and Scripting

Shell script questions

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

9. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

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

10. Shell Programming and Scripting

One script and some questions

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
INSTALLSIEVE(1) 					      General Commands Manual						   INSTALLSIEVE(1)

 *

NAME
installsieve - user utility for managing sieve scripts SYNOPSIS
installsieve DESCRIPTION
installsieve is a utility that allows users to manage their sieve scripts kept on the server. OPTIONS
-v <name> View script with the given name. The script if retrieved sucessfully is output to standard output. -l List all of the scripts currently on the server. If one of the scripts is active a arrow is printed indicating that it is the active script. -p <port> Port to connect to. If left off this defaults to "sieve" as defined in /etc/services. -i <file> Install a file onto the server. If a script with the same name already exists on the server it is overwritten. Upon sucessfully putting the script on the server the script is set active. If <file> has the extension .script it is chopped when put on the server since sieve names may not contain a '.'. -a <name> Set <name> as the active script. The list of available names can be obtained from the '-l' option.. -d <name> Delete the sieve script on the server with <name>. -m <mechanism> Force installsieve to use <mechanism> for authentication. If not specified the strongest authentication mechanism is chosen. -g <name> Get the sieve script with <name> and save it to disk with a ".script" extension. If a file with that name already exists it is overwritten. -u <user> Userid/Authname to use for authentication; by default, the current user. CMU
Project Cyrus INSTALLSIEVE(1)
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy