12-04-2008
no need to remove..just rename the file will do
10 More Discussions You Might Find Interesting
1. Solaris
Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies
2. Solaris
Hi All,
I need to stop sendmail from running on boot-up. How can I do this on Solaris 8 and 9 sparc?
Please help and that you in advance. (2 Replies)
Discussion started by: itik
2 Replies
3. Solaris
dear all
does any one know how to stop send mail in solaris (6 Replies)
Discussion started by: murad.jaber
6 Replies
4. AIX
Hi
My hacmp version is 5.4 and it is a active passive cluster.
Where can I find the startup and stop scripts?
Please assist. Thanks. (2 Replies)
Discussion started by: samsungsamsung
2 Replies
5. AIX
Hi,
I would like to know in which file I can get the option of enabling/disabling of running fsck on particular file system.
As I know in /etc/filesystems these parameter should be there just like in Linux /etc/fstab
I have created file system aix test but unable to find the option of... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. UNIX for Dummies Questions & Answers
hi i am a newbie to linux , we use Communigate for our mail on Centos. my problem is how to stop exim from running at startup. If exim starts our users cannot send their mail. i have stopped it running on all run levels but if i check exim status it says : Exim is stopped but the pid is running. ... (4 Replies)
Discussion started by: dongcool
4 Replies
7. Red Hat
Hi, I am using scientific linux with is a red hat cloning.
I have written a script and I want it to be run during startup before the user log in.
How do I do that?
I know that there is some connection to the run level and the directory /etc/rc.d.
But I don't know how exactly to do it ?... (4 Replies)
Discussion started by: programAngel
4 Replies
8. UNIX and Linux Applications
Hi,
I am tearing my hair out, here. We have a CentOS 4.7 box running sendmail 8.13.1.
I can't send e-mail out from that box to anywhere not on localhost, as I keep getting the error 'DSN Data Format error', and 'A real domain name is required to send e-mail'.
I have edited the... (3 Replies)
Discussion started by: davidm123SED
3 Replies
9. Shell Programming and Scripting
I have a question. Actually I want to make two scripts, one is startup.sh and other is stopscript.sh
so for example, I have 5 servers.
Each server has two instances :-
abc111 - Masters
-cra4
abc222 -middle tear
-cra
abc333 -middle tear
-cra1
abc444 -middle tear
... (1 Reply)
Discussion started by: siddharthjain
1 Replies
10. UNIX for Advanced & Expert Users
I am having check.sh script and check.service which I include to /etc/systemd/system/
chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload
systemctl enable check.servicecheck.sh:
websockify 5555 localhost:7000 &
date >... (9 Replies)
Discussion started by: tomislav91
9 Replies
remove(3) Library Functions Manual remove(3)
NAME
remove - Removes a file
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <stdio.h>
int remove( const char *path );
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
remove(): POSIX.1, XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Points to the file to be removed.
DESCRIPTION
The remove() function causes a file named by the pathname pointed to by path to be no longer accessible by that name. A subsequent attempt
to open that file using that name will fail unless it is created anew.
If the path parameter names a directory, remove(path) is equivalent to calling the rmdir() function on that directory. If path does not
name a directory, remove(path) is equivalent to unlink(path).
NOTES
If the file operated upon by the remove() function has multiple hard links, the link count in the file is decremented and only the speci-
fied file name is removed.
RETURN VALUES
Upon successful completion, the remove() function returns 0 (zero). Otherwise, a nonzero value is returned. Refer to the unlink() function
and the rmdir() function for information on return values.
ERRORS
Refer to the unlink() function and the rmdir() function for information on error conditions.
RELATED INFORMATION
Functions: link(2), rename(2), rmdir(2), unlink(2)
Standards: standards(5) delim off
remove(3)