08-09-2009
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Currently I have written a shell script that will add departments for one group (displayed below with configuration file). I want to enhance the script in order to add departments to multiple groups by:
1. Making changes to allow the script to loop through and write each dept/group combo into... (0 Replies)
Discussion started by: dolo21taf
0 Replies
2. UNIX for Dummies Questions & Answers
We have a sun server which when pinged temporarily responds and sometimes dont respond.
Which problems may it is facing? (1 Reply)
Discussion started by: eelinker
1 Replies
3. Cybersecurity
I have installed ubuntu. And I have create users ans groups.
Suppose if the user enter into through Putty SSH. He should have access only to home folder and cannot move to other than $HOME. User should not able to root files and /$ files.
Kindly provide solution.
Regards
Vasanth kumar (3 Replies)
Discussion started by: vasanthrj
3 Replies
4. Shell Programming and Scripting
Friends
I have a directory structure /a/b/c/applets/ This directory has .java, .class and other applet files. I gave the applets folder 755 permission because these applets are displayed at different web pages of a portal.
Now I want to restrict the visibility of all the files in this... (0 Replies)
Discussion started by: dahlia84
0 Replies
5. Solaris
I want to periodically check if ASCII password/config files on Unix have 400 or 600 access. Folders and files are owned by designated group and user. Folders and Files do not have world write access.
Are there any tools/scripts available for this kind of auditing that I can use on Solaris? (7 Replies)
Discussion started by: kchinnam
7 Replies
6. Android
Sometime ago, somewhere on here, I said I was going to do some coding for Android.
I installed the full dev kit and a few months ago this MBP developed a failed HDD consequently destroying the dev environment.
I got an Android phone for XMAS and downloaded a terminal program.
I then found... (1 Reply)
Discussion started by: wisecracker
1 Replies
rmf(1mh) rmf(1mh)
Name
rmf - remove folder
Syntax
rmf [ +folder ] [ -help ] [ -[no]interactive ]
Description
The command removes all of the messages within the current folder, and then removes the folder itself. If there are any files within the
folder which are not part of MH, they are not removed, and an error message is displayed.
You can specify a folder other than the current folder by using the +folder argument. If you do not specify a folder, and cannot find the
current folder, asks you whether you want to delete instead.
If the current folder is removed, it makes current.
Note that the command irreversibly deletes messages that do not have other links, so use it with caution.
If the folder being removed is a sub-folder, the parent folder becomes the new current folder, and tells you that this has happened. This
provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list and returning to the current
folder from which the list was extracted.
Using to delete a read-only folder deletes the private sequence and current message information from the file, without affecting the folder
itself. If you have sub-folders within a folder, you must delete all the sub-folders before you can delete the folder itself.
Options
-help Prints a list of the valid options to this command.
-interactive
-nointeractive
Asks for confirmation before deleting a folder. By default, deletes a folder and its messages without asking for confirmation.
If you specify the -interactive option, asks if you are sure before deleting the folder. You are advised to use this option,
since when deletes a folder its contents are lost irretrievably.
Examples
This example shows how asks for confirmation when the -interactive option is used:
% rmf -interactive +test
Remove folder "test"? y
Profile Components
Path: To determine the user's Mail directory
Files
The user profile.
See Also
rmm(1mh)
rmf(1mh)