02-20-2008
Thank u manikantants..
I need other then system commands... Plz send with example...Thank u for replying my msg...
sundar
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
I want to include some shell commands in my c program in linux.
please help..
thanks in advance
esham (5 Replies)
Discussion started by: esham
5 Replies
2. Shell Programming and Scripting
Dear Experts
I am trying to find if it is possible to combine unix commands in awk program. For example if it is possible embed rm or ls or any unix command inside the awk program and while it is reading the file besides printing be able to do some unix commands. I am thinking may be just print... (2 Replies)
Discussion started by: Reza Nazarian
2 Replies
3. Shell Programming and Scripting
Hi,
I am an absolute beginner in Unix and I need to send a commands to a program
I have created a script that will let me login to the program, however, i cannot get the script to send commands to this program.
When the cript logs into the program, the display/ prompt is as follows:
1>... (1 Reply)
Discussion started by: the_m4ch1ne
1 Replies
4. UNIX for Dummies Questions & Answers
I have to
Write a program in C that recognizes the following commands and translates them into much simpler ones
Commands to recognize shorter command
list L
cd dir C - dir_length - dir
get file_name G - file_name_length - file_name
Long commands are read from the standard input and... (1 Reply)
Discussion started by: aintour
1 Replies
5. Homework & Coursework Questions
I have to
Write a program in C that recognizes the following commands and translates them into much simpler ones
Commands to recognize shorter command
list
L
cd dir
C - dir_length - dir
get file_name G - file_name_length - file_name
Long commands are read from the standard input... (1 Reply)
Discussion started by: aintour
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have to run two commands one after another from a c program. How can i do this with exec system calls. i tried giving them as argument to execv but it is not working.please help
thanks (3 Replies)
Discussion started by: suryashikha
3 Replies
7. Shell Programming and Scripting
Hey,
So I'm trying to write a program in unix to automate a process for my astrophysics research.
Basically I want the program to prompt the user for some information and store the entered string of text as a variable. I know how to do this.
This is where I need help:
Now lets say I have a... (4 Replies)
Discussion started by: freemoniez
4 Replies
8. Shell Programming and Scripting
I have a program dnapars
I execute the program from command line as following:
./dnapars
The program then prompts me some message as a user menu from where I have to select a series of options in the order R U Y R. And then I copy the output file (outfile) in another result file.
I wrote the... (3 Replies)
Discussion started by: deeptisjains
3 Replies
9. Shell Programming and Scripting
Hi,
I have coded a program in Haskell using the compiler Hugs and the program requires multiple commands (with parameters) to be entered into it, it then outputs the result of its execution. I need to test a lot of different options (i.e. the parameters) so it would be obvious to automate the... (0 Replies)
Discussion started by: tz742
0 Replies
10. Shell Programming and Scripting
Hi
I have a program
int main(int srgc, char *argv)
{
for(int i=1; i<50; i++)
{
system("dd if=/dev/zero of=file$i bs=1024 count=$i");
}
return 0;
}
My doubt is how to use the "$i" value inside C code
Please help (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
imapd(8) System Manager's Manual imapd(8)
NAME
imapd - Internet Message Access Protocol (IMAP) server process
SYNOPSIS
/usr/sbin/imapd
DESCRIPTION
The IMAP4rev1 server, imapd, accepts commands on its standard input and responds on its standard output. It is normally invoked by the
inetd command and it reads its configuration options out of the imapd.conf file.
If you want to take the IMAP server off line for a period of time, you should notify the client systems. To do this, create a msg/shutdown
file, edit it, and state the reason for the shut down. Set the owner of the msg directory and the shutdown file to be the imap user. When
a client system tries to access the server, imapd sends the first line contained in the shutdown file to the client and closes the connec-
tion.
If you want to send a message to the IMAP clients without disabling connections, create a msg/motd file, edit it, and add your message.
Set the owner of the msg directory and the motd file to be the imap user. The server sends the first line contained in the file to the
clients upon connection as an ALERT message, which IMAP-compliant clients are required to display. Access to mailboxes is unaffected.
For debugging purposes, create a log/user directory. When this directory exists, the imapd daemon creates protocol telemetry logs for ses-
sions authenticating as user. The telemetry logs are stored in the log/user directory with the file name of the imapd process id.
The msg/shutdown and msg/motd files and the log/user directory should be created under the directory specified in the configdirectory con-
figuration option of the imapd.conf file. The default value is /var/imap, as in /var/imap/msg/motd.
FILES
Configuration file for the IMAP server
SEE ALSO
Commands: cyradm(1), deliver(8), imapd(8), imapquota(8), inetd(8), reconstruct(8)
Files: imapd.conf(4)
Network Administration
imapd(8)